Page 1 of 1

Scematics review required on ESP- Wroom 32

Posted: Sun Jan 03, 2021 8:50 am
by senudajayalath
This is the schematics provided in the official datasheet for ESP Wroom 32. The link to the datasheet is given as https://www.espressif.com/sites/default ... eet_en.pdf
Capture.PNG
Capture.PNG (110.74 KiB) Viewed 3344 times
I have some problem regarding this. Please help me with these problems.

1. I have heard that ESP32 needs to be reset (en pressed and released) and the bootload (GPIo0) pressed and released before a code is uploaded. And also I have heard that GPIO0 should be pulled to high. But neither of the above is satisfied in the above schematics. Am I missing something or is it only valid for ESP32 wrover and not for ESP32 Wroom ?

2. What is the purpose of this ? Is it a mandatory requirement ?
Capture.PNG
Capture.PNG (25.66 KiB) Viewed 3344 times
3. What is the best way to upload code into a ESP32. Will this work ? Is it the best choise
Capture.PNG
Capture.PNG (292.77 KiB) Viewed 3344 times
.
Can I upload code using the Arduino IDE with this. If so how do I do it?

Thanks for the help!!!!

Re: Scematics review required on ESP- Wroom 32

Posted: Mon Jan 04, 2021 1:36 am
by ESP_Sprite
The schematic does have a reset circuit. Look at C3/R1. (The values in the schematic are TBD, but I think the text in the datasheet gives the proper ones.)

JTAG is optional; it can be useful if you want to debug your program using a debugger (in contrast to e.g. putting printf lines in your code).

That USB-to-serial converter will probably work, just make sure you have jumpers or buttons for reset and 'boot option' things in the schematics as you'll need them to put the board into bootloader mode. Alternatively, get an USB-to-serial board that brings out DTR and RTS and build up the two-transistor reset/io0 schematic as seen in e.g. the ESP32-DevkitC schematic (around Q1/D2 there).

Re: Scematics review required on ESP- Wroom 32

Posted: Mon Jan 04, 2021 8:28 am
by senudajayalath
ESP_Sprite wrote:
Mon Jan 04, 2021 1:36 am

Alternatively, get an USB-to-serial board that brings out DTR and RTS and build up the two-transistor reset/io0 schematic as seen in e.g. the ESP32-DevkitC schematic (around Q1/D2 there).
I didnt understand this part . Could you please explain. Sorry for any trouble. And also when uploading code from Arduino IDE through USB to serial TTL converter do you need to do anything extra (Like pressing bootload button before or while uploading)

Re: Scematics review required on ESP- Wroom 32

Posted: Tue Jan 05, 2021 1:20 am
by ESP_Sprite
You can either have a boot and reset button, in which case you need to press those before uploading, or you can have the little transistor circuit I showed, in which case you need an USB-to-serial converter that brings out RTS/DTR but you don't need to press any button when uploading code.