Suggestions for 8k-32k 8 pin PDIP I2C EEPROM chips
Zoot
Posts: 2,227
I'm currently using a 24LC32A 4k (bytes - 32kbit) I2C EEPROM in a BS2p40 project. I store music scores, LED display patterns, Emic text phrases, etc.
I'm out of room and want to change out the chip for something larger -- 8k-32k (bytes). I2C ready, and ideally, with the same pinouts.
Does anyone have suggestions and/or a Jameco or Digikey part number?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When the going gets weird, the weird turn pro. -- HST
I'm out of room and want to change out the chip for something larger -- 8k-32k (bytes). I2C ready, and ideally, with the same pinouts.
Does anyone have suggestions and/or a Jameco or Digikey part number?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When the going gets weird, the weird turn pro. -- HST
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When the going gets weird, the weird turn pro. -- HST
Could you post your code? I would like to see how your talking to a I2C ready EEPROM.
Thanks.
But there's a million ways to do it depending on your program needs. I read/write Byte streams sometimes as shown below, but check the Pbasic Stamp manual for details -- when writing arrays, the write terminates if the byte is $00 so you can get burned if you need to write $00 as data in your stream...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When the going gets weird, the weird turn pro. -- HST
Post Edited (Zoot) : 1/8/2007 4:59:58 AM GMT
Thanks very much for taking the time to post the code. It was very helpful.
http://www.sparkfun.com/datasheets/IC/24LC256.pdf
Also, is there code like this that will work with just the BS2 stamp?
Post Edited (abcdefg) : 1/29/2007 4:47:16 PM GMT
If you want to run I2C commands from a BS2, there are bit-bang subroutines (by Jon Williams I think) that will handle this (since I2C is not "native" on the BS2):
http://forums.parallax.com/showthread.php?p=466264
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When the going gets weird, the weird turn pro. -- HST