Notifications
Clear all

Can't upload code to ESP32-Cam

18 Posts
5 Users
7 Likes
638 Views
bttorres
(@bttorres)
Active Member
Joined: 4 months ago
Posts: 7
Topic starter  

@zander Same exact code seen in the ESP32-CAM Robot Car article:

https://dronebotworkshop.com/esp32cam-robot-car/

esp32cam-robot.ino and app-httpd.cp

This post was modified 4 months ago by bttorres

   
ReplyQuote
Ron
 Ron
(@zander)
Famed Member
Joined: 2 years ago
Posts: 3462
 

@bttorres That sketch used to work, but the library it is based on was broken. If you use the board manager and search esp32, then use the deop down to select ver 1.0.6 it might work, it depends on the state of your python environment. If it fails, try the following 

open /Applications/Arduino.app <insert full path of the ino file here>

OR if you are win or *nix based, just temporarily modify your path to point to whatever the name of the file is being complained about resides. In my case it's looking for python. 

OR create an alias from current ver of python called python.

"Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA
"Never wrestle with a pig....the pig loves it and you end up covered in mud..." anon


   
ReplyQuote
Ron
 Ron
(@zander)
Famed Member
Joined: 2 years ago
Posts: 3462
 

@bttorres I get a different error. The error is a python glitch on my MAC. This sketch needs an older version and I don't have it and don't want to take the time to mess with it anymore.

As far as I know 2.0.4 is not easily fixed, the development team left it broken and have moved on, I can normally get a 1.0.6 version to work with the open command but you are using different code and I can't explain why you get different errors than me.

Good luck, if you find a fix let us all know.

"Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA
"Never wrestle with a pig....the pig loves it and you end up covered in mud..." anon


   
bttorres reacted
ReplyQuote
Page 2 / 2