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
2answers
4k views

Clearing EEPROM

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); ...
0
votes
1answer
191 views

Setting data pin with NanodeUNIO

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

Esp32: upload eeprom file

I'd like to flash the eeprom sector with content so that the eeprom already holds data when it boots the first time. How do I upload such an eeprom file like I would do with avrdude on an atmega? Is ...
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
36 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....
0
votes
1answer
66 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
30 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
54 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 ...
0
votes
1answer
81 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
1answer
254 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
1answer
488 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 ...
0
votes
1answer
1k 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 ...
0
votes
1answer
764 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
3answers
628 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 ...
0
votes
1answer
600 views

How to read ASCII values from AT24C32 IC using Arduino? And what is serial.begin(?) in that EEPROM?

#include<Wire.h> #include<Eeprom24C32_64.h> #define EEPROM_ADDRESS 0x000 void setup() { Serial.begin(9600); eeprom.initialize(); const word address = 0x000; const byte count = 94; ...
0
votes
1answer
373 views

Reconnect to I2C with a different address (ATTiny85)

My project requires to reconnect to an I2C bus as a slave. I can't reset my ATTiny physically because I2C + my project + a pin to trigger the reset isn't possible due to the limited amount of pins ...
0
votes
1answer
58 views

Is EEPROM's location relocated on sketch compile?

I assumed the microcontroller has 3 components as per storing data: - flash memory for the program - RAM for variables - EEPROM for non-volatile user-storage And I always assumed those are separate ...
0
votes
1answer
348 views

24LC1025 Arduino - Data Writing Problem

I have a very big problem by writing a list of strings to an eeprom (24LC1025) Your help with my problem highly appericiated. I have a data matrix, PageData[111][96] and I want to write all them at ...
0
votes
1answer
344 views

Splitting DOUBLE in byte for save on EEPROM

I'm trying to save in memory (FRAM in this case) DOUBLE value, i try the same method with use of UNION for save FLOAT value, but don't go over the 2nd number after dot, why? Where I'm wrong? thank's ...
0
votes
1answer
934 views

Posting to EEPROM via HTML - ESP8266 Arduino IDE

For those of you familiar with my somewhat steep EEPROM learning curve...thank you for continuing to share your knowledge. I see how it's supposed to work and it's falling into place. I've run into ...
0
votes
2answers
174 views

Storing data (strings) if ethernet fails to send it

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

Initalizing library object in own library

EDIT: @Juraj fixed the Issue, changes at the end of the post I am developing an application to program OneWire ID Chips. I am using the OneWire library (https://github.com/PaulStoffregen/OneWire) and ...
0
votes
0answers
28 views

Stuck in a loop when reading from EEPROM, works if I clear it first

EDIT: The problem was caused by storing a pointer in the EEPROM. Thanks to @KIIV for helping out Sorry for the enormous of wall of text, I'm trying to pare it down a bit. I have two Arduino Megas ...
0
votes
1answer
46 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
0answers
30 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 ...
0
votes
0answers
45 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; } ...
0
votes
0answers
44 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
86 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 ...
0
votes
2answers
1k 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 ...
0
votes
3answers
782 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
0answers
414 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
1answer
595 views

Not sure why eeprom isn't reading back correctly

I'm new to saving data on eeprom and I'm obviously doing something wrong but I'm not sure what. I have one program which both writes to and reads the internal eeprom on a attiny85 and this seems to ...
0
votes
0answers
292 views

Reading/Writing salvaged EEPROM

Recently I stumbled myself on a fairly old blood sugar test strips canisters. Inside them, I found this what they called "Code Card" which inside, an EEPROM Microchip 93LC46B a 1K Microwire compatible ...
0
votes
3answers
1k views

A library for manipulate Intel Hex data?

For a project i need to extract some data from an external eeprom and then store it somewhere. Suddenly after some manipulations (not necessarly with Arduino board) i need to put them in an external ...
0
votes
1answer
904 views

Arduino UNO and SPI eeprom (AT93C46D)

I'm trying to write to and read from an AT93C46D eeprom using an Arduino UNO but for some reason the output I'm getting is not what I expect. The eeprom has a data structure of 128 words of 8 bits ...
0
votes
2answers
521 views

Splitting a float into bytes for storage in FRAM (like EEPROM) [duplicate]

I'm trying to write floats to I2C FRAM (like I2C EEPROM) but without result. I tried with this function but I lose all number after the decimal. Thank's for replying. This for writing: float ...
0
votes
1answer
1k views

Can't read from / write to EEPROM

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-...
-1
votes
1answer
50 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
-1
votes
1answer
98 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, ...
-1
votes
2answers
626 views

Change global variables [closed]

How can I change global variables as come EEPROM data? I should write codes in loop. But i dont know anything about changing global variable. Have you an idea?
-1
votes
1answer
43 views

how to check 24c32 eprom is connected or not to arduino runtime?

I want to check it on runtime if runitme i remove eprom then it shows "please insert dongle " also tried using while loop showing eroor.. How can i solve it? Wire.beginTransmission(80); error = ...
-1
votes
1answer
177 views

MySensors GatewaySerial code not compiling [closed]

I am trying to compile GatewaySerial code from MySensors library for my Arduino Leonardo and it gives me EEPROM errors. Gateway code: /** * The MySensors Arduino library handles the wireless radio ...
-1
votes
1answer
197 views

Trying to read a 93lc46b chip using Arduino

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 ...
-2
votes
1answer
209 views

Sketch Memory and EEPROM

Since I'm running out of sketch memory, I've decided to use the 512 bytes of EEPROM memory by using EEPROM.put(addr,variable). But every time I use this my sketch memory use in gradually increasing. ...
-2
votes
1answer
43 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 (...
-2
votes
1answer
166 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, ...
-2
votes
1answer
883 views

MPU9250 - Calibration Not Saved with RTIMULib EEPROM Issues

I'm using the MPU9250 and the RTIMULib to perform sensor fusion, however, when I run ArduinoMagCal, and save the calibration, and follow that with running the main ArduinoIMU it claims the calibration ...
-3
votes
1answer
49 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 ...