How to use the ESP32-CAM and MicroPython

Published at : 23 Dec 2025

Learn how to use the ESP32-CAM in MicroPython to use the onboard camera and connect to the network. Also, learn some simple dos and don'ts of using the device in MicroPython to help you get started. By the end of it, we can rerun scripts with the camera and WiFi all in Thonny which will give us a lot of power to code in MicroPython with this device!

Support Content:
https://www.buymeacoffee.com/mmshilleh

Link to Blog Post:
https://shillehtek.com/blogs/news/how-to-use-esp32-cam-with-micropython

Repo:
https://github.com/lemariva/micropython-camera-driver

Other Popular Shilleh ESP32 Tutorials:

Create a Wireless Network with ESP32:
https://www.youtube.com/watch?v=Gv4_YmXoh-A

How to Connect MPU6050 to ESP32:
https://www.youtube.com/watch?v=H9e1Up7xHjc

How to Get Angle with ESP32 and MPU6050
https://www.youtube.com/watch?v=C93SoHYeuz0

Enhance your projects with ShillehTek sensors and accessories:
Website: shillehtek.com
Amazon Store: https://www.amazon.com/stores/ShillehTek/page/F0566360-4583-41FF-8528-6C4A15190CD6?ref_=ast_bln

TIMESTAMPS
00:00 Introduction
00:10 Background
01:20 Install Firmware
05:17 Camera in MicroPython Demo
08:40 Network and Pip Install Packages