• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Problem compiling example for ESP32-CAM

Q&A Forum › Category: ESP32 › Problem compiling example for ESP32-CAM
0 Vote Up Vote Down
John Hayhow asked 3 years ago

I am getting a compile error:

"python"executable file not found in $path

Any suggestions

14 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi John.
See if this suggestion can solve your issue: https://github.com/duff2013/ulptool/issues/20#issuecomment-457488465
Regards,
Sara

0 Vote Up Vote Down
John Hayhow answered 3 years ago

The suggestion is for IDE on Windows and I have Linux Ubuntu.
Any further suggestions?

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi John.
I usually don’t use Linux. So, I’m not sure what exactly is causing the issue.
Maybe this discussion has some suggestions that can help: https://www.esp32.com/viewtopic.php?t=7616
Regards,
Sara

0 Vote Up Vote Down
John Hayhow answered 3 years ago

Sketch is compiling ok now,but I have an uploading error.
Failed to connect to ESP32: Timed out waiting for packet header.
Any ideas?

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi John,
That usually means that the ESP32-CAM is not in flashing mode.
To solve that issue, please read this article, bullet 1: https://randomnerdtutorials.com/esp32-cam-troubleshooting-guide/
Then, tell me if you still need help.
Regards,
Sara

0 Vote Up Vote Down
John Hayhow answered 3 years ago

Hi Sara,
Connections checked as specified.
Tried alternate CH340G adaptor and ESP32CAM. Same result.
Tried connecting CH340 TX to ESP23CAM UOT and RX to UOR
Uploading worked after several attempts.
Serial monitor now gives this message:
“rst:0x1 (POWERON RESET),boot:0x3(DOWNLOAD_BOOT/UART0/UART1/SDIO_RE1_RE0_V2))
waiting for download”
What is happening?
Regards,
John

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi.
Do you have GPIO 0 connected to GND? Did you press the BOOT button when you start seeing the dots?
Also, the connections are TX to U0R and RX to U0T.
Regards,
Sara

0 Vote Up Vote Down
John Hayhow answered 3 years ago

Hi Sara,
GPIO0 and GND are connected.
TX to UOR and RX to UOT does not work with CH340.
TX to UOT and RX to UOR does work with CH340.
Progam does load and running serial monitor gives the message previously quoted.
This is not as expected.
What is happening?
Regards,
John.

0 Vote Up Vote Down
John Hayhow answered 3 years ago

I have screenshots of the upload. How do I send them to you?

0 Vote Up Vote Down
John Hayhow answered 3 years ago

I have sent them as an attachment to a reply to your latest Answer email

0 Vote Up Vote Down
John Hayhow answered 3 years ago

Hi Sara,
Making progress but not arrived yet. I had forgotten to remove the GND connection from IO0 after uploading code.Camera now attempts to connect to internet but does not succeed. I used the SSID and password values written on the router. Is this correct? Are there any other settings I should change in the computer?
Please note the RX and TX outputs on the CH340G are transposed. I believe other users have found this device does not work. Perhaps this was the reason.
Sorry for any confusion.
Regards,
John.

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi John.

If you wan to share an image, you can share a link to imgur, google drive or dropbox, for example.

I didn’t know the connections of the CH340G were like that. Thanks for letting me know.

To connect your camera to your home network, you need to insert the SSID and password of your router. These are usually written on the router. These are the same credentials you use to connect your computer to the internet or your smartphone.

Double-check the ssid and password. You don’t need to change any settings. And make sure you are relatively close to your router.

Regards,
Sara

0 Vote Up Vote Down
John Hayhow answered 3 years ago

Hi Sara,
Camera board has been loading and setting up but not connecting to the internet (continuous row of dots).
I changed the camera board and was successful in connecting to the internet.
I am now able to view the camera page with the adjustments and see still and streaming pictures.
I can now continue with the ESP32CAM course.
Thanks for your help.
Regards,
John.

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Great!
I’m glad it is working now.
I’ll mark this issue as resolved. If you need further help, you just need to open a new question in our forum.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] SMART HOME with RPi, ESP32, and ESP8266 (version 1.2) March 8, 2023
  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2023 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.