flash ESP32-CAM with arduino ide software

Arduino IDE is software that lets us develop code for a writing on a chip. Explore its menu and we soon see it’s made to transfer a great many capabilities to a great many types of Arduino and ESP32 chips. In topics nearby we used ESPHome to assemble code, create firmware and then flash it to an ESP32. You can do that with Arduino IDE too.

Go to the Arduino IDE Tools menu and set parameters to suit the chip you’re using. Set the ESP32 development board that you have and the speed, frequency and Flash mode. Then connect your ESP32 to the computer USB with a FTDI UART module – as you may have done with ESPhome.

Choose Camera webserver from Examples and you’ll see a window containing code…

Find your ESP32-CAM model in the code and make that model active (change the line to read from //#define to #define). Then add your home wifi and password. Validate the code and upload it to your ESP32. Within a few minutes your ESP32-CAM should appear on your network. Find its IP address and visit that IP address with a browser. For a clear tutorial see Rui Santos at Randomnerd or watch his helpful video below:

A remarkably easy to follow tutorial by Rui Santos who has published numerous tutorials and e-books.

Can I upload ESPhome firmware using Arduino IDE?

Yes you can with ease – it’s an alternative to the process I outlined here. Download the firmware.bin from ESPhome, go to the camera webserver as above and look for the option to upload firmware.

Leave a Reply

Your email address will not be published. Required fields are marked *