Hello RNT Lab
I’ve followed the Build WebServers eBook and enjoyed every page. Some new learning and some refreshing of old and forgotten html.
My project includes an ESP32 camera plus other sensors and an e-ink screen, so I chose the DFRobot Firebeetle ESP32-S3 board for its extra pinouts. All the components work well, and I can run the CameraWebServer example from the ESP32 examples in the Arduino IDE.
The RNT example esp32-cam-take-photo-display-web-server uses SPIFFS and I’m struggling to get this to run on the Firebeetle with its 16M Flash (3M APP /9.9M FATFS) configuration selection. How should I configure the chip to run the code please, or can you point me to where I can learn to amend the code for FATFS or PSRAM?
Thanks for any further pointers!
Hi.
Which board are you selecting in Tools > Boards for your board model?
Regards,
Sara
Hi Sara
Good to hear from you, thank you for responding!
The board is “DFRobot Firebeetle 2 ESP32-S3”. Sorry I omitted the “2” in my query.
In Boards Manager, it is found under esp32, and NOT under DFRobot ESP32 Boards.
Once selected, there are many partition schemes to choose from. I went with the “16M Flash (3M APP /9.9M FATFS)” as recommended in the DFRobot Wiki at item 10 here: https://wiki.dfrobot.com/SKU_DFR0975_FireBeetle_2_Board_ESP32_S3#target_6
Best wishes
Simon
Yes, and with some success but not reliable ( I had tried – before contacting you – but now I try again and it seems to be behaving differently, but that might just have been my frustration! ).
The code compiles and uploads using a comination of “Flash Size: 8MB” coupled with “Partition: 8MB with SPIFFS”
But then the system is in a perpetual reboot loop:
13:26:41.906 -> SPIFFS mounted successfullyESP-ROM:esp32s3-20210327
13:26:41.906 -> Build:Mar 27 2021
13:26:41.906 -> rst:0x3 (RTC_SW_SYS_RST),boot:0xb (SPI_FAST_FLASH_BOOT)
13:26:41.906 -> Saved PC:0x40377684
13:26:41.906 -> SPIWP:0xee
13:26:41.906 -> mode:DIO, clock div:1
13:26:41.906 -> load:0x3fce3818,len:0x109c
13:26:41.906 -> load:0x403c9700,len:0x4
13:26:41.906 -> load:0x403c9704,len:0xb50
13:26:41.938 -> load:0x403cc700,len:0x2fd0
13:26:41.938 -> entry 0x403c98ac
13:26:42.760 -> SPIFFS mounted successfullyESP-ROM:esp32s3-20210327
13:26:42.760 -> Build:Mar 27 2021
13:26:42.760 -> rst:0x3 (RTC_SW_SYS_RST),boot:0xb (SPI_FAST_FLASH_BOOT)
etc etc etc
I was reading about his problem in the Espressif ESP32-S3 Guide but it felt like we were moving into unnecessary territory, given that other codes execute perfectly well.
So I tracked down the actual point of failure/reboot and it was the “turning off the brownout detector” line.
I deleted that and now have a fully uploaded, functioning version of the basic “ESP32-CAM Take Photo and Display in Web Server” – but not my AP/Captive Portal re-write which worked on the AI-Thinker module.
In summary, I think you’re off the hook for helping, thank you very much for your suggestions and I’ll come back if I get lost again!
Best wishes to you and Rui
Simon
Hi.
Thanks for your answer.
I think the ESP32-S3 works slightly differently than “regular” ESP32 in some details. I think this must be the case…
Probably it will work on a different ESP32 that is not an S3 model.
Regards,
Sara
You’re right, the ESP32-S3 has very different characteristics. I’m a relative beginner to ESP32, so it’s a steep learning curve.
This was the only ESP32 Cam board I could find, with enough pins to add a couple of sensors and an E-ink screen.
If anyone reading this can suggest others, that might be helpful!
Best wishes
Simon
Hi.
I suggest this one: https://randomnerdtutorials.com/getting-started-freenove-esp32-wrover-cam/
It’s an older model with the ESP32-Wrover-E chip. Maybe you can still find it.
Regards,
Sara