ESP32 CAM - 10 Doll...
 
Notifications
Clear all

ESP32 CAM - 10 Dollar Camera for IoT Projects  


DroneBot Workshop
(@dronebot-workshop)
Workshop Guru Admin
Joined: 2 years ago
Posts: 992
Topic starter  

Today we are working with the ESP32-CAM, an amazing 32-bit microcontroller module with a built-in camera and microSD card interface that retails for less than 10 dollars!

Article with code: https://dbot.ws/esp32cam

Quick quiz - what has a camera, a microSD card socket, several GPIO pins, WifI and Bluetooth and costs less than 10 bucks? Answer - the ESP32-CAM module from A-Thinker!

We have already worked with the ESP32, it’s a 32-bit microcontroller from Espressif Systems that has a wealth of features. The ESP32 is a perfect choice to build WiFi-enabled or IoT projects, and it can be programmed using the familiar Arduino IDE.

There are many different modules that use the ESP32, and today we will look at one of the most popular ones - the ESP32-CAM. As its name would imply this module has a built-in 2-megapixel camera, as well as a microSD card and provisions for using an external antenna.

The demo sketch that comes with the module creates a full-featured Camera Web Server, complete with a control panel and advanced features like face detection. All you need to do to get it working is to add your WiFi credentials.

One thing that is missing from the ESP32-CAM module, however, is a USB connector. To program this device you’ll need to use an FTDI adapter, the same type you would use when programming an Arduino Pro Mini.

Today I’ll show you how to hook up that FTDI adapter and program the ESP32-CAM. I’ll also show you how to add an external antenna, and how to troubleshoot any “brownout condition” errors you might get when experimenting with this device.

Here is what we will be covering today:

00:00 - Introduction
03:23 - ESP32-CAM Introduction
08:18 - Using the FTDI Adapter
09:28 - Camera Web Server Example
15:44 - Resolving Brownout Problems
22:39 - Using an External Antenna

If you need more information or would like a copy of the Antenna Test Sketch head over to the DroneBot Workshop website where you will find an article that accompanies this video at https://dbot.ws/esp32cam.

"Never trust a computer you can’t throw out a window." — Steve Wozniak


Quote
YurkshireLad
(@yurkshirelad)
Estimable Member
Joined: 7 months ago
Posts: 240
 

I think you said in this video that you shouldn't buy the ESP32-CAM module from Amazon, if I recall correctly. I can't remember why you said that, but are there any particular brands of this module that are recommended?


ReplyQuote
Spyder
(@spyder)
Prominent Member
Joined: 2 years ago
Posts: 926
 

@yurkshirelad

Bill might have a better answer, but, from my experience, I've found that it's not specifically Amazon that's the problem, it's the boards they sell. I've only been able to get the AI-Thinker, and Vroom (wroom ?) to work. Many of the others are noname boards that aren't supported by the esspresif drivers (libraries). There are a few libraries to choose from, and I tried them all

I found this out the hard way by getting what I thought was a bargain at 3 for 10$. I was never able to get any of those to work until I bought the AI-Thinker and vroom boards. Those 2 boards worked fine on the first try

Hope this helps


Centari liked
ReplyQuote
YurkshireLad
(@yurkshirelad)
Estimable Member
Joined: 7 months ago
Posts: 240
 

Thanks. That makes sense; I saw one branded as KeeYees, so probably it's best to avoid.


ReplyQuote
AngeloB
(@angelob)
Eminent Member
Joined: 2 years ago
Posts: 48

ReplyQuote
AngeloB
(@angelob)
Eminent Member
Joined: 2 years ago
Posts: 48
 

Question:

What doesn’t work is the ESP32-CAM with servos.  Finding a free GPIO and making work is the problem.

 

Any help?


ReplyQuote
AngeloB
(@angelob)
Eminent Member
Joined: 2 years ago
Posts: 48
 

I got servos working

 

How do you make this camera portable? with out pugging it in?

 

 


ReplyQuote
sj_h1
(@sj_h1)
Estimable Member
Joined: 10 months ago
Posts: 100
 

@angelob Depends on what you are talking about, but if you are referring to power just attach a battery between the 5v and gnd pins. The 5v pin can handle up to 12v. I have used a 9v battery and it works just fine.

 


ReplyQuote
AngeloB
(@angelob)
Eminent Member
Joined: 2 years ago
Posts: 48
 

I want to move the camera around the house  - portable

 

I know I can use my IPhone and see the camera where it is.

This post was modified 6 months ago 2 times by AngeloB

ReplyQuote
Bob207
(@bob207)
Active Member
Joined: 7 months ago
Posts: 8
 

Has anyone managed to be able to stream the picture into a web site?

I can see the picture from the camera on my local ip address and I am trying to get a web streaming program called pagekite to stream it on a web site (it provides the website) but all my attempts fail and the owner of pagekite knows nothing about windows and blames IIS for the problem.

Any help would be appreciated. 

I have tried to use another streaming service (ngrok) and now have the ISS signal on two different websites but as yet not worked out how to send my camera information.

Maybe you would do a video of connecting the esp32-cam to the internet Bill? 🙂 

Bob.

This post was modified 5 months ago by Bob207

ReplyQuote
sparky6
(@sparky6)
New Member
Joined: 7 months ago
Posts: 2
 

I have a dual band router. I've disabled the 5Ghz band. I've tried everything I can think of and can't seem to connect to the router.

I've managed to set the board up as AP so I think the hardware is ok. Bill mentions in the video its not compatible with 5ghz routers. Anyone have any insight?

 

Thanks 


ReplyQuote