Temperature sensor and storage for embedded projects

I2C interface allows connecting multiple devices using two wires. This interface is very popular in sensors, memory chips and IO expanders. R-B designed compact breakout board where he placed MCP9802 temperature sensor and 24LC512 EEPROM.

Temperature sensor and storage for embedded projects

Module is convenient to use as temperature sensor with ability to log values in to near by memory. So if you decide to unplug sensor – history of data goes with you. 512Kbit EEPROM gives enough space for storing data. Digital temperature sensor is capable of measuring temperatures from -55ºC to 125ºC. Prototyping board is designed so it could be easily plugged in to prototyping breadboard.

AVR at a glance

Any AVR microcontroller is an 8 bit computer in a chip designed and manufactured by ATMEL Corporation. It has some RAM memory and ROM (Flash) as well. To make things more attractive and useful there is also an EEPROM memory. Including AVR core CPU all these are more than enough to say that it is a small computer where you can execute programs stored in Flash memory, run them while operating data in SRAM and storing some constant values in EEPROM. Comparing to real computer that sits on your table you can say that AVR core is a CPU like AMD or Pentium. Flash memory would be your hard drive where programs are stored, RAM is RAM nothing to add there. EEPROM probably can be compared to some media device like CDRW. Anyway this is only similitude in different scale.

AVR microcontrollers aren’t limited with core CPU and memory. The main thing what makes them valuable (and any other type of microcontroller) – they are rich in peripherals inside chip. In most cases you will find USART, I2C, SPI, ADC, Timers/Counters, and bunch of I/O pins. Single chip alone already can to do massive work.  I believe there is no need to go more in details about more specific details of AVR microcontrollers as these can be found in datasheets. Read more »

Tiny GSM Alarm System – The Smart and Portable Sensor Trigger

Did anyone here ever get in touch with the GSM call alarm or GSM SMS alarm before? If you did, then the Tiny GSM alarm system is going to be the masterpiece combination of the call alarm and SMS alarm!

The main purpose of the tiny GSM alarm system is a device, which is can be used to operate standalone or as a module for existing alarm system. The tiny GSM alarm system is much more advanced than the previous, as it’s not only can arm or disarm the system with “enable” pin, but you can do the same task by simply calling from your own phone! Sounds like a cool add-on, isn’t it?

Tiny GSM alarm system

Well, the tiny GSM alarm system is built on a very popular microcontroller, the PIC16F84A. In this case, you don’t have to bother with external EEPROM memory for SMS storage, as you have the option to use phone’s SIM SMS storage and phonebook memory for the storage task!

Well, the GSM phone that is best compatible with the device is Siemens M35i. To be honest, it’s better to modify the phone first, so that it can be easily powered and turned on by the device. Furthermore, you should make sure that the SIM PIN code request are disabled, as you don’t want to be bothered by it, especially when you’re dealing with the wiring and coding processes!

Scrolling Text on Oscilloscope – Even the Elementary Students Can Do It Too!

Oscilloscopes are one of the most familiar electronic components, which most of the home hobbyists might have got in touch with it, at least once in their life!

Ok, maybe you’ve been done multiple experiments with Oscilloscope before, but have you ever try to use it for scrolling text? Yep, even though it’s not a new method, however, it would give you a several “surprises” that you’re not expected at all!

So, it’s a very simple project that based on a PIC micro PIC16F628A. Why we said it’s a very simple project? It’s because it only have one component plus the battery!

Basically, the main purpose of the circuit is to show a scrolling text on oscilloscope. In this case, those characters, which are going to be displayed can be stored by user in EEPROM.

The first EEPROM location with 0xFF value is considered as the end of text. The last EEPROM location with 0x7F is containing the scrolling speed in 20mS steps.

Normally, a jumper would be placed between the pins Vdd and Vpp, after programming the micro via the ICSP connector. The oscilloscope is then will be set for 2mS/div on X-axis and 1V/div on Y-axis.

Next Page »