Schematic Design For esp32
-
@ZeeZa The JP1 UART jumper doesn't serve as the power connect. It is meant for extending the UART pins so that you can access them. JTAG is responsible for uploading the code and I understand that you are not ready to compromise over the size of PCB. So, I suggest you use CP2102 USB to UART converter where you can just connect your mini USB cable and upload the code. This is even easier, but if you see the ESP32 development module, it is just the same board where ESP32 SoC is fit which can be accessed with a USB to UART converter.
You can use these
for extending the JTAG pins. These are a little small and can reduce the width of the PCB. Please let us know in case of queries. You ca easily find the footprints of these connectors in your PCB designing softwares.
-
am sorry if i am asking some basic question i still cant get my head wrap around the JTAG pins, let say i have the JTAG in my pcb how will i use the pin to program the device from my Laptop(IDE) or is the Jtag used the same way we use the ESP-01 which we connect to Arduino UNO rx and tx pin before we can upload the code on it?
-
@ZeeZa JTAG Programmer for ESP32
You can programme your board using the JTAG pins on your PCB by connecting them to the JTAG pins of the programmer board.
-
@ZeeZa Have you figured out a way how to programme your ESP32 using UART pins?? If not Well, I did found out a way. please this link ESP32 UART UPLOAD
May be this might help you out..!! Please try out and let me know your output.
-
@kowshik1729
i tried the link you gave and i don't have most of the components they used especially the ESP32-S so i tried improvising, i used the arduino and DOIT ESP32 DEVKIT V1, i can't upload to my DOIT board cause the USB port got damaged so i tried connect to arduino the same way they connect to the FDTI in the circuit, i didnt border about the buttons cause it is already on the DOIT board.
After all the connections, when i tried uploading i was not able to connect to the DOIT board i got "
A fatal error occurred: Failed to connect to ESP32: Invalid head of packet (0x0A)"
I tried holding the boot button down also but got the same error. -
@kowshik1729
I'm still on the pcb design, can you check link text and give a feedback(the pcb wring) and also do i have to worry about unest pins and final question do the usb to uart ic consume power when i connect the device to a battery power? still not decided over uart and jtag yet..
Thanks.. -
@ZeeZa For your question over USB-UART power consumption thing, ofcourse the power will be consumed by every IC on your board, but power will be utilized by that board only when you use it. If you are not uploading the code then USB to UART will not consume much power. So, don't you worry about it.! I will get back to you with remaining answers.
-
thanks for the answers @kowshik1729 but before you answer the remaining question i have some few more,
in this schematic 3.3K(1%)(NC) and 10uF/25V(10%)(NC) i assume that they do not need to be connected, Is that correct? -
@ZeeZa In the circuit diagram shown by you, if you closely analyze any voltage regulation circuit, it can be known that we need 2 capacitors for sure in order to make the voltage regulator operate properly. I'll tell u why should we use them,
-
Capacitors are devices that can store charge(You obviously know it right...!!!), So by using this property of capacitors (aka caps) small valued capacitors of order 1-100uF are used for reducing voltage transients. Voltage transients mean, when high amounts of voltage is flodedd to an input, there will be sudden spikes in the flow of current. This will damage the device. So, by putting capacitors at the input and output creates a virtual low-resistance path which makes sloww drop in the voltage(Like an decaying exponential).
-
So, how what values of caps you must place now? At the input you must put higher capacitance value relative to the output side.
For normal uses for LM7805 regulator at
Input - 10uF capacitor
Output - 0.1uF capacitor
Typically these values must be fine.
Coming to the resistor, I guess it is used as current limiting resistor. You can put just 2 capacitors at input and output and rest of the components can be ignored. But, in minimum config schematics they give those capacitors for stable power supply so if you want it you can put those components. Else you can abstain from populating them. If any queries please revert back.!
-
-
Thanks for your kind explanations, but in that circuit it already have an input EXT_5V capacitor C1 which is 10uF and a output of 22uF at c3 before going to power VDD33, my question here is the R25 resistor and R24(what does 0R even mean) and C23 capacitor are they really needed in the circuit? i mean if like you said every ic on a pcb board take little bit of power so why populate it with unnecessary resistors and capacitors. and also how can i simulate this link text circuit, i am still looking for simulation mode on easyeda for the past 2 days... still looking...
Thanks...