ESP32 Flash Memory - Store Permanent Data (Write and Read)

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 พ.ย. 2018
  • For complete project details (schematics + source code), visit ► randomnerdtutorials.com/esp32...
    Learn how to use the ESP32 flash memory to store permanent data. To write data to the flash memory, you use the EEPROM.write() function that accepts as arguments.
    Like my page on Facebook:
    / randomnerdtutorials
    Add me on Google+:
    plus.google.com/+RuiSantosdotme
    Follow me on twitter:
    / ruisantosdotme
    Subscribe for more projects like this!
    bit.ly/subscribeRNT
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 49

  • @RuiSantosdotme
    @RuiSantosdotme  5 ปีที่แล้ว +7

    You can find the complete project details (schematics + source code) on my blog ► randomnerdtutorials.com/esp32-flash-memory/

    • @imranmehboob4860
      @imranmehboob4860 4 ปีที่แล้ว

      sir is there any difference between code written for arduino uno and for esp32

  • @tozeleal
    @tozeleal 5 ปีที่แล้ว +9

    Im happy to see a Portuguese dude creating this type of content ... This is real tech youtube! Unlike many others in the portuguese that say they are "tech" youtubers but they only do unboxings and don't even do a proper review.

  • @joetke
    @joetke 5 ปีที่แล้ว +1

    Pedagogically PERFECT! Thanks Rui! I recommend your channel to my fellow citizens from Madagascar.

  • @TalismanAirsoft
    @TalismanAirsoft ปีที่แล้ว +2

    Most clear and easy to follow video on this I've found yet. Thank you! 🙏

  • @DusanFajler
    @DusanFajler 5 ปีที่แล้ว

    Keep up the good work! .Your tutorials are really helpful for a beginner like me. Cheers!

  • @jpcme2002
    @jpcme2002 4 ปีที่แล้ว

    Rui, meus parabéns, de muitos que encontramos por aqui no youtube, Tu realmente és dos melhores!!! continuação de um óptimo trabalho e bem hajas!!!

  • @BitesandGo
    @BitesandGo ปีที่แล้ว +2

    The esp32 C3 FH4 Has 4MB embedded flash memory acording to the datasheet. Does the eeprom library works with that too? And how to know the address ?
    The same as the normal ESP32?

  • @qzorn4440
    @qzorn4440 2 ปีที่แล้ว

    very interesting and useful. 🤔 this will be great for a remoteXY project. 🙂thank you

  • @HellaFunnyShorts
    @HellaFunnyShorts 5 ปีที่แล้ว

    Informative. Thank you.

  • @go7awarsha998
    @go7awarsha998 4 ปีที่แล้ว +1

    Well done. Thanks.

  • @shmidt_rc2338
    @shmidt_rc2338 5 ปีที่แล้ว

    Thansk for your efforts!

  • @mariosilva6303
    @mariosilva6303 5 ปีที่แล้ว

    Could I share the esp32fs.jar file? in the plugin only has the esp32fs.java. thank you

  • @DragPlix
    @DragPlix 3 ปีที่แล้ว +2

    Thank You Sir!

  • @mehmetbagmanc1753
    @mehmetbagmanc1753 5 ปีที่แล้ว

    thansk, tutorial is very helpfull

  • @dhavalshukla6615
    @dhavalshukla6615 2 ปีที่แล้ว

    How do I loop namespaces for example np1 np2 np3 namespaces in preferences? I have been trying that for past week but can't seem to figure it out. It is also difficult because of how complicated it is. If anyone can, please help.

  • @0124akash
    @0124akash 2 หลายเดือนก่อน

    Sir, can I use sd card instead of flash memory ?

  • @musicgrind7002
    @musicgrind7002 2 ปีที่แล้ว

    Very awesome👏

  • @morpheuz2006
    @morpheuz2006 5 ปีที่แล้ว

    :P sempre a aprender .... bons tutoriais parabéns

  • @miditec-pd8424
    @miditec-pd8424 4 ปีที่แล้ว

    Arduino due bord eeprom no..how ti work due bord eeprom ..help me...

  • @heltonritter
    @heltonritter 5 ปีที่แล้ว

    Just to make sure I understood. This "flash memory" you refer it`s not the eEPROM right? It`s se same memory where your code (compiled and flashed) resides right?

    • @joelbennett9014
      @joelbennett9014 5 ปีที่แล้ว

      I'm not sure he's accessing the larger flash partitions that we're looking for...

    • @joelbennett9014
      @joelbennett9014 5 ปีที่แล้ว +1

      yeah, so apparently this guy is just diddling around with an emulated eeprom partition. duuuuumb.

    • @fundorinlive
      @fundorinlive 5 ปีที่แล้ว

      @@joelbennett9014 You're looking for spiffs

    • @joelbennett9014
      @joelbennett9014 5 ปีที่แล้ว

      @@fundorinlive yeah i found it eventually, got a nice load/save interface for my machine now. this is my first time using an esp32, and i don't think i'll ever be buying an arduino again now.

  • @danielmoraes9637
    @danielmoraes9637 5 ปีที่แล้ว

    thanks

  • @codebeat4192
    @codebeat4192 4 ปีที่แล้ว +1

    Documentation says "Size can be anywhere between 4 and 4096 bytes.", not limited to 512 bytes.

    • @MikePreston-darkflib
      @MikePreston-darkflib 2 ปีที่แล้ว

      I belive this is due to the way rotation is done. Check the docs for write vs commit.

  • @3DComputing
    @3DComputing 3 หลายเดือนก่อน

    what if you want a long or a string ? 😞

  • @parthajana3365
    @parthajana3365 2 ปีที่แล้ว

    "text section exceeds available space in the board" how to solve this error

  • @leizerleite4457
    @leizerleite4457 4 ปีที่แล้ว

    Hello Rui Santos! Grateful for the opportunity. Sorry if my English is strange, my native language is Brazilian Portuguese. If possible, I would like to know if it is possible to select not only the byte address in the EEPROM, but also to manipulate each bit individually? I say that, I think about adding eight LEDs with individual drives to the project. Or is it only possible to write and read only in all bytes?

    • @MikePreston-darkflib
      @MikePreston-darkflib 2 ปีที่แล้ว +1

      Only really using the read -> modify -> write pattern.

  • @kvamsidharvamsi5800
    @kvamsidharvamsi5800 2 ปีที่แล้ว

    this is about eeprom of 512 bytes,you are saving last state in eeprom not in flash memory , tell about flash memory, is flash memory = eeprom then 4mb = 512 bytes ,obsoletely No , then how to program flashmemory

  • @JisooMx
    @JisooMx 3 ปีที่แล้ว

    How do i clear all data on flash memory?

  • @rubialugattimoreira1978
    @rubialugattimoreira1978 2 ปีที่แล้ว

    Perfect 👏👏

  • @crisselectronicprojects8408
    @crisselectronicprojects8408 5 ปีที่แล้ว +1

    Hello!
    This tutorial also applies to ESP8266?

    • @kokalti
      @kokalti 4 ปีที่แล้ว +1

      Yes

  • @juzekk8028
    @juzekk8028 3 ปีที่แล้ว

    It was really hard to find this tutorial

  • @Gamerzhut
    @Gamerzhut ปีที่แล้ว

    Which EEPROM library do you use, you never said ... :)

    • @RuiSantosdotme
      @RuiSantosdotme  ปีที่แล้ว +1

      It comes installed by default with the ESP32 add-on, you don't have to install anything else

  • @sarma_sarma
    @sarma_sarma 3 ปีที่แล้ว

    can we esp 32 as a SQL server?
    is it possible to run sql function in esp 32?

    • @MikePreston-darkflib
      @MikePreston-darkflib 2 ปีที่แล้ว +1

      Not really... You will need a real cpu for that... Even a raspberry pi zero would work, but performance won't be high...

  • @luissantiagoyaurikacyacuri4160
    @luissantiagoyaurikacyacuri4160 5 ปีที่แล้ว

    Can I save strings in flash?

    • @kokalti
      @kokalti 4 ปีที่แล้ว

      You need to play with bytes and ascii. It gets a bit computer scienceee, not for youtube learners.

  • @luizvision478
    @luizvision478 5 ปีที่แล้ว +1

    RUI BOM DIA
    INGLES POSSIVEL DE ENTENDER PERFEITAMENTE
    MAS... PÔE AS LEGENDAS POIS IRÁ AJUDAR MUITO
    POR FAVOR....

  • @felixbaum2180
    @felixbaum2180 2 ปีที่แล้ว

    wait a minute the flash memory is not the same as the eeprom

    • @soniccinos
      @soniccinos 5 หลายเดือนก่อน

      it is, EEPROM on ESP32 is just emulated in the flash.