I tried all sample codes and circuits for eeproms posted here
none seems to work for me.
for 1 wire device, haven't bought any yet, just deciding
For experiments i have DS2501-U chip at hands.
The I2C works just fine. Used many times the I2CREAD and I2CWRITE commands.
When there was a problem, was always my mistake in address, wrong use of commands (variable vs constant).
Complete diagram along with your misbehaving code would help.
Ioannis
I have posted all that here already.
And this topic is about 1wire eeprom![]()
Perhaps you should provide a link to where you have posted it. Not everybody reads every thread posted everywhere. The 1-wire devices tend to be about the same level of complexity as I2C with a few extra limitations, but are only available in a couple sizes and from a single vendor. If you only need 1K or so to identify a board you should be able to get it going easily. We are trying to steer you towards I2C because they are far more popular and if your project needs change, you won't have a lot of options. Not to mention your next project. I2C is easy and works well in PBP, but hey it's your project. You are less likely to find a code example if you need one for 1-wire, that's all.
here is onePerhaps you should provide a link to where you have posted it.
http://www.picbasic.co.uk/forum/showthread.php?t=587
felt like i was like pulling teeth
Warning I'm not a teacher
DS28EC20 has 20KB of EEPROM, and already available from Chinese vendors, for around $1 per IC
I actually need 2KB for font and 256 bytes for each language text (have 8 languages so far) so even 4KB would be ok![]()
Bookmarks