Problems with ESP-WROOM-32 and <WiFi.h> Library
-
- Posts: 6
- Joined: Fri Jan 07, 2022 5:39 pm
Problems with ESP-WROOM-32 and <WiFi.h> Library
I have a problem trying to use standalone ESP-WROOM-32 module with a LiPo battery and using TP4056 module, when I do a upload of a simple test sketch without libraries, my ESP works. But when I try to use WiFi or Bluetooth, the brownout happens. Someone can help me to see what is wrong in my schematic and show me what I have to do?
- Attachments
-
- Problem.png (77.81 KiB) Viewed 11274 times
-
- Posts: 9746
- Joined: Thu Nov 26, 2015 4:08 am
Re: Problems with ESP-WROOM-32 and <WiFi.h> Library
HT7B33 is not a chip Google recognizes. Are you sure it can deliver >=500mA to the ESP32? Maybe also add some decoupling caps on the line between U1 and U2?
-
- Posts: 6
- Joined: Fri Jan 07, 2022 5:39 pm
Re: Problems with ESP-WROOM-32 and <WiFi.h> Library
The resolution of printscreen has transformed the 8 in a letter B, the chip is a HT7833 and this LDO haves 500mA to deliver to esp32. But i will follow your tip.
- Attachments
-
- problem.pdf
- (53.43 KiB) Downloaded 253 times
-
- Posts: 9746
- Joined: Thu Nov 26, 2015 4:08 am
Re: Problems with ESP-WROOM-32 and <WiFi.h> Library
Could you also show your PCB design, by the way? Possibly something can be glanced from that.
-
- Posts: 6
- Joined: Fri Jan 07, 2022 5:39 pm
Re: Problems with ESP-WROOM-32 and <WiFi.h> Library
I put my PCB and the 3D model too. But I don't make my pcb yet, I'm using my protoboard to test my project.
- Attachments
-
- ProblemPCB.png (39.77 KiB) Viewed 11198 times
-
- Problem3D.jpg (29.62 KiB) Viewed 11198 times
-
- Posts: 9746
- Joined: Thu Nov 26, 2015 4:08 am
Re: Problems with ESP-WROOM-32 and <WiFi.h> Library
Could be that the protoboard is the issue... those things are known to be somewhat shitty, and it's easy to get cheap Dupont wires that are thin as a hair inside.
-
- Posts: 6
- Joined: Fri Jan 07, 2022 5:39 pm
Re: Problems with ESP-WROOM-32 and <WiFi.h> Library
I will try to swap the LDO HT7833 for other LDO and if doesn't work I will make a PCB to eliminate the problems of protoboard.
-
- Posts: 9746
- Joined: Thu Nov 26, 2015 4:08 am
Re: Problems with ESP-WROOM-32 and <WiFi.h> Library
Your PCB design is... interesting. I'd turn the ESP32 around so the antenna is near (or sticks over) the edge of the PCB, that way you don't have groundplanes getting 'in the way' of a signal. You also have no way to program the ESP32; I'd add a header with at least Tx, Rx, GPIO0, EN and GND on it so you can add an external programmer and also debug the board that way. Also, I didn't spot the 220uF cap on your 3.3V line; with that, you may have issues that the ESP32 is taken out of reset while the power hasn't completely come up yet (will look like the ESP32 does not start up after you applied power). If that happens, you may want to increase C3 to 10uF or maybe even more.
Ah, just spotted your board does not even have a ground plane. Suggest you add that. (In Kicad, remove all traces that carry ground, create a zone on the back of the board, select 'GND' as the net, and make a square covering the entire PCB.) Also, I'd fatten up the traces carrying power a bit; you have the space for it anyway.
Ah, just spotted your board does not even have a ground plane. Suggest you add that. (In Kicad, remove all traces that carry ground, create a zone on the back of the board, select 'GND' as the net, and make a square covering the entire PCB.) Also, I'd fatten up the traces carrying power a bit; you have the space for it anyway.
-
- Posts: 6
- Joined: Fri Jan 07, 2022 5:39 pm
Re: Problems with ESP-WROOM-32 and <WiFi.h> Library
I know that my PCB design is bad, but I'm doing a proof of concept for this moment.Your PCB design is... interesting.
Yes, it is the correct thing to do.I'd turn the ESP32 around so the antenna is near (or sticks over) the edge of the PCB, that way you don't have groundplanes getting 'in the way' of a signal. You also have no way to program the ESP32;
I'm using a ESP32 burning board while I test in my protoboard (I don't use the energy provided of burning, only the USB programmer of the board), but, now I put 1 pin header with 3 pin when I want to use a usb tool for debug.I'd add a header with at least Tx, Rx, GPIO0, EN and GND on it so you can add an external programmer and also debug the board that way.
*The ESP32 burning: https://pt.aliexpress.com/item/32964740240.html
In my tests using my protoboard, my ESP doesn't work without electrolytic capacitor. However the capacitor seems connected on my PCB project.Also, I didn't spot the 220uF cap on your 3.3V line;
I didn't it because I'm not going to make in a manufacturer yet.Ah, just spotted your board does not even have a ground plane. Suggest you add that. (In Kicad, remove all traces that carry ground, create a zone on the back of the board, select 'GND' as the net, and make a square covering the entire PCB.)
But I believe that the HT7833 doesn't provide the enough quantity of current for the WiFi operation and I will test a new LDO.
- Attachments
-
- pcb_esp_wroom_32_test.pdf
- (33.57 KiB) Downloaded 398 times
Who is online
Users browsing this forum: kaxx1975 and 68 guests