Integrating the camera driver into MicroPython.
Programming the esp32-cam processor
The esp32-cam does not come with a serial USB interface as many other ESP32 processor boards do. This makes programming the device quite a bit more tricky.
Having a look at the pin-out we see that GPIO 1 and 3 are connected to UoTXD and U0RXD respectively.
These will be the programming pins connected to USB to serial converter.
Here are the connections:
ESP32-cam |
|
Power 5V left side of esp32-cam |
external power supply 5V |
GND left side of esp32-cam |
external power supply GND |
GND top right of esp32-cam |
USB to serial GND |
U0TXD |
USB to serial RX |
U0RXD |
USB to serial TX |
GPIO0 |
connect to GND when flashing |
GND |
|
In order to understand how to program the device the circuit diagram will be very helpful.
https://iotworkshop.africa/pub/AFNOG/DriverIntegrationIntoNopMicroPython/ESP32_CAM_V1.6.pdf
--
Uli Raich - 2020-01-25
Comments