This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
digispark:tutorials:eeprom [2012/12/18 23:58] digistump created |
digispark:tutorials:eeprom [2013/03/29 06:59] PeterMortensen [Product Description:] Copy edited [9]. |
||
|---|---|---|---|
| Line 4: | Line 4: | ||
| [[https://s3.amazonaws.com/digispark/images/m/eeprom6.jpg|{{https://s3.amazonaws.com/digispark/images/t/eeprom6.jpg}}]][[https://s3.amazonaws.com/digispark/images/m/eeprom2.jpg|{{https://s3.amazonaws.com/digispark/images/t/eeprom2.jpg}}]][[https://s3.amazonaws.com/digispark/images/m/eeprom1.jpg|{{https://s3.amazonaws.com/digispark/images/t/eeprom1.jpg}}]] | [[https://s3.amazonaws.com/digispark/images/m/eeprom6.jpg|{{https://s3.amazonaws.com/digispark/images/t/eeprom6.jpg}}]][[https://s3.amazonaws.com/digispark/images/m/eeprom2.jpg|{{https://s3.amazonaws.com/digispark/images/t/eeprom2.jpg}}]][[https://s3.amazonaws.com/digispark/images/m/eeprom1.jpg|{{https://s3.amazonaws.com/digispark/images/t/eeprom1.jpg}}]] | ||
| - | The EEPROM Shield Kit allows you to build a Digispark shield which connects a 256Kbit Serial Electrically Erasable PROM (EEPROM) memory IC to the Digispark development board. The IC used is the Microchip 24LC256 and it communicates with the Digispark over the I2C bus. The EEPROM Shield can be used to store data even after the device is powered off. The IC has an endurance rating of over 1 million write/erase cycles and its rated data retention is more than 200 years. | + | The EEPROM Shield Kit allows you to build a Digispark shield which connects a 256 kbit serial electrically erasable PROM (EEPROM) memory IC to the Digispark development board. The IC used is the Microchip 24LC256 and it communicates with the Digispark over the I²C bus. The EEPROM Shield can be used to store data even after the device is powered off. The IC has an endurance rating of over 1 million write/erase cycles and its rated data retention is more than 200 years. |
| This is an unassembled kit and requires basic soldering. This is designed for use with the Digispark development board, which is not included. | This is an unassembled kit and requires basic soldering. This is designed for use with the Digispark development board, which is not included. | ||
| - | |||
| =====Parts:===== | =====Parts:===== | ||
| Line 25: | Line 24: | ||
| Soldering Basics (http://www.sparkfun.com/tutorials/106) and Soldering Crash Course from the folks at Sparkfun (http://www.sparkfun.com/tutorials/354). | Soldering Basics (http://www.sparkfun.com/tutorials/106) and Soldering Crash Course from the folks at Sparkfun (http://www.sparkfun.com/tutorials/354). | ||
| How to solder from the Curious Inventor: http://store.curiousinventor.com/guides/How_to_Solder | How to solder from the Curious Inventor: http://store.curiousinventor.com/guides/How_to_Solder | ||
| + | |||
| + | Adafruit has this excellent guide that starts with the tools needed and then shows detailed pictures, including some of the common problems that beginners experience (http://learn.adafruit.com/adafruit-guide-excellent-soldering) | ||
| **We assume for these assembly instructions that you know the basics of thru-hole soldering. If you don't check out the links above, these boards are very easy to solder - we promise!** | **We assume for these assembly instructions that you know the basics of thru-hole soldering. If you don't check out the links above, these boards are very easy to solder - we promise!** | ||
| Line 64: | Line 65: | ||
| =====Programming:===== | =====Programming:===== | ||
| + | |||
| + | *TROUBLESHOOTING NOTE: If you experience trouble writing to the EEPROM try connecting a jumper wire from Pin 4 of the IC (or any GND) to Pin 7 of the IC (Pins: http://ww1.microchip.com/downloads/en/devicedoc/21203m.pdf) - some boards may be missing this connection, we are looking into it further.* | ||
| + | |||
| The pin connections are as follows: | The pin connections are as follows: | ||
| Digispark P0 -> SDA | Digispark P0 -> SDA | ||
| - | Digispark P3 -> SCL | + | Digispark P2 -> SCL |
| The I2C Address is 0x50 | The I2C Address is 0x50 | ||
| Please refer to the EEPROM example included with the Digispark Arduino Addon. | Please refer to the EEPROM example included with the Digispark Arduino Addon. | ||