Skip to main content

Questions tagged [eeprom]

Electronically Erasable ROM is a type of memory available on most boards. It is used for storing persistent data. Use the tag for questions about the EEPROM library or the hardware.

Filter by
Sorted by
Tagged with
2 votes
1 answer
208 views

I've included in my sketch and am trying to run a simple sketch that just does EEPROM.write(0,4); followed by a println of EEPROM.read(0); However, it won't compile. It keeps telling me there is an ...
Michael Stachowsky's user avatar
2 votes
0 answers
71 views

I am trying to modify the original code from these guys GRA & AFCH, who have made an Arduino Sketch Program that runs a Arduino powered Nixie Clock. Here is the link to their Firmware file:...
Gilgamesh Skytrooper's user avatar
2 votes
0 answers
2k views

I am trying to save an incoming text from serial into the ROM of the Arduino using EEPROM. I found out that you can only save a byte at once. So I thought I could do it like that: #include <EEPROM....
crolexxxxx's user avatar
4 votes
2 answers
2k views

I'm working on a program with Arduino Uno which involves writing and reading EEPROM. I'm using a basic EEPROM library. My problem is: EEPROM values are preset to 255 whenever I burn my program. And ...
Pankaj Patil's user avatar
5 votes
3 answers
4k views

I have been working on an arduino program, which has gotten rather large. I am close to hitting the 32k limit on Flash for my ATmega328p. I would like lower my program size by saving some of my many ...
riverrun's user avatar
0 votes
2 answers
809 views

http://www.nongnu.org/avr-libc/user-manual/group__avr__eeprom.html I am trying to figure out that if we use eeprom_write_block function or eeprom_update_block function do we need to manually null ...
dmSherazi's user avatar
  • 183
1 vote
2 answers
10k views

I'm trying to clear my EEPROM and am using this code: #include <EEPROM.h> void setup() { // write a 0 to all 4096 bytes of the EEPROM for (int i = 0; i < 4096; i++) EEPROM.write(i, 0); ...
acpilot's user avatar
  • 653
2 votes
1 answer
636 views

I have a problem with the Teensy, its EEPROM and another Array. My program contains two Arrays, the first one is a 128x4 long Array, the other one a 2560x2 double Array. The first Array is meant to ...
John's user avatar
  • 35
2 votes
1 answer
144 views

I'm using EEPROM to store long term data for use in sketches (thanks to DarthRubik for the guidance). I store stuff like a location ("Garden") and a device name ("Greenhouse Monitor 02") plus ...
acpilot's user avatar
  • 653
3 votes
2 answers
5k views

The problem: How to extend the memory for a sound buffer (intensively used) if: SD card library supports only one file open at a time (and I have one open already) EEPROM chips are able to stand ...
P.W.'s user avatar
  • 317
1 vote
3 answers
2k views

I am trying to read an EEPROM chip that supports the I2C protocol (cannot tell the IC model number as it is not printed). For sure it supports the I2C protocol, since I wrote a code to detect it using ...
MayankTUM's user avatar
-1 votes
1 answer
315 views

I am trying to read a 93lc46b EEPROM chip using Arduino. I am reusing the code from http://owlsan.blogspot.de/2012/10/accessing-93c4693c46n-serial-eeprom.html, except I have modified it for 93lc46b ...
MayankTUM's user avatar
3 votes
4 answers
3k views

I want to log GPS positions to an external EEPROM over I2C. For example: Latitude: 51.0000 Longitude: 4.0000 If I remove the decimal place then each of these addresses would consume up to two bytes ...
blarg's user avatar
  • 167
1 vote
3 answers
2k views

Trying to write 2 values coming from analogread(A0) and analogread(A1) by EEPROM.write and retrieve the values by EEPROM.read. I tried the following sketch for each write and read. However, could not ...
zalt's user avatar
  • 93
6 votes
3 answers
32k views

Is it ok to use digitalWrite(pin, 1) instead of digitalWrite(pin, HIGH) or digitalWrite(pin, 0) instead of digitalWrite(pin, LOW) I want it that way to make the coding lesser because I save values ...
Sam San's user avatar
  • 241
2 votes
3 answers
7k views

I know that it is possible to write data in ROM(Read Only Memory). But what about if I want to write data in RAM(Random Access Memory)? Can I do it using "Arduino Uno R3"? RAM is normally associated ...
IremadzeArchil19910311's user avatar
9 votes
7 answers
40k views

Is there any way to store the values of necessary variables somewhere (may be in a file that gets updated by the program at various events), which can be read back when program starts after rebooting ...
Samik Chattopadhyay's user avatar
5 votes
1 answer
2k views

When I write '13' to the EEPROM and read it straight after it works correctly. However when I comment out the write part of the code and try to just read the data, the value is no longer 13 as it ...
MoKaM's user avatar
  • 51
6 votes
2 answers
3k views

I would like to estimate the effective (minimum) endurance of the EEPROM of the Arduino in terms of single-byte writes. The datasheet of the ATmega used on many Arduino boards says (page 20): The ...
fuenfundachtzig's user avatar
0 votes
2 answers
212 views

Flow goes something like: Read sensors Send data If send fails store the data in eeprom/flash/sd If sent check if any previous ones have failed and send those So my question is what's the best ...
Ryan Detzel's user avatar
2 votes
0 answers
793 views

I'm Tom. I'm pretty new to electronics and programming but I've been getting better. So, recently I bought a 93lC46B EEPROM from Element 14 (It was $0.28! Why not!). I've been doing some research and ...
user avatar
0 votes
1 answer
260 views

I'm using a sketch that helps to reset Da Vinci XYZPrinter cartridge EEPROMs, and it's based on the NanodeUNIO library. It uses digital pin 7 for data. I want to use my TFT Touch Shield to set the ...
directedition's user avatar
1 vote
0 answers
1k views

I'm currently trying to write to and read from an 25LC256-E EEPROM with my Arduino Uno via SPI. I've made a program which is supposed to do this, but I only get weird answers. I'm sending in a Serial-...
DoTheGenes's user avatar
64 votes
7 answers
112k views

The use of malloc() and free() seems pretty rare in the Arduino world. It is used in pure AVR C much more often, but still with caution. Is it a really bad idea to use malloc() and free() with ...
Cybergibbons's user avatar
  • 5,430