Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

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
0
votes
1answer
22 views

Can you use an Arduino UNO as an EEPROM programmer

Hi I have an Arduino UNO and a AT28c64B and a single shift register, is it possible to make an EEPROM programmer with it? I’m not too good with the Arduino to do a lot of trial and error... I would ...
0
votes
1answer
51 views

EEPROM Capability [closed]

I'm new to this platform and actually this is my first question on here.So I can read and write any figures in Arduino EEPROM apparently and it works as expected. Is it possible to do a comparison to ...
0
votes
1answer
19 views

EEPROM: managing address mapping between firmware versions

Is there a common way to handle changes in the mapping between eeprom addresses and variables between firmware versions? It's not about the eeprom memory to survive the update, but to be(come) ...
0
votes
2answers
51 views

ESP8266 using EEPROM to store a value of 100,000

I'm using Wemos mini in my project. I wish to store a Boolean value in cell #0, which changes every boot. Since writing to EEPROM is limited to roughly 100,000 cycles - I want to store in cell #1 the ...
1
vote
1answer
43 views

Reading from EEPROM and combining

I'm trying to read from the EEPROM and combine the information and send it out over SoftwareSerial using write() function but i'm getting the following error error: invalid operands of types 'const ...
0
votes
1answer
34 views

Header file or library to test i2c FRAM?

I found a header file to test a i2c eeprom 24LC256, but I used this to test my eeprom CAT24C32.The test sketch works fine. I modified the line BLOCKSIZE 8 because my eeprom have 32byte page write only....
-2
votes
1answer
34 views

Write and read problem while interfacing 93LC46B EEPROM through SPI

I try to save and read data from 93LC46B EEPROM using SPI with Arduino UNO. I'm following this article https://www.arduino.cc/en/Tutorial/SPIEEPROM . So far I have correctly connected EEPROM pinout (...
1
vote
1answer
37 views

about how to share one External serial EEprom using two microcontrollers?

strong texti have Vector nav100 IMU sensor that sends data serially UART.I want to receive data from it using ATmega32 and then store data in AT24c1024 EEprom using I2C,then using another ATmega32 to ...
0
votes
0answers
25 views

I can't write or read data in an external eeprom

I've been trying to store data in an external I2C EEPROM but it doesn't seem to work, and i don't know why. When i run the i2c scanner it founds my memory but i can't write in it, or at least it ...
1
vote
1answer
42 views

about how to write data in the whole EEprom?

I have interfaced AT24c1024 EEprom with ATmega32.AT24c1024, which has 512 pages each of 256 bytes. There are two mode of writing (byte write and page write). In page write mode, it is capable of ...
-3
votes
1answer
48 views

Rate of serial communication (UART) of a sensor is faster than speed of processing of microcontroller

I have a Vector Nav VN100 IMU sensor that sends data serially UART. I have interfaced it with ATmega32. It receives data (ROLL angel) from the sensor and according to the ROLL angel, it controls a ...
1
vote
0answers
30 views

EEPROM Esp8266 Memory Issue

I had assembled a board with esp8266ex bare chip with 4MB eeprom for esp and also can be shared with host MCU. I had gone through some googling and found that using eeprom function I am able to write ...
0
votes
1answer
64 views

Insane heat development with ESP8266

I have a ESP8266 on a Wemos D1 mini board. Simple "Rainbow with FastLED" animation. Shouldn't do much but the board gets so hot I can't touch it and it drains a 2500mAh battery in less than an hour. ...
0
votes
2answers
29 views

Calculate statistic in EEPROM

I've search on how to do statistic calculation in EEPROM, but non related. The data that I stored in EEPROM is body temperature. Currently I stored the data using float. Below is my code for data ...
0
votes
1answer
57 views

How to write a float value EEPROM

I'm using this library for my DS3231 which have a Atmel 24C32 on it. i have a float value which increases by 0.5, like: 27.50 28 28.50 ... the code is like this: float lowTemp= 10.5 float ...
-1
votes
1answer
31 views

esp8266 esp01s EEPROM and flashing

which flash option do I need to take to use EEPROM? Can I flash with 1MB and no SPIFFs and still write data to EEPROM? thanks T
0
votes
1answer
41 views

DS3231 and EEPROM

Currently to get time/date i'm using DS3231 module with the RTClib library, i want to use the Atmel 24C32 chip on the module to store some small values (temperature etc). Can i use the current ...
2
votes
1answer
46 views

Is it possible to execute a code in runtime when gets updated over the air (OTA)?

I would like to build a lib like ArduinoOTA but with no downtime at runtime. To achieve that I am wondering if it is possible to create a simple setup and loop code to Check for new releases If we ...
0
votes
0answers
30 views

Problem Writing/Reading EEPROM on MEGA

I want to make a program that writes on the EEPROM some structs, the final device will take structs of RGB LED data: typedef struct{ unsigned char r; unsigned char g; unsigned char b; } ...
3
votes
1answer
75 views

Best way of storing extra data for Arduino project

I am an arduino beginner and I am trying to make a speed camera alert system, it would start beeping if I am above the speed limit and getting close to the speed camera. There is this website where I ...
-1
votes
1answer
74 views

How to upload and store settings/variables from computer on the arduino? [closed]

I'm literally as green of a noob as I can be at this moment. Been watching a ton of tuts as I plan my project, but can't seem to find anything about settings being uploaded from an external source, ...
2
votes
2answers
242 views

Write faster on AT24C32

I'm using AT24C32 EEPROM chip from ATmel. I found code that will write and read bytes from chip. Code writes and reads bytes correctly and without any problem. But I have to write few 8-byte values ...
0
votes
0answers
43 views

Where to find EEPROM.get()?

I don't seem to be able to find EEPROM.get() function. I am developing my Arduino application under Linux, and inside the libraries EEPROM class only have read() and write(), although here is written ...
0
votes
0answers
76 views

EEPROM.read data not comparing with DHT11 sensor value - Arduino temp controller

I'm using a DHT11 to read temperature to control a relay that will control a fan. When 'A' is pressed it allows the user to update the temp value that the relay will go HIGH at. The value is being ...
5
votes
2answers
1k views

Run code once after programming

I'm using EEPROM to store project settings non-volatile. After reuploading the sketch to my board (over SPI via ArduinoISP), the EEPROM is reset to full 0xFFs and I have to manually do a "software ...
1
vote
2answers
76 views

Store value in EEPROM to perform different actions on reset?

I want the same button to wake up (reset) and put it to sleep but this is hard if the button is tied directly to the rst pin. My thought was to read and store a value in EEPROM so tell the chip what ...
0
votes
1answer
69 views

What's going wrong with my EEPROM?

I've been chipping away at a project for a long time now and I've found a serious bug. Basically the user has an 8x8 grid, and each cell in this grid has a number of properties. I want to be able ...
0
votes
2answers
901 views

ESP8266 EEPROM seems not working, saved data are different when I try to read them

I'm working on project which require to save some data into the EEPROM. As I read online the ESP8266 has no real EEPROM, it use a section of FLASH just after the SPIFFS. Due to this read/write is ...
2
votes
3answers
462 views

Value of uninitialized EEPROM in ESP8266?

In my limited testing it appears that the EEPROM in the Wemos D1 is not initialized to 255 like the specs say is the case for AtMega based Arduinos. In fact, the values look to be more-or-less random. ...
0
votes
1answer
217 views

Why does my 16x2 LCD displays weird letters and can't insert key from keypad?

I'm a newbie on Arduino here, and this is my first project on 16x2 LCD, 4x4 keypad and others. So, the story is, after I uploaded the program for my group's Arduino alarm clock to the Arduino board, ...
0
votes
2answers
299 views

How to manage variable I2C read lengths requiring address incrementation (Wire/I2C/EEPROM IC emulation)

The question is about how to have information/control of a variable length read for an Arduino acting as a slave device. The concrete context is that I want to emulate an EEPROM IC. A byte write to ...
1
vote
2answers
281 views

Save Data before Shutdown

I am building a positioner and I store the current position to EEPROM when the move is complete. On start up, I want the positioner to return to the HOME position. I am running an UNO powered from the ...
0
votes
1answer
422 views

Adafruit Trinket M0 persistent storage?

I am using an Adafruit Trinket M0 to program a small game and would like to save the game state every so often. I am programming it through the Arduino IDE as the chip does not have enough space to ...
3
votes
1answer
346 views

EEPROM size limitation issue

I am creating a test program with Arduino Nano where I can save network and password. Here is my code to start with: void SaveNetwork(String ssid, String pass){ String com = ssid + "~" + pass; ...
1
vote
1answer
64 views

Writing and reading an ID to/from an Arduino reliably

I need a way to both ID (a sketch/compiled hex) and later on, identify based on this ID the project that got uploaded to my Arduino microcontroller. As of right now, I have explored multiple options ...
0
votes
1answer
961 views

Wemos D1 EEProm put/get not getting correct value

Hey all I have the following code in my Arduino IDE: #include <EEPROM.h> #include <ArduinoJson.h> bool debuggin = true; int brightness = 255; int ambientLight = 30; ...
1
vote
1answer
239 views

Device Security - EEPROM data [duplicate]

I'm writing code for Arduino that I plan to distribute. But I worry about piracy (the .HEX can extracted from the board and reuploaded to another). With that in mind, I am storing data to the EEPROM. ...
0
votes
3answers
670 views

Using EEPROM Anything in loop()

I'm trying to make a programm for Arduino Bluno Beetle, that saves a string in the loop. Here is my code: #include <EEPROM.h> #include <EEPROMAnything.h> struct config_t{ String ...
0
votes
1answer
103 views

How do I inherit a class that requires &foo() in its constructor?

General I have a library with a class constructor class Math(&foo1,&foo2);, which I would like to put into a library for class Algebra(), where foo1 and foo2 are defined in Algebra.cpp My ...
-2
votes
1answer
156 views

How does Arduino memorize the last bytes from Bluetooth HC-05?

I have made a home automation project. Description: Light on, off through HC-05 Bluetooth module and my Android app. The problem is when the power is gone, the system stops, that's OK. After that, ...
1
vote
2answers
476 views

How can I declare global array with its length stored in EEPROM?

I am working with Arduino UNO connected with BV4612 display. I am working on a simple code that controls several water pumps. Each pump has several modes it can run in. I store these modes in an array....
2
votes
3answers
1k views

Is it possible to use extra AVR Flash memory as non-volatile EEPROM-like Flash memory storage?

In STM32 microcontrollers it is possible to use a technique that ST calls IAP, or In-Application Programming, in order to write to the Flash memory from your running application. They even have a nice ...
0
votes
1answer
942 views

string.indexOf() always returns a non-zero value

I am developing a hardware project which contains a facility to change the stored password by any user, if he/she knows the current password.The new password is stored in arduino eeprom. In the main ...
1
vote
3answers
332 views

Which EEPROM has a long lifecycle?

I would like to build a box counter for machine, so I'm going to use EEPROM in Arduino to save count. But the lifecycle is limited to 100,000 writes. Please suggest an external EEPROM with a long ...
0
votes
1answer
731 views

nodemcu EEPROM corrupting

Platform Hardware: [nodemcu amica ESP8266MOD] Core Version: [nodemcu-master-21-modules-2018-03-17-17-09-10] Development Env: [Arduino IDE|] Operating System: [Windows|...
0
votes
1answer
275 views

Write to EEPROM before shutdown

I'm currently designing a battery operated device that has to write data to an EEPROM before shutting down, or in regular intervals to save data. Would it damage the EEPROM if it had to shut down ...
1
vote
1answer
265 views

ArduinoJson buffer gets overwritten

I have not that much experience with native languages like c/c++ and I'm facing a strange issue, which drives me crazy. So I'm using an Wemos D1 mini (ESP8266) which uses a class calles ConfigManager ...
0
votes
0answers
383 views

ESP8266ex does not hold written EEPROM data, what could be wrong? [duplicate]

Solution: Need to call EEPROM.commit() after a write cycle. It is all about this board: It seems to be a NodeMCU V3, however there is no version 3 mentioned in the board list (also update board list)...
0
votes
3answers
577 views

Extending EEPROM life

I'm working on some software using an Uno (ATmega328P). I have a stage byte that can be 1 of 5 values (0-4) in my code and it will increase by 1 every 2.5 hours. If I lose power I need to ensure that ...
1
vote
1answer
396 views

Integer looping in EEPROM Read

I am reading data from a 24LC1025 over I2C with an Arduino and then outputing that data to my PC through the Serial interface. The EEPROM chip is seperated into two pages and at address 65535 [0x0FFFF]...