How to store data in ESP8266 and ESP32 flash memory

preview_player
Показать описание
In this video I would like to present several ways how to permanently store data on your microcontroller. I'll show you work with memory from the simplest way (writing using EEPROM library), writing to NVS on ESP32 to simple operations (create, append, read, remove file) in the SPIFFS file system on ESP8266 and ESP32 (the size of the memory is determined by the version of the board you own. In video you can see some of boards including the amount of usable memory)

Source codes:

I decided to try Patreon to support the channel, if you like my videos please consider supporting this channel. Huge thanks to all viewers.

Where to buy:
ESP8266:
ESP32:

Follow me on Twitter:
#plukas #esp32 #lolin32
Рекомендации по теме
Комментарии
Автор

I decided to try Patreon to support the channel, if you like my videos please consider supporting this channel. Huge thanks to all viewers.

plukasYoutube
Автор

Thanks! I'm going to try the Preferences method, that is exactly what I was looking for!

PlayaWebDesign
Автор

I want to save the raw array into non-volatile memory. Can I save the
IRremtoe raw array by spiffs ? Which one is the best NVS, SPIFFS, EEPROM
? Thank you

TamPham-ojos
Автор

ESP8266 and ESP32 don't have EEPROM so its not possible to save bew data there...

deraid
Автор

Thanks for the tutorial! Do you know if those Lolin32 boards support deep sleep? I've been searching but I couldn't find anyone who has made a project with them.

TheAstronomyDude
Автор

I need to save my data on esp using SPIFFS. But whenever I include SPIFFS.h library I have an error popping up as "SPIFFS.h no such file or directory". I have downloaded many files and libraries, still no use. kindly help me. Thank you.
Arduino ide version: 1.8.12
board: Generic ESP8266 module, version:2.4.2

varlinebettycruze