PCB design external power supply ESP32 tracktor

TiakDK
Posts: 2
Joined: Mon Jun 08, 2020 7:29 am

PCB design external power supply ESP32 tracktor

Postby TiakDK » Mon Jun 08, 2020 7:45 am

Hi
I'm developing a PCB with the ESP32-DEVKITC-32D with Can Bus, two GPS, ADS1115 for wheel position and MMA8452.
My challenge is the power supply on the PCB. The PCB will be installed in an old tractor, normally the power supply is 12V. But it can go down to 7V and op to 17v with short spikes.
I have used the AMS1117-3.3_C165482 and AMS1117-5.0_C165483 but im not sure that is the best way to go. I better like to use a R-78C5.0-1.0 but im not sure about the LDO to 3V3 and about the 5V supply to the ADS1115
I hope someone can guide me on that one.

PS I'm a programmer, not an electronics so circuit design isn't an area I'm familiar with.
Attachments
Udklip.PNG
Udklip.PNG (43.93 KiB) Viewed 5937 times

ESP_Sprite
Posts: 8999
Joined: Thu Nov 26, 2015 4:08 am

Re: PCB design external power supply ESP32 tracktor

Postby ESP_Sprite » Mon Jun 08, 2020 1:25 pm

That sounds like you are having a fair amount of potential peak power... are you sure those LDOs can supply that, and additionally, if they can cope with the heat they generate burning up the voltage difference? I'd personally prefer to have a buck converter of sorts to get the battery power down to 5V, then perhaps use a LDO to generate the 3.3V from that; that or 2 separate buck converters.

TiakDK
Posts: 2
Joined: Mon Jun 08, 2020 7:29 am

Re: PCB design external power supply ESP32 tracktor

Postby TiakDK » Mon Jun 08, 2020 2:07 pm

ESP_Sprite wrote:
Mon Jun 08, 2020 1:25 pm
That sounds like you are having a fair amount of potential peak power... are you sure those LDOs can supply that, and additionally, if they can cope with the heat they generate burning up the voltage difference? I'd personally prefer to have a buck converter of sorts to get the battery power down to 5V, then perhaps use a LDO to generate the 3.3V from that; that or 2 separate buck converters.
I changed the design to this now. But still i would love to go for a buck converter i just not sure how and what to select. i'm really nervous about to get a stable supply for the ADC and the ESP32.
Attachments
Udklip.PNG
Udklip.PNG (42.87 KiB) Viewed 5892 times

ESP_Sprite
Posts: 8999
Joined: Thu Nov 26, 2015 4:08 am

Re: PCB design external power supply ESP32 tracktor

Postby ESP_Sprite » Mon Jun 08, 2020 2:53 pm

Not sure if I would go that way with LDOs... issue is that your 7805 now dissipates the load from both the 5V line as well as the 3.3V line.

Wrt buck converters: I can't really advise you on any designs there, but there are buck converter modules that work pretty well, some even in the same form factor as a 7805. If you put a 3.3V LDO behind that, that should already remove some of the potential noise a buck like that could put out; you can add chokes, ferrites and decoupling in the scenario you have problems afterwards. Or solve it in software: if the signals you need to ADC are slow enough, you can just take a thousand samples and average them; if the time period you do this over is comfortably longer than the period of any noise, you cancel it out. (Oversampling like that is a good idea anyway if you use the internal ESP32 ADCs; they're a bit noisy.)

Beowulff
Posts: 17
Joined: Fri Mar 01, 2019 2:59 am

Re: PCB design external power supply ESP32 tracktor

Postby Beowulff » Mon Jun 08, 2020 8:39 pm

Why do you have the rectifier in series with the capacitor on the output of the regulator?

macdaddymays
Posts: 2
Joined: Tue Jun 09, 2020 5:49 pm

Re: PCB design external power supply ESP32 tracktor

Postby macdaddymays » Tue Jun 09, 2020 6:47 pm

D1 and D2 should be removed and shorted out. Leaving those diodes will likely cause instability in the output of the linear regulators.

franzhoepfinger
Posts: 18
Joined: Wed Mar 04, 2020 7:14 pm

Re: PCB design external power supply ESP32 tracktor

Postby franzhoepfinger » Fri Jun 12, 2020 10:53 am

Anmerkung 2020-06-12 125219.png
Anmerkung 2020-06-12 125219.png (8.32 KiB) Viewed 5747 times
a Linear Reg works at 12V and if the PCB is large enough to cool.
this is a Automotive one from Infineon.

for 24V this is not recommended.
for Traktor it is 12V, so no issue.

Thanks,
Franz

Who is online

Users browsing this forum: No registered users and 47 guests