PCB Design for ESP32 Stand alone module
-
@salmanfaris In the figure 3 : ESP32-WROOM-32 Schematics, should I surely use all the capacitors for VDD pins? Are there any redundant connections like these? I want to reduce these unnecessary connections to keep my board size all low as possible. Please suggest how I can optimize the connections?
-
@salmanfaris I've got a doubt. Is there a way to program ESP32 without having USB adapter on the board? Something like how we do for ATMega328p. If there is a way like that please let me know..!! Thanks in advance..!
-
Hi @kowshik1729,
Yes, you can. we can programme the esp32 is different methods, and I suggest to use UART like we are using ESP8266, for that you need an FTDI or UART to Serial converter.
also make you that before uploading the programme, you need to switch to programme mode, if you share the exact esp32 model, I'll check the modes .
-
@salmanfaris I've been looking to use ESP32-PICO D2 for my design. Please let me know the ways to programme it. I am insisting more on avoiding the UART connection because it again needs USB TO UART converter IC like CP2102 etc.. so please let me know if any other ways are there.
-
Hi @kowshik1729b ,
You can use JTAG also, but for the simplicity I recommend to use FTDI, you just need to populate the UART pins no need to attach the converter if you are not programming frequently .
-
@Sharon-Sebastian Thanks for the reply. But as I am still in the prototyping stage there is obviously a great need for me to program my MCU frequently to validate it's working.
-
@salmanfaris
i tried uploading a code to the Esp32 by connecting to arduino with the connection below
Arduino Tx to ESP32 Tx0Arduino Rx to ESP32 Rx0
Arduino 3v3 to ESP32 3v3
Gnd to Gnd
And connecting Arduino Reset Pin to ground....
I could read the esp32 from the serial monitor but the code is not getting uploaded to the board(esp32).. I am trying this method so that if it works i wont have to add Jtag or USBtoUART on my pcb..
Thanks.. -
@kowshik1729 Hey did you eventually get the PCB design for this finalized?
-
@mgfuller333 No not yet, but there seems a quite nice progress in the design. I'm still researching on the antenna interfacing part.
-
Hi All, i m also facing the same error. we are developing an iot device based on esp32d0wdq6 controller. we have designed a board. Now the program is not getting uploaded. the connections are
TTL Converter 3.3v - vcc (ESP32)
TTL Converter gnd - gnd (ESP32)
TTL Converter TXD - RXD (ESP32)
TTL Converter RXD - TXD (ESP32)
GND - GPIO 0 (ESP32)
3.3V - EN (ESP32).
Connecting......................................____An error occurred while uploading the sketch
_
this is error message i m getting.A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
FYI, we are using the W25Q40CL flash ic. please help me to sort out this issue.
Thanks in Advance !