Update README.md

master
Alan 2020-12-29 08:45:06 +00:00 zatwierdzone przez GitHub
rodzic 4157b8559d
commit f44c0ed42b
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 26 dodań i 11 usunięć

Wyświetl plik

@ -7,7 +7,10 @@ There is now a very cheap motherboard available for the esp32cam which make it a
Search eBay for "esp32cam mb" - see http://www.hpcba.com/en/latest/source/DevelopmentBoard/HK-ESP32-CAM-MB.html
It looks like the esp32cam suplied with them are not standard and have one of the GND pins modified to act as a reset pin?
So on esp32cam modules without this feature you have to plug the USB in whilst holding the program button to upload a sketch
also I find I have to use the lowest upload speed or it fails to upload. The wifi is very poor whilst in the motherboard (I find this happens if you have something near the antenna on the esp32cam modules) but if I rest my thumb above the antenna I find the signal works ok). Many of the ebay listing include an external antenna and I would suggest this would b a good option if ordering one.
also I find I have to use the lowest upload speed or it fails to upload. The wifi is very poor whilst in the motherboard
(I find this happens if you have something near the antenna on the esp32cam modules) but if I rest my thumb above the antenna
I find the signal works ok). Many of the ebay listing include an external antenna and I would suggest this would b a good option
if ordering one.
So they are far from perfect but still for the price I think well worth having.
This can be used as a starting point sketch for projects using the esp32cam development board,
@ -22,12 +25,18 @@ it has the following features:
-Can read the image as RGB data (i.e. 3 bytes per pixel for red green and blue value)
-Act as web client (reading the web page in to a string) - see requestWebPage()
I have tried to make the sketch as easy to follow/modify as possible with lots of comments etc. and no additional libraries used, as I found it quiet confusing as an ameteur trying to do much with this module and difficult to find easy to understand examples/explanations of what I wanted to do, so I am publishing this sketch in the hope it will encourage/help others to have a try with these powerful and VERY affordable modules.
I have tried to make the sketch as easy to follow/modify as possible with lots of comments etc. and no additional libraries used,
as I found it quiet confusing as an ameteur trying to do much with this module and difficult to find easy to understand
examples/explanations of what I wanted to do, so I am publishing this sketch in the hope it will encourage/help others to have a
try with these powerful and VERY affordable modules.
BTW - Even if you do not require the camera I think these modules have some uses in many projects as they are very cheap, have a built in sd card reader,
bright LED and the 4mb psram could prove useful for storing large amounts of temp data etc? (see the RGB section of the code to see how it can be used).
BTW - Even if you do not require the camera I think these modules have some uses in many projects as they are very cheap, have a
built in sd card reader,
bright LED and the 4mb psram could prove useful for storing large amounts of temp data etc? (see the RGB section of the code to
see how it can be used).
created using the Arduino IDE with ESP32 module installed (See https://randomnerdtutorials.com/installing-the-esp32-board-in-arduino-ide-windows-instructions/)
created using the Arduino IDE with ESP32 module installed
(See https://randomnerdtutorials.com/installing-the-esp32-board-in-arduino-ide-windows-instructions/)
No additional libraries required
----------------
@ -44,7 +53,8 @@ It will live stream video from the camera
If you have an sd card inserted then accessing http://x/x/x/x/photo
Will capture an image and save it to the sd card
There is a procedure which demonstarates how to get RGB data from an image which will allow for processing the images as data (http://x.x.x.x/rgb).
There is a procedure which demonstarates how to get RGB data from an image which will allow for processing the images
as data (http://x.x.x.x/rgb).
URLs:
http://x.x.x.x/ Hello message
@ -73,16 +83,21 @@ pin 16 is used for psram but you may get away with using it as input for a butto
Notes
-----
This looks like it may contain useful info. on another way of getting RGB data from the camera: https://eloquentarduino.github.io/2020/01/image-recognition-with-esp32-and-arduino/
This looks like it may contain useful info. on another way of getting RGB data from the camera:
https://eloquentarduino.github.io/2020/01/image-recognition-with-esp32-and-arduino/
These modules require a good power supply. I find it best to put a good sized smoothing capacitor across the supply as the wifi especially can put lots
These modules require a good power supply. I find it best to put a good sized smoothing capacitor across the
upply as the wifi especially can put lots
of spikes on the line.
If you get strange error messages, random reboots, wifi dropping out etc. first thing to do is make sure it is not just a power problem.
If you get strange error messages, random reboots, wifi dropping out etc. first thing to do is make sure it is
not just a power problem.
BTW - You may like to have a look at the security camera sketch I have created as this has lots more going on including FTP, email, OTA updates
BTW - You may like to have a look at the security camera sketch I have created as this has lots more going on
including FTP, email, OTA updates
https://github.com/alanesq/CameraWifiMotion
I have heard reports of these modules getting very warm when in use although I have not experienced this myself, I suspect it may be when streaming video for long periods? May be worth bearing in mind.
I have heard reports of these modules getting very warm when in use although I have not experienced this myself,
I suspect it may be when streaming video for long periods? May be worth bearing in mind.
</pre>