I connected a ESP32Cam module to the serial port of my Bittle. First I flashed a BIOS, which includes Micropython and the CAM drive on the ESP32 cam module.
The ESP32Cam module is connected to my PC using a FTDI module to send the commands through VSCode to my Bittle through the ESP32Cam module (this connection is required for flashing the BIOS anyway).
Finally, I connected the Bittle with the ESP32Cam module:
I powered the Bittle through another cable, which delivers the 5V for the board.
Now, it's time to send commands to the Bittle:
from machine import UART uart = UART(1, baudrate=115200, bits=8, parity=None, stop=1, tx=12, rx=14, rts=-1, cts=-1, txbuf=256, rxbuf=256, timeout=5, timeout_char=2) uart.init() # uart.write("krest".encode()) uart.write("ksit".encode()) # uart.write("kbalance".encode())
The next step is to deploy a simple web server, power the ESP32CAM module from the nyboard and position the camera to get usable images.........