Source code and tutorial: How to upload a photo taken in esp32cam-micropython to google Drive Folder
I've searched in many repos a solution to upload a image using the ESP32-cam running micropython. To implent this solution we need to install an esp32cam firmware, which is NOT PRESENT in official micropython repository. I recommend the firmwares in shariltumin esp32cam micropython repo. Unfortunately, I could not build my own firmware so far. The working solution is based in Guillermo Sampallo esp32cam tutorial and arduino code.
- Install ESP32-cam firmware from @shariltumin esp32cam micropython repo (Use esptool);
- Use Adafruit Ampy to send
.py
files to ESP32; - Upload
uploadImageToFolder.gs
to you Google Drive folder; - Change Folder ID and Wi-Fi configuration in
uploadImageToFolder.gs
andgoogleDriveTest.py
files;