Quantcast
Channel: Comments on: Tutorial: Your Arduino’s inbuilt EEPROM
Browsing latest articles
Browse All 47 View Live

By: Pixel_k

Hi, and first, thank you very much for your tutorials. Thanks to you and a few others I was able to enter Arduino world with confidence. In this tutorial you may have added a few sample about how to...

View Article



By: John Boxall

Hello Thanks for your feedback and suggestion, I will investigate this further. cheers john

View Article

By: Sergio

Great tutorial as always, it has completely cleared how EEPROM works !!! As it has been said, it would be nice to expand this tutorial with just an example on how you could store a long number. Thanks...

View Article

By: John Boxall

Thanks for your feedback Sergio. You could do some bitwise arithmetic and chop up a large number into bytes, then reconstruct it. I will work on it soon. cheers john

View Article

By: Sergio

Great, I have come up with a very basic / simple solution for my proyect, I am going to test it and if it works I will post it here. Nevertheless, I would really appreciate a proper way of handling...

View Article


Image may be NSFW.
Clik here to view.

By: John Boxall

Hello Each cycle in my demonstration was a read/write to each address. The final count was the number of my cycles until one of the addresses was at fault. Therefore this exceeded the data sheet...

View Article

By: Sergio

Great, thanks for that explanation. I thought each write OR read counted towards the 100,000 limit, but its a cycle of both of them which add a unit. I will do my calculations using the 100,000 cycles,...

View Article

Image may be NSFW.
Clik here to view.

By: John Boxall

In this case my ATmega328 lasted a lot longer than expected

View Article


By: Sergio

Hi again, I have got a further question, hope it is ok. The expected lifecycle is for a certain address? I mean can I expect a 100.000cycles (read/write) to address 0, then another 100.000cycles to...

View Article


By: John Boxall

Hi Sergio Looking at the Atmel data sheet this is not specifically mentioned. However considering my experience I would say it is 100,000 read/write cycles for each address. cheers john

View Article

By: Sergio

Great thanks, that is what I was expecting but good to know you believe that too. Once again, thanks for taking the time to answer me.

View Article

By: Duncan

I can see occasions when the running sketch would want to save acquired data values to EEPROM, but how about when there are a set of pre-determined values? I have a number of values between 0 and 1024...

View Article

By: John Boxall

You could include a function in your sketch that sends the data to the EEPROM for you; or you could create a separate application that just copies the data to the EEPROM. I would use the latter as it...

View Article


By: Duncan

It was, I think, the second option that i was hoping to do (if I understand you correctly) but I cannot find out how to achieve it. I found two articles on the internet – one related to “LadyAda” that...

View Article

By: John Boxall

Mm. You could write a sketch to accept numbers using the serial monitor box, and store them in the EEPROM. Then the sketch would know how to read those values from the EEPROM. No wasted sketch space....

View Article


By: Duncan

Ah… So, if I’m following this correctly, there isn’t any way that I can write directly from the PC to the EEPROM? I’d have to upload a sketch to the Arduino – run something else on the PC that will...

View Article

By: John Boxall

No, it’s the limitations of using the Arduino way of doing things. You most probably will want to examine writing to the microcontroller directly, perhaps using AVRstudio, etc. You may want to check...

View Article


By: Duncan

Thanks John, no further forward at this point but clearer in my understanding…

View Article

By: Gursi

Thanks you so much. Can you please tell me how to store more than 1 byte in EEPROm. For example, IR infrared protocol (NEC Protocol) has more than 32 bits, but I want to store it in the EEPROM. So can...

View Article

By: John Boxall

You need to divide up your data into bytes, then store them sequentially, that is spread out your data over single bytes in a row in the EEPROM. john

View Article

By: elben montil

Good Day Sir, Thank for the tutorial.. But I have a problem sir, on how to save the data in the eeprom when I press the keypad to make a password.

View Article


By: John Boxall

If you are using my keypad examples, just write in the contents of the array to EEPROM.

View Article


By: Th3badwolf

Hi Mr. Boxall,I’ve tried to post a comm but it got deleted or spammed i guess. If you could reach me by email asap I’d appreciate it thanks.

View Article

By: John Boxall

You can reach me at john@tronixstuff.com

View Article

By: ametist

Hi John , Could you explain us how to store array value in built-in eeprom with keypad and eeprom library please. Instead to write it on lcd, save it in eeprom: void loop() { char key =...

View Article


By: John Boxall

Due to time constraints and fairness, I don’t write custom code for people. Please review the tutorials, work through the examples and you should then have the knowledge to take care of it.

View Article

By: Jitu Kumar

hello can u make Prepaid Energy Meter how can store data in eeprom if power if off i want to store the data like meter reading in the eeprom when i restart the program i want data is start to where the...

View Article

By: John Boxall

If you like I can organise a consulting engineer to design this for you. The charge is Au$60 per hour.

View Article

By: Stewart

The life cycle described here is a little ambiguous. The eeprom can be written/re-written at least 100,000 times. It can be read an almost infinite number of times.

View Article



By: DRAI Francis

Hello John I am newbie in arduino word. I want to have a clarification about the memory usage in arduino box: is the flash memory dedicated to the program or part of it can be used to store data?...

View Article

By: John Boxall

Thanks for your feedback. The flash memory is just for your program. You can store data as long as it is defined in the sketch before hand.

View Article

By: Leone

Good afternoon John, would aid in the programming of a situation. any variable has a type int value = 9856; like this number of stores each variable in a type of memory space at address 0, stores the...

View Article

By: John Boxall

This might be useful – http://playground.arduino.cc/Code/EEPROMex

View Article


By: hobbyist

John, Good writeup, Having the zz variable declared as byte would be apt in this case as the EEPROM stores bytes. I do see you limit the values in the variable to 255. Cheers

View Article
Browsing latest articles
Browse All 47 View Live




Latest Images