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

แชร์
ฝัง
  • เผยแพร่เมื่อ 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 TH-cam License.
    ==========
    #ESP32 #Arduino #SPIFFS
  • วิทยาศาสตร์และเทคโนโลยี

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

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

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

  • @petebowcott8348
    @petebowcott8348 3 ปีที่แล้ว +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  3 ปีที่แล้ว

      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!

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

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

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

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

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

    well done! keep it up man missing you

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

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

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

      @@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  3 ปีที่แล้ว

      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!

  • @walthermatthau9537
    @walthermatthau9537 3 ปีที่แล้ว +6

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

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

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

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

    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 2 ปีที่แล้ว

    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.

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

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

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

    Very nice video thanks Cisco😄

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

      Thanks so much, Cisco! 😄

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

    Really well done

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

      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???

  • @TamPham-oj4os
    @TamPham-oj4os 2 ปีที่แล้ว

    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

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

    Very good video.💯

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

    This is good

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

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

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

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

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

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

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

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

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

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

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

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

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

    How to play Gif image files in spiffs esp32

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

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

    • @datasith
      @datasith  3 ปีที่แล้ว +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!

  • @Benzimma
    @Benzimma 11 หลายเดือนก่อน

    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 !!!

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

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

  • @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

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

    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  3 ปีที่แล้ว

      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_*".

  • @soovui
    @soovui 3 ปีที่แล้ว +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  3 ปีที่แล้ว +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 3 ปีที่แล้ว

      @@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.

  • @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.

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

    🏴󠁧󠁢󠁥󠁮󠁧󠁿👍

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

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

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

    Name stealer