How to use the ESP32-CAM and MicroPython
Вставка
- Опубліковано 2 сер 2024
- 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:
www.buymeacoffee.com/mmshilleh
Link to Medium Post:
/ how-to-use-esp32-cam-w...
Link to Blog Post:
shillehtek.com/blogs/news/how...
Repo:
github.com/lemariva/micropyth...
Other Popular Shilleh ESP32 Tutorials:
Create a Wireless Network with ESP32:
• Creating a Wireless Ne...
How to Connect MPU6050 to ESP32:
• How to Connect MPU6050...
How to Get Angle with ESP32 and MPU6050
• Measure Angles Easily ...
Enhance your projects with ShillehTek sensors and accessories:
Website: shillehtek.com
Amazon Store: www.amazon.com/stores/Shilleh...
TIMESTAMPS
00:00 Introduction
00:10 Background
01:20 Install Firmware
05:17 Camera in MicroPython Demo
08:40 Network and Pip Install Packages - Наука та технологія
Consider donating if I saved you time! www.buymeacoffee.com/mmshilleh
Also, a reminder an interactive version can be downloaded on Razzl -> share.razzl.com/hMLn
Thank you. Great content.
Your supportive comments are always appreciated buddy! Thanks
Have you tried to stream with esp 32 and micropython? Will it work smooth? Or stream will be to slow?
Yeah thats not possible! Its not fast enough sadly
interesting and timewise aligned with a plan to play around with a esp32-cam icm with a bunch of RPI Pico's. Regrettably, I cannot get your approach to work for me. All steps are fine (no errors, that is) but after loading the firmware, I cannot connct to the device: Thonny does see it, not by specified com-port or otherwise. Tried various options, combine connecting with pushing the IOO / RST buttons on the MB but to no avail. As I can use ESPTOOL to - for example - read the MAC of the device, the device is clearly "alive". Tried all three images provided. nb. I noted that the Micropython community has created a pull-request to add the ESP32-CAM to their range of supported devices; that will simplify getting access to Micropython. Thanks for your video; much appreciated !
Yes, I think on my friends Windows machine I could not get it to work sadly. Tried everything with no luck, sorry to disappoint everyone but didn't expect it to fall short on another bizarre operating system. Thanks for your comment buddy!
Why is the custom firmware needed? Can't this all be handled with Micropython.
This is MicroPython, not all versions of it can be uploaded to this controller!
I thought the version on Micropython would be the best version to use. Thank you for the reply
thank you. i have a bunch of these and I hate the arduino ide
Yes so do I honestly haha
Why is my image file saying it is empty? Is anyone else having this issue?
Not sure, could be hardware my friend
I made everything exactly as on the video
but
when I run the code I receive "OSError: Camera Init Failed"
This is second esp32-cam, so the problem with device excluded
what can be wrong?
Are you on a windows machine? Could be the issue lol
@@mmshilleh no no macos
@@ovmov3321 that is weird, are you sure you used the correct driver? There is more than one in the repo
@@mmshilleh 100000% and I tried several times each of them
I struggling with it third day) I tried everything 😂
@@mmshilleh is it possible to contact with you directly? maybe you will find out what I'm missing?
how to use opencv in micropython
I wouldn't even try and do that not enough compute, you can barely get a camera to stream video on this thing. I would say that is not possible
@@mmshilleh So if video streaming is out of the question, I can still send the captured image to a lightwight image captioning model to figure out what's in it? Perhaps I could get to send a signal to capture more photos on demand...