element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum ESP32-CAM Help!
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 5 replies
  • Answers 2 answers
  • Subscribers 390 subscribers
  • Views 3901 views
  • Users 0 members are here
Related

ESP32-CAM Help!

arduino420
arduino420 over 5 years ago

I ordered a 4 pack of ESP32-CAM (https://amzn.to/3355sWO) and I've been trying to load the CameraWebServer example file (only modified WIFI settings, and camera model definition) using the Arduino IDE and I keep getting the fatal error: "Failed to connect to ESP32: Timed out waiting for packet header".

 

 

I've connected my FTDI adapter (https://bit.ly/2qkebHA) using RandomNerd's wiring diagram (https://bit.ly/333Qtwu) and settings (board/partition scheme/port) and tried both 5v and 3.3v with no success - each time is a fatal error... I tried loading with *AND *without connecting IO0 to GND but no luck.

 

 

Is there anyone that can help provide some additional guidance? (I tried all 4 ESP32-CAM modules but received same fatal error for all). I should also mention that I'm able to load firmware into Arduino Pro Mini using the same FTDI adapter so I know that adapter works.image

Attachments:
image
image
  • Sign in to reply
  • Cancel

Top Replies

  • shabaz
    shabaz over 5 years ago +2 suggested
    What is powering the ESP32 board? In your photo (you can insert them in-line like this, makes it much easier to follow): 5873.contentimage_205327.jpg The red wire looks as if it is connected to an pin…
  • ralphjy
    ralphjy over 5 years ago +2 suggested
    I agree with Shabaz that if you have it hooked up as in your picture - that is incorrect. It appears that you can select either 5V or 3.3V output from your FTDI adapter. Based on your selection you should…
  • mp2100
    mp2100 over 5 years ago in reply to arduino420 +2
    Hoo boy, 3 out of 4 bad. I guess that’s why they sell a 4-pack? So you get one that works. 2664.contentimage_402.png
  • Sean_Miller
    0 Sean_Miller over 5 years ago

    Haven't used these.  Will be interested in hearing how they turn out.

     

    Try posting the question to the amazon product page as well.  I've had good luck having another purchaser or the company respond in the past.

    -Sean

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • shabaz
    0 shabaz over 5 years ago

    What is powering the ESP32 board? In your photo (you can insert them in-line like this, makes it much easier to follow):

    5873.contentimage_205327.jpg

    The red wire looks as if it is connected to an pin that is a voltage output on the ESP board, not a voltage input, and I couldn't see any other power wiring to the ESP board.

    There's not a lot of info on the Amazon page, but that pin with the red wire is indicated as P_OUT:

    1663.contentimage_205328.jpg

    Is the USB UART board supplying power on that pin? Or does it expect a voltage level on that pin so that it knows the logic level for the UART?

    I think these things need to be investigated, preferably with a multimeter, and checking whatever web page or documentation you have on the USB UART board too, because it's not possible to know from just the photo : (

    The USB UART page has no information, and a photo where the text is unreadable : (

    3730.contentimage_205329.jpg

    Amazon and Microcenter are maybe not the best places to buy this stuff, if this is the best they can do : (

    I think online stores like Seeed or Adafruit may be better for these types of products (I have not checked), if Farnell/Newark don't stock them.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • ralphjy
    0 ralphjy over 5 years ago

    I agree with Shabaz that if you have it hooked up as in your picture - that is incorrect.  It appears that you can select either 5V or 3.3V output from your FTDI adapter.  Based on your selection you should connect to either the 5V or 3.3V pin of the ESP32cam (the red POW pins at the bottom of the picture).  The RandomNerd tutorial shows a connection to the 3.3V.

     

    I should also mention that I’ve had brownout issues using the FTDI adapter to power the board via the computer USB port.  For development I use a separate 5V supply to power the ESP32cam.  If you do that just remember to connect GND in addition to the TX and RX pins when you connect the UART.  The brownouts only occur when using WiFi or Bluetooth (higher current) and will cause intermittent reboots.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • arduino420
    0 arduino420 over 5 years ago

    Let the games begin! First off, thanks shabaz as you were right, I was powering incorrectly as I assumed VCC meant I could put power IN there. You taught me something. THANKS! Secondly, I learned that the FTDI adapter's 3v3/5v switch doesn't work. No matter what position it was in, there was a constant 5.17V on the 5V output. After connecting up to my external power supply and providing 4.5V to the board, I was able to load into a board and see video. Now, let's make things more complicated regarding my fun troubleshooting. Out of the 4 units from Amazon, 3 of them have issues.... So not only was I on the wrong pin and not providing the correct voltage, 3 units are bad. So, moving forward, Adafruit and Newark will be my goto for parts. Amazon is thrown to the curb! I'm not throwing out Microcenter just yet as they are the only place near me that I can put my hands on products. Thanks again for everyone's support. I'm glad I asked here.

     

    Cheers!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • mp2100
    0 mp2100 over 5 years ago in reply to arduino420

    Hoo boy, 3 out of 4 bad.  I guess that’s why they sell a 4-pack?  So you get one that works.2664.contentimage_402.png

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube