Okay, good that you posted that schematic because if you built this, poor Q1 would have died almost immediately.
- Q1 is a BJT, and those need their base current limited. You want a series resistor of 10K or something between Vbus and the base of the transistor.
- Q1 as you have it in circuit right now will short BAT+ directly to ground. Did you intend to have a pull-up from BAT+ to EN instead of a short? If so, you forgot that again an 10K resistor will do.
PCB check, and ideas
Re: PCB check, and ideas
Yeah ahhaha poor Q1 .
I'm really sorry, I wanted to add the resistor but was quite late here and I forgot . I think 1k should be fine to reduce current from the battery, and 10k for the VBUS.ESP_Sprite wrote: ↑Tue Feb 07, 2023 12:23 amOkay, good that you posted that schematic because if you built this, poor Q1 would have died almost immediately.
- Q1 is a BJT, and those need their base current limited. You want a series resistor of 10K or something between Vbus and the base of the transistor.
- Q1 as you have it in circuit right now will short BAT+ directly to ground. Did you intend to have a pull-up from BAT+ to EN instead of a short? If so, you forgot that again an 10K resistor will do.
Updatated schematic:
- Attachments
-
- sheet_labeled_with_npn_with_resistor_I_forgot.png (30.34 KiB) Viewed 2588 times
-
- Posts: 9769
- Joined: Thu Nov 26, 2015 4:08 am
Re: PCB check, and ideas
That should work fine
Re: PCB check, and ideas
So final schamatic will be this. No problems, right?
Thank you for your time.
- Attachments
-
- sheet_labeled.png (126.4 KiB) Viewed 2504 times
-
- Posts: 9769
- Joined: Thu Nov 26, 2015 4:08 am
Re: PCB check, and ideas
I don't see anything obviously wrong there. I'd advise you to also check against the design guidelines one last time before you let the board fabbed as a last sanity check, but otherwise this seems good to go to me.
Re: PCB check, and ideas
By the way, I was reading about the GPIO9 from:
https://docs.espressif.com/projects/esp ... ction.html
and
https://www.espressif.com/sites/default ... eet_en.pdf
And from what I understand, GPIO9 is not really really needed to upload code. It is needed only for the esptool configuration, and for a reset of the board (but without deleting the program).
In which cases is really needed? I see a lot of board the has the button to short the GPIO9 to GND, but I never used it.
https://docs.espressif.com/projects/esp ... ction.html
and
https://www.espressif.com/sites/default ... eet_en.pdf
And from what I understand, GPIO9 is not really really needed to upload code. It is needed only for the esptool configuration, and for a reset of the board (but without deleting the program).
In which cases is really needed? I see a lot of board the has the button to short the GPIO9 to GND, but I never used it.
-
- Posts: 9769
- Joined: Thu Nov 26, 2015 4:08 am
Re: PCB check, and ideas
It's used to force the ESP32C3 into download mode. Normally if you use the USB-serial-JTAG converter, you don't need it, as you can put the device into download mode using that. But there are ways to make the USB-serial-JTAG converter not work by accident (e.g. reconfiguring one of the GPIOs it uses), and in that case you need a way to ground GPIO9 to get back to bootloader mode. Could be a button, could be a testpad or something, could be a solder joint of a resistor, whatever makes you comfortable.
Who is online
Users browsing this forum: No registered users and 82 guests