ESP32 Save Data To SPIFFS Flash Memory w/ Arduino (Mac OSX and Windows) | File System Storage

Поделиться
HTML-код
  • Опубликовано: 14 авг 2020
  • • Full feature PCB design, manufacturing, and assembly: www.pcbway.com
    ==========
    • Your support helps me post videos more frequently:
    / acrobotic
    www.paypal.me/acrobotic
    buymeacoff.ee/acrobotic
    BTC: 1ZpLvgETofMuzCaKoq5XJZKSwe5UNkwLM
    ==========
    • Find me on:
    / acrobotic
    / acrobotic
    / acrobotic
    ==========
    • Join the community:
    / discord
    ==========
    • My shops:
    acrobotic.com/shop
    amazon.com/shops/acrobotic
    ==========
    • Description:
    One of the most common tasks when using the ESP32 is storing information that survives a power cycle. Using Flash Memory, which is non-volatile, is the way to do this. Moreover, using the Flash File System allows us to work with files, which makes working with webpages a whole lot easier! In this video I go over the steps for reading and writing data to flash memory using the SPI Flash File System library SPIFFS. I also use the commonplace JSON formatting to make the data more easily accessible.
    ==========
    • Related vids:
    Getting started with the ESP32 Development Board using Arduino:
    • Getting Started | ESP3...
    Setting up SPIFFS for the ESP8266:
    • ESP8266 Save Files To ...
    ==========
    • Project parts:
    ACROBOTIC Development Boards for ESP32:
    amzn.to/2D3KiA6 (affiliate)
    amzn.to/303INZK (affiliate)
    acrobotic.com/products/acr-00024
    ==========
    • Project code:
    SPIFFS plug-in for the Arduino IDE:
    github.com/me-no-dev/arduino-...
    Firmware for the Arduino IDE:
    github.com/acrobotic/Ai_Demos...
    • ESP8266 Save Files To ...
    ==========
    • Tutorials:
    Detailed guide for getting started with the ESP32 Development Board:
    learn.acrobotic.com/tutorials...
    ==========
    • Music:
    Epidemic Sound (epidemicsound.com). Standard RUclips License.
    ==========
    #ESP32 #Arduino #SPIFFS
  • НаукаНаука

Комментарии • 50

  • @petebowcott8348
    @petebowcott8348 4 года назад +2

    Welcome back !! Great tutorial as ever, just what I needed to do to save some "factory default" values and "user set" values for some controllers I have ... the JSON format makes it so simple, thanks!!

    • @datasith
      @datasith  4 года назад

      thanks so much for the welcome, pete! i'm glad to be back. it's great to hear you have a use for this. as always, shoot me any questions that may come up!

  • @brunobilame2528
    @brunobilame2528 3 года назад +1

    Thanks ! Just what i need ! SPIFFS + Json. The video is very clear, simple and straightforward !

  • @walthermatthau9537
    @walthermatthau9537 4 года назад +6

    this was not a lesson, it just showed how capable you are...teaching is different

    • @datasith
      @datasith  4 года назад +1

      thanks so much for the kind words, walther. i'm glad you found this content useful!

  • @kesterbelgrove818
    @kesterbelgrove818 4 года назад

    Hope you're keeping safe. Good to see another video

    • @datasith
      @datasith  4 года назад

      thanks for the kindness, kester. hope everything’s well with you!!

  • @TheAlibigdeli
    @TheAlibigdeli 4 года назад +1

    well done! keep it up man missing you

    • @datasith
      @datasith  4 года назад

      ali! thanks so much, bud. i definitely missed the community we started forming this year. happy to be back!

    • @TheAlibigdeli
      @TheAlibigdeli 4 года назад

      @@datasith yeah same here, i am on the edge of all changes i needed to made for my dreamy project so gonna take a little more while then ill be back, much more powerful, till then good luck ill watch you as always

    • @datasith
      @datasith  4 года назад

      That's great to hear, Ali. Looking forward to hearing more about the progress on your project when you're back. All that best 'til then!

  • @EDGARDOUX1701
    @EDGARDOUX1701 4 года назад

    Hey we're back! Great video! Un fuerte abrazo argento and stay safe dude

    • @datasith
      @datasith  3 года назад

      Gracias capo, complicados estos meses con todo lo acontecido, but I know I'm "preaching to the choir". Gusto en verte dando vueltas por aca tambien. Abrazo!

  • @edm.7555
    @edm.7555 Год назад

    Well done! Do we have to log into the IDE to upload new images to SPIFFS? Or is there some command so we can automate the process? Thanks!

  • @francbele
    @francbele 3 года назад

    Very good tutorial, thanks! Have you tried to open a file in the loop() method? I am getting Guru Meditation Error and I can't get around it. Thanks.

  • @CiscoSaeed
    @CiscoSaeed 4 года назад +1

    Very nice video thanks Cisco😄

    • @datasith
      @datasith  4 года назад

      Thanks so much, Cisco! 😄

  • @MkmeOrg
    @MkmeOrg 4 года назад +1

    Really well done

    • @datasith
      @datasith  4 года назад

      Thanks so much, glad you enjoyed it!

  • @prassh1952
    @prassh1952 3 года назад

    Hello sir,
    Shall I connect 5v 20amp externel power supply to esp8266 nodmcu VIN pin???

  • @NelsonSantander
    @NelsonSantander Год назад

    Very good video.💯

  • @TamPham-oj4os
    @TamPham-oj4os 3 года назад

    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

  • @Benzimma
    @Benzimma Год назад

    i have a Mac M1 and i cant seem to get this working for the life of me please help i follow to the (T) and no esp8266 upload ... cant seam to get it to work !!!

  • @raymondmichael4987
    @raymondmichael4987 8 месяцев назад

    This is good

  • @achmadarifmunaji3320
    @achmadarifmunaji3320 3 года назад

    can we post files from SPIFFS to flask or python server?

  • @prassh1952
    @prassh1952 3 года назад +1

    How to play Gif image files in spiffs esp32

  • @jedandecko5585
    @jedandecko5585 4 года назад +2

    Hi, nice tutorial. Can you store .jpg or some other type of file and how?
    Thak you for sharing.

  • @aleksandarzivkovic1792
    @aleksandarzivkovic1792 3 года назад

    Very clear, good video. However you must get rid of the pointless muzak. Many people can not easily cut it out.

  • @rico8192
    @rico8192 4 года назад +1

    Grande fiera!! Volviste! Pero no lo pongas al pecho frio que se comio 8 jaja. Salu2 👍

    • @datasith
      @datasith  4 года назад

      Jaja, gracias por el recibimiento! Se que siempre puedo contar con vos para levantarme el animo 😂

    • @rico8192
      @rico8192 4 года назад

      Jaja. Si. Si queres hablamos del diego. Ese si nos trajo alegría. Saludos titan. Mirando tus videos a full.

  • @achalasamapriya2701
    @achalasamapriya2701 3 года назад

    awesome tutorial.by the way long time no see ..what happened ??

  • @DiyintheGhetto
    @DiyintheGhetto 3 года назад

    Cisco I just got some stuff from your amazon store man. Just a heads up lol

  • @TimNortonGuru
    @TimNortonGuru 4 года назад +2

    Thanks for the info.
    Is SPIFF being replaced by Little FS?

    • @datasith
      @datasith  4 года назад +3

      Hey, Tim. Glad you found it useful. I wouldn't say replaced, as SPIFFS does its job well. But you're right in that Little FS is being actively developed as opposed to SPIFFS. If I were to start a new project, I'd go for Little FS based on that, so you've motivated me to do a video in the near future covering that option as well. Thanks so much!

  • @orenbell1645
    @orenbell1645 3 года назад

    4:19 hol' up. Just glossed over a key issue. How tf do you upload files that are not your code to the ESP32?? Does the Arduino IDE just automatically create a SPIFS filesystem and copy whatever is is your workspace to the arduino??
    EDIT: Got it working in Platform.IO, which has a separate Upload task just for SPIFFS filesystems. Idk how the Arduino IDE figured it out

  • @jensschroder8214
    @jensschroder8214 2 года назад

    not possible to install the menu. what ever I try. but github has change and files are nit to find.

    • @jensschroder8214
      @jensschroder8214 2 года назад

      I couldn't get this to work on the Mac.
      The menu just doesn't appear. I messed up the software so much that I deleted Arduino and reinstalled it. But I kept my programs.

  • @soovui
    @soovui 4 года назад +1

    Hi Cisco, I am looking for a solution that able to capture a photo from an IP camera api and store inside SPIFFS and send to my telegram on LINE messenger. R u able to teach on how to do it?

    • @datasith
      @datasith  4 года назад +1

      Heya, STU. I need to do a video on the ESP32-CAM relatively soon. I'll use part of your idea (store images in SPIFFS) for it. So that I can keep the video short-ish, I'll show how to access the images with a web server. Hopefully that sets you in a good direction to sort out the Telegram side of things!

    • @soovui
      @soovui 4 года назад

      @@datasith actually I saw many using ESP32 Cam doing kinda stuffs snapshot and send to Telegram. I even make it but I don't like ESP32 Cam bcoz it is not so stable and hung occasionally and need to be reset and it is a trouble where my esp32 Cam being installed on a dummy camera housing and I need to climb up and down. I tried many many ideas given by a lot of people about power supply and etc etc but it fails too. That's why I am looking for a solution using esp32 or esp8266 NodeMCU to trigger snapshot by using url http API given by IP camera manufacturer and send it to Telegram or Line notify.

  • @petebowcott8348
    @petebowcott8348 4 года назад

    Hi Cisco,
    just a heads up that your repository:
    github.com/acrobotic/Ai_Tips_ESP32/tree/master/spiffs_primer
    isn't available in fact Ai_Tips_ESP32 isn't there, just Ai_Tips_ESP8266
    Pete

    • @datasith
      @datasith  4 года назад

      Uh, awesome, thanks for spotting that, Pete! The perils of copy-pasting :) No 'Tips' repo for the ESP32, only for the ESP8266, it's now fixed to "*_Demos_*".

  • @deangreenhough3479
    @deangreenhough3479 4 года назад +1

    🏴󠁧󠁢󠁥󠁮󠁧󠁿👍

    • @datasith
      @datasith  4 года назад

      haha, thanks! next time i'll remember to wear my colors: 🇦🇷👕

  • @acrobotic321
    @acrobotic321 3 года назад

    Name stealer