TPL5110 & HT7833 & ESP32-C3-13 MCU combination problem
TPL5110 & HT7833 & ESP32-C3-13 MCU combination problem
Hi,
I am designing a sensor board powered by ESP32-C3-13 MCU. In order to supply 3.3v and 500mA, I used HT7833. And turning on and off circuit by using TPL5110.
The problem that I faced is TPL5110 do not send DRV signal to Q1 transistor and consequentially cannot power up ESP32 MCU. To solve this problem I attached 1000uF capacitor on 3v3 and GND pins over ESP32. Now it is poering up but not stable. And additionally do not keep turned off for a while as configured by R1 resistor.
Please find my circuit diagram attached to the message.
Whant may cause the problem? Anybody can give a suggestion to run circuit stable?
Thank you for your help.
Orkun Gedik
I am designing a sensor board powered by ESP32-C3-13 MCU. In order to supply 3.3v and 500mA, I used HT7833. And turning on and off circuit by using TPL5110.
The problem that I faced is TPL5110 do not send DRV signal to Q1 transistor and consequentially cannot power up ESP32 MCU. To solve this problem I attached 1000uF capacitor on 3v3 and GND pins over ESP32. Now it is poering up but not stable. And additionally do not keep turned off for a while as configured by R1 resistor.
Please find my circuit diagram attached to the message.
Whant may cause the problem? Anybody can give a suggestion to run circuit stable?
Thank you for your help.
Orkun Gedik
- Attachments
-
- ht.jpg (859.15 KiB) Viewed 2536 times
-
- Posts: 1736
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: TPL5110 & HT7833 & ESP32-C3-13 MCU combination problem
The diagram does not make sense.
There is a MOSFET directly connecting 3v3 and GND?
Also note that the TPL5110 is supposed to be used with a P-channel MOSFET in the supply line while your diagram shows an N-channel MOSFET.
There is a MOSFET directly connecting 3v3 and GND?
Also note that the TPL5110 is supposed to be used with a P-channel MOSFET in the supply line while your diagram shows an N-channel MOSFET.
-
- Posts: 9766
- Joined: Thu Nov 26, 2015 4:08 am
Re: TPL5110 & HT7833 & ESP32-C3-13 MCU combination problem
Also note that the ESP32-C3 has a pretty good deep sleep mode, so the extra chip possibly is unnecessary.
Re: TPL5110 & HT7833 & ESP32-C3-13 MCU combination problem
@MicroController: You are exactly correct. This is copy and paste problem from my previous circuit design. It was TPL5111 which use N-channel MOSFET. I attached updated diagram into the message.
@ESP_Sprite: Yes you are correct. But, TPL5110 is consuming ~35 nA whereas ESP32-C3-13 MCU is consuming ~5uA in deep sleep mode if I am correct. Circuit has additional sensors also. To control power on circuit, I need extra chip such TPL5110.
Thank you for your support.
Best regards,
Orkun Gedik
@ESP_Sprite: Yes you are correct. But, TPL5110 is consuming ~35 nA whereas ESP32-C3-13 MCU is consuming ~5uA in deep sleep mode if I am correct. Circuit has additional sensors also. To control power on circuit, I need extra chip such TPL5110.
Thank you for your support.
Best regards,
Orkun Gedik
- Attachments
-
- tpl5110_ht7833_esp32.jpg (833.56 KiB) Viewed 2422 times
-
- Posts: 9766
- Joined: Thu Nov 26, 2015 4:08 am
Re: TPL5110 & HT7833 & ESP32-C3-13 MCU combination problem
You're obviously free to implement this in whichever way you desire, but for your application, I'm not sure the 35nA/5uA difference matters... with a 24K resistor, your ESP32C3 will wake up every minute. At that rate, the discharge rate of your LiIon is majorly dominated by the time the ESP32-C3 is awake; the addition of the TPL5110 will only add a negligable amount of battery life, especially given your HT8833 also has a 4uA quiescent current. (Note you can also turn the external peripherals by switching a PMOS to power them using a GPIO of the ESP32C3, or if they use less than 40mA even power them off one of the GPIOs of the ESP32C3 directly.)
Re: TPL5110 & HT7833 & ESP32-C3-13 MCU combination problem
Hi ESP_Sprite,
You are great! Thank you for your precious suggestions I will make a research regarding your recommendations.
Best regards,
Orkun Gedik
You are great! Thank you for your precious suggestions I will make a research regarding your recommendations.
Best regards,
Orkun Gedik
Re: TPL5110 & HT7833 & ESP32-C3-13 MCU combination problem
Hi ESP_Sprite,ESP_Sprite wrote: ↑Thu Jul 20, 2023 1:55 amYou're obviously free to implement this in whichever way you desire, but for your application, I'm not sure the 35nA/5uA difference matters... with a 24K resistor, your ESP32C3 will wake up every minute. At that rate, the discharge rate of your LiIon is majorly dominated by the time the ESP32-C3 is awake; the addition of the TPL5110 will only add a negligable amount of battery life, especially given your HT8833 also has a 4uA quiescent current. (Note you can also turn the external peripherals by switching a PMOS to power them using a GPIO of the ESP32C3, or if they use less than 40mA even power them off one of the GPIOs of the ESP32C3 directly.)
I made a research and setup a new circuit based on ESP32-C3-13 Kit MCU supplied by HT7833. Please find my readings on multimeter below. I attached multimeter probes between positive output of battery and positive input of circuit while measuring current;
HT7833 consumption without any load: 7.41mA
ESP32-C3-13 in deep sleep mode + HT7833 with ESP32 load: 10.46 mA
R3, R4, R5: 1K resistor
C1: 10uF capacitor
C2: 10uF capacitor
C3: 4.7uF capacitor
C4: 2200 uF capacitor
U1: HT7833
As far as I read on datasheet HT7833 consume 4uA quiescent and ESP13-C3-13 kit MCU 5uA in deep sleep, but the numbers that I measured are so different with addressed values on datasheet. Do I have something wrong? Do you have a suggestion about the values?
By the way I will have an oscilloscope this week and measure the current again.
Best regards,
Orkun Gedik
- Attachments
-
- schema2.jpg (531.88 KiB) Viewed 2178 times
-
- Posts: 1736
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: TPL5110 & HT7833 & ESP32-C3-13 MCU combination problem
R3? R4 and R5 connect 3v3 to GND?
Another note: Disconnecting 3v3 power from the MCU will cause trouble/current if any of the IO pins is still connected to a positive (signal) voltage from another chip/device.
Another note: Disconnecting 3v3 power from the MCU will cause trouble/current if any of the IO pins is still connected to a positive (signal) voltage from another chip/device.
-
- Posts: 9766
- Joined: Thu Nov 26, 2015 4:08 am
Re: TPL5110 & HT7833 & ESP32-C3-13 MCU combination problem
Are you using a DevkitC now? That has a bunch of stuff on it that also uses power; don't use that if you want to get the power usage of only the ESP32C3; use a module or the raw chip instead.
Re: TPL5110 & HT7833 & ESP32-C3-13 MCU combination problem
n
I attached resistor between legs because of CAPS cannot drain its power as fast as enough to the circuit (time constant calculation). If I do not attach resistors, ESP do not really turn off and able to find enough power to continue its process, if I turn off and turn on circuit
by switch (which not present over schema) in a second. Are 1K resistors make a huge difference over current load? I suspect about this because I see huge amount of difference with reference values presented on datasheet and my readings.
If you have another practice to drain caps I would be glad to hear this.
On the other hand; your last note is so precious too. I will take into account this with my analysis also. Thank you
Best regards,
Orkun Gedik
Hi MicroController,MicroController wrote: ↑Sun Jul 30, 2023 12:13 amR3? R4 and R5 connect 3v3 to GND?
Another note: Disconnecting 3v3 power from the MCU will cause trouble/current if any of the IO pins is still connected to a positive (signal) voltage from another chip/device.
I attached resistor between legs because of CAPS cannot drain its power as fast as enough to the circuit (time constant calculation). If I do not attach resistors, ESP do not really turn off and able to find enough power to continue its process, if I turn off and turn on circuit
by switch (which not present over schema) in a second. Are 1K resistors make a huge difference over current load? I suspect about this because I see huge amount of difference with reference values presented on datasheet and my readings.
If you have another practice to drain caps I would be glad to hear this.
On the other hand; your last note is so precious too. I will take into account this with my analysis also. Thank you
Best regards,
Orkun Gedik
Who is online
Users browsing this forum: No registered users and 120 guests