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.
198 questions
0
votes
1
answer
92
views
Arduino simple PowerUp Counter
I am from Argentina.
I am making a kind of project for my car, and one of the many functions I am planning, is to check how many times the Arudino has been powered up.
I was thinking of a simple ...
0
votes
1
answer
524
views
String or unsigned char to uint8_t
I'm attempting to save a string to EEPROM of an ESP8266 radio and then read it back before I encrypt the data (evenutally I would like to save the encrypted data but I'm simplifing things at the ...
-3
votes
1
answer
854
views
Is the EEPROM the best alternative for store non-volatile values with Arduino?
SD-cards are capable of store values even if it is turned off.
I don't know what is the time that a EEPROM can keep a value in it's memory, but of course are better than the volatile memory.
There are ...
0
votes
2
answers
531
views
How EEMEM maps the variables? (avr/eeprom.h)
I can store and restore my data with avr/eeprom.h if I don't change the sketch.
I have a sketch that stores the data. After power cycle of the device the data are fine.
If I change the sketch with ...
1
vote
0
answers
140
views
Attiny84 with external eeprom-write and read beyond 255
Just starting with external EEPROM and ATTiny's. I am successfully writing and reading to the 24LC64 chip using the following code with TinyWireM (thanks to other help on the forums). However, I ...
-4
votes
1
answer
126
views
Can I run Arduino code on a 6502?
I've been doing projects with the arduino boards for a long time and accordingly also with the libs from adafruit etc. But that was too boring for me and I wanted to get more into the matter, so I ...
-1
votes
3
answers
955
views
Arduino IDE EEPROM put() then read() returns different data on ESP32
I'm trying to understand how to read/write a UID struct from miguelbalboa to EEPROM to persist a card ID across system restarts on my ESP32-S3 through the Arduino IDE. I expected Put/Get/Read to be ...
5
votes
2
answers
266
views
Can I improve EEPROM lifetime by not changing bits?
In my current project I need to store the current elapsed time in hours to retrieve it in case of power loss. Since I am using a Arduino Nano I would ideally like to use the built in EEPROM without ...
2
votes
3
answers
588
views
why is my char array empty
following sketch will run totally fine and as expected :
#include <Wire.h>
#include "SparkFun_External_EEPROM.h"
ExternalEEPROM ExtEEPROM;
char username[33] = "";
char ...
1
vote
1
answer
2k
views
How to set the eeprom initial value when flashing an ESP32
As I use the EEPROM to persist data such as for provisioning the WiFi (SSID and password), I'd like to make sure that the very first time the ESP32 runs, it finds the initial '\0' for the SSID so that ...
1
vote
1
answer
313
views
How to change variable/sketch through a GUI
Over the past few months, I've been working on a wearable computer mouse using an Arduino and a 9-dof sensor. Most of the sketch is complete, and works as expected.
Recently, I started investigating ...
1
vote
0
answers
723
views
Arduino Mega as a EEPROM Programmer for Winbond W29EE011 memories
I'm trying to use my Arduino Mega as an EEPROM memory writer. For this project, besides my Arduino Mega, I use an SD Card module, an LCD display and two push buttons to handle the events. Inside the ...
1
vote
0
answers
118
views
Why does this piece of code overflow at 255?
Im having a problem where i got unsinged long variable and i need to increment it in eeprom everytime setup starts and it overflows at 255 back to 0.
unsigned long NumberOfBoots = 0UL;
#define ...
2
votes
1
answer
547
views
Serial.println won't format DEC
This is weirding me out. So I wrote to the EEPROM and I would like to read from the address and format it in Base 10, err... Decimal. The normal number thingy that's not ASCII. But it keeps returning ...
1
vote
1
answer
418
views
Neo 6m outputting something i as a noob can't understand
So i connected my ublox neo 6m gps breakout board GY-GPS6MV2 to the arduino software serial and got this result, i used resistors and only supplied 3.3v to the board, gps encode library couldn't give ...
2
votes
3
answers
953
views
How can I read the data stored in EEPROM although is powered OFF based on the simple code I wrote?
I need help regarding on EEPROM library. Based on the code below, for every 2 sec, I want to store the int for increase where it will keep increasing by 1. Then, I upload to my Arduino Nano and open ...
0
votes
5
answers
633
views
Reading from EEPROM and writing to addressable LED with limited connections
UPDATE
Clock speed code has been tweaked as per the suggestion from @timemage due to inability for Wire library to reduce to below 30304Hz. Unfortunately problems still persist:
Nothing printed out to ...
1
vote
1
answer
281
views
EEPROM programmer works with serial monitor but not with pySerial
I'm trying to modify Ben Eater's eeprom programmer to flash a 32K eeprom, since the arduino has 32K of program data total the data wouldn't fit in the program. So I wrote a python program using ...
1
vote
1
answer
1k
views
Why isn't this EEPROM.get() working?
I am trying to save a string/char to EEPROM with EEPROM.put() and then get the value, but it doesn't work and I get a blank value when I do a EEPROM.get().
I remember this is how it worked on arduino ...
1
vote
1
answer
960
views
Is it possible to upload and run code from EEPROM during boot time?
I am having problems while writing custom bootloader, so that it uploads code from EEPROM (for now internal, as I have no external memory in my hands) and writes into flash. After ~2 weeks of ...
1
vote
1
answer
580
views
How to convert my Arduino setup to a PIC setup?
I have an arduino setup with LCD, RTC, EEPROM, Reed Switch, AC/DC Buck Converter, 4X4 Keypad.
What PIC IC will let me connect with all these(40 Pins), and yet accept Arduino Code.
I don't want to ...
1
vote
1
answer
295
views
Junk values in EEPROM. while writing large values
Facing an issue while writing a large value (like 2000-5000) to EEPROM using EEPROM.put().
For example, While writing 2000 values to address 5 of EEPROM. Some junk values are written automatically to ...
1
vote
1
answer
2k
views
Need help with EEPROM not storing array values on ESP8266 after restart
I am struggling through a program. I am trying to store my uploaded string into an array then write that array to EEPROM. I run the program, upload the new array and store it in the EEPROM. all values ...
0
votes
2
answers
223
views
the use of the Arduino's EEPROM
I want to know the purpose of using the EEPROM because I can't get it,
I mean I know that it can store values for a long time, but I just can't get the goal here
#include<EEPROM.h>
void setup()
...
2
votes
3
answers
336
views
Arduino Mega keep states after reprogramming
Based on:
https://forum.arduino.cc/index.php?topic=440978.0
And some previous experience with Arduinos. What I would like to accomplish here is that I have a 8 channel relay board with the relays in ...