DEV Community

El Bruno for Microsoft Azure

Posted on • Originally published at elbruno.com on

#ESP32CAM – Flash on / Flash off πŸ”¦πŸ”¦πŸ”¦

Hi !

Let’s start a series of posts using an ESP32 CAM board. I had this one from Amazon Canada.

Wobekuy ESP32-CAM-MB WiFi Development Board OV2640 Camera Module -USB Interface CH340G USB to Serial Port

I choosed this one, because it will avoid me the pain of wiring.

So, 1st test, let’s turn the Flash ON and then OFF.

Let’s start creating a new PlatformIO project, and selecting the right board: AI Thinker ESP-32CAM

Platform IO new project or ESP32 CAM

Once the project is created our ini file contains the following information:


; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html

[env:esp32cam]
platform = espressif32
board = esp32cam
framework = arduino

Enter fullscreen mode Exit fullscreen mode

And now let’s add some code to make the flash work. And, my only note here is that the Pin is 4.



Full project working demo

ESP32Cam Flash demo

Happy coding!

Greetings

El Bruno


Top comments (0)