Arduino: Storing Persistent Data in ESP8266

Created on 29 Dec 2015  路  2Comments  路  Source: esp8266/Arduino

I am trying to store data permanently in ESP8266. I found out two ways of doing so i.e. Writing in EEPROM or storing a txt file to the ESP and reading the data later on from it.I am using Arduino 1.6.7 along with esp8266. What is the best way to write persistent data to ESP8266 and an example to execute it?

Most helpful comment

Thanks Subodh....it helped.....

There is a good way of storing and retrieving data from the EEPROM:

Link->
https://github.com/esp8266/Arduino/blob/342c4ae6fb847bfc787f80b89a2bb888d942dc32/libraries/DNSServer/examples/CaptivePortalAdvanced/credentials.ino

The link contains good example of stroing in EEPROM...

All 2 comments

For EEPROM you can checkout the EEPROM library https://github.com/esp8266/Arduino/tree/master/libraries/EEPROM There are examples on how to read/write data.

Thanks Subodh....it helped.....

There is a good way of storing and retrieving data from the EEPROM:

Link->
https://github.com/esp8266/Arduino/blob/342c4ae6fb847bfc787f80b89a2bb888d942dc32/libraries/DNSServer/examples/CaptivePortalAdvanced/credentials.ino

The link contains good example of stroing in EEPROM...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hoacvxd picture hoacvxd  路  3Comments

eliabieri picture eliabieri  路  3Comments

SmartSouth picture SmartSouth  路  3Comments

tiestvangool picture tiestvangool  路  3Comments

gosewski picture gosewski  路  3Comments