Programming 24LC256 I2C EEPROM

interfacing eeprom 24LC256

In many microcontroller projects you need some non-volatile memory – which preserves data even when power is off. Most popular type of such memory is Flash or EEPROM. Many MCUs like AVR or PIC already have some EEPROM inside chip that may suite your needs. But in many cases it is not included and you may need to connect it externally. EEPROMs with I2C interface is very common in such situation as they don’t need lots of I/Os (only two wires). If you decided to add an EEPROM chip in to your project check out the useful guide on how it works written by Jesus Echavarria. As example he took 24LC256 EEPROM which capacity is 32K x 8 bytes. Chip works in pretty wide voltage range – between 1.7V and … Continue reading

Temperature sensor and storage for embedded projects

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. 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

tiny13

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 … Continue reading

Tiny GSM Alarm System – The Smart and Portable Sensor Trigger

Tiny GSM alarm system

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? Well, the tiny GSM alarm system is built on a very popular microcontroller, the PIC16F84A. In … Continue reading

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 … Continue reading