Custom ESP32 board, unreliable boot

thomasn
Posts: 1
Joined: Fri Mar 19, 2021 12:37 pm

Custom ESP32 board, unreliable boot

Postby thomasn » Fri Mar 19, 2021 12:57 pm

Hi guys,

I am designing a board (..and learning as I go) based on ESP Wroom-32, which also contains a Sim800l module, a Max7219 driven LED display, Max485-based TTL to RS485 logic, and connectors to the outside world (two Serials, one used for programming and one for communication to another device) and to an energy meter.

My problem is that my ESP32 seemingly often doesn't boot when I power up. I cannot find any solid ways to reproduce, but it seems to worsen when I attach anything to my connectors (even if these aren't powered up).

I have attached my schematic and BOM. Is there anything I am missing, that needs to be added in order to make the ESP more reliable?

Any tips would be greatly appreciated!
Attachments
nofos_OpenEVSE_Gateway__Schematic_v1.pdf
(89.07 KiB) Downloaded 457 times

felmue
Posts: 70
Joined: Mon Nov 16, 2020 2:55 pm

Re: Custom ESP32 board, unreliable boot

Postby felmue » Sat Mar 20, 2021 12:15 am

Hello @thomasn

I was wondering if the 3.3 V regulator (which seems to be rated at 300 mA) is enough to power everything?

Also, have you considered a reset circuit instead of simply tying EN to VCC all the time?

Thanks
Felix

becorey
Posts: 92
Joined: Sat Mar 28, 2020 4:18 pm

Re: Custom ESP32 board, unreliable boot

Postby becorey » Sat Mar 20, 2021 6:19 am

Missing bypass caps near the esp32, place 1uF and 100nF.
4V LDO MIC29302WU rated for 3A, should be more than enough.
LN1134 LDO 5V to VCC 3.3V, rated 300mA is insufficient, esp32 recommends 500mA and higher is a safe bet go for something rated 600-1000mA.
R16 is 470 Ohm from 4V to GND, seems like a waste of power there.
Need R 1K and C 1uF on esp32 EN, don't just tie directly to VCC.

Please read through the esp32 datasheet and hardware guidelines for lots of helpful information

Who is online

Users browsing this forum: nguyennamdsn and 40 guests