Renzo Mischianti Articles

ESP32 OTA update with Arduino IDE: filesystem, firmware and password 0

ESP32 OTA update with Arduino IDE: filesystem, firmware, and password

One of the most important features of the ESP32 is the ability to perform over-the-air (OTA) updates, which allows developers to remotely update the firmware of the device without the need for physical access.

In this article, we will explore how to perform an OTA update on an ESP32 using the Arduino IDE. We will cover the entire process, including updating the filesystem and firmware, as well as securing the OTA update with a password.

ESP32: compiled binary (.hex) with command line and GUI tool 3

ESP32: flash compiled firmware and filesystem (.bin) with GUI tools – 2

The ESP32 boasts a crucial capability that streamlines the sharing of firmware, which most manufacturers widely utilize. This capability involves creating a pre-compiled binary file containing the sketch portion (or filesystem). In this article, we will create a binary file for the filesystem and proceed to flash the ESP32 using the Espressif Download Tool.

Raspberry Pi Pico W rp2040 how to use SD card 6

Raspberry Pi Pico and rp2040 boards: how to use SD card – 5

We have already talked about the internal flash memories for rp2040 boards and other microcontrollers, which are very useful for storing pages or static files. However, they are not suitable for logging or similar applications, so we will learn how to connect and use an SD card which can have a lot of space, a very small form factor, and low power consumption.

Raspberry Pi Pico, and other rp2040 boards: WiFiNINA with ESP32 WiFi Co-Processor 0

Raspberry Pi Pico, and other rp2040 boards: WiFiNINA with ESP32 WiFi Co-Processor

Even though Raspberry Pi Foundation has released the Pico W version, I still find this tutorial useful for adding WiFi to rp2040 boards using an ESP32.
We will use an esp32-wroom-32 (or esp32-s) as WiFi coprocessor and the full potential WiFiNINA library to handle it.