Micropython auf einen ESP32 installieren
Diese Binäre Datei ist eine Version für ein ESP32-CAM und enthält auch das camera Modul
pip3 install esptool
esptool.py --port /dev/tty.usbserial erase_flash
esptool.py --chip esp32 --port /dev/tty.usbserial --baud 460800 write_flash -z 0x1000 micropython_cmake_9fef1c0bd_esp32_idf4.x_ble_camera.bin
import camera
camera.init(0)
picture = camera.capture()
picfile = open("picture.jpeg", "wb")
picfile.write(picture)
picfile.close()