Uncategorized

EEPROM or FRAM?

0

I have done a raspberry pi code transfer a data and receive in my file, but i need use to EEPROM that i have not any experience about this. if possible please help.

Thank you.

 New contributor

put on hold as unclear what you’re asking by joanIngoMilliwaysGhanima 2 hours ago

Please clarify your specific problem or add additional details to highlight exactly what you need. As it’s currently written, it’s hard to tell exactly what you’re asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

  • Welcome to the Raspberry Pi Stack Exchange. Hopefully, you have already read through some of the documentation, and taken the Tour. If you’ve not done that, please do so. I feel that your question is unclear, and this may prevent you from getting a good answer to your question. If English is an issue, you may find some help using the Google Translate app. – Seamus 12 hours ago
  • EEPROM might not be the best solution; use it only when you absolutely need to. – user96931 10 hours ago
  • @user96931 Yes I very much agree. I was about to say the following: “If the OP is going to use the real time clock module DS3231 which includes a “free” EEPROM inside the module, then using the free EEPROM is a better choice. – tlfong01 4 mins ago   Edit   

2

Question

I have binary/text data in a text file.

How do I copy the data to an EEPROM?

Answer

I would recommend the 24C256 EEPROM module. I once played with a similar through hole chip 25LC256 but the wiring and soldering by hand is quite messy. For newbies, I would recommend the dirt cheap modules.

at24c256

You can google sample programs. See YouTube in references below. I once wrote one myself in Rpi python and found it tedious, but then learning what is going on inside the little chip is itself a joy.

References

AliExpress AT24C256 24C256 I2C Interface EEPROM Memory Module 8P Chip Power Supply Indicator Pull Up Resistor Direct Jumper Setting US$2.54/5Pcs

MicroShip I2C-Compatible (2-Wire) Serial EEPROM 256‑Kbit (32,768 x 8) Datasheet

Raspberry Pi I2C Python Initial Testing with I2C-Tools – 3,929 views

Raspberry Pi Read/Write data to EEPROM through I2C – 28,482 views

  • Note that there are pin compatible, drop in FRAM alternatives that are both better and sometimes cheaper. – crasic 5 hours ago
  • @crasic Ah I very much agree with you. One problem is that I am a poor hobbyist who cannot afford new but more expensive things. The WaveShare FRAM module is many times more expensive than AT24xx EEPROM. I think I should point out in my answer that if OP is working in industrial or college R&D rather than newbie Micky Mouse projects, then he should definitely try FRAM first, otherwise his workplace’s reputation would be damaged, and losing face of course, … 🙂 – tlfong01 just now   Edit   Delete

Categories: Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: