Maker Pro
Maker Pro

Is it possible to use LM2596 buck converter to a 24V dc battery and connect it to a 12Vdc/220Vac inverter to supply raspberry pi 4B?

kurisu

Mar 14, 2023
2
Joined
Mar 14, 2023
Messages
2
We are supposed to use an inverter that can allow 24V dc as the input voltage since our source is 24V (two 12-V batteries connected in series, hence, 24V source) to be used as a supply for our raspberry pi 4B (but the source should be an ac to make it work, that's why an inverter is needed). Our group mistakenly bought a 12Vdc/220Vac inverter. We have a dc-dc step down buck converter (LM2596) and we are not sure if it can step down the 24V from the battery to maybe at maximum 12V or less which will flow through the 12Vdc/220Vac inverter that can make our raspberry pi 4B work.
 

Harald Kapp

Moderator
Moderator
Nov 17, 2011
13,476
Joined
Nov 17, 2011
Messages
13,476
I don't fully understand: What's the use of the inverter? You can step down the 24 V from the batteries directly to 5 V using the LM2596.
Of course you can also step down 24 V -> 12 V, then use the inverter to step up DC 12 V -> AC 220 V and then AC 220 V -> DC 5 V, but that is terribly inefficient. You may also run into issues with peak current requirements of the LM2596 and the inverter.

There's no way to instruct you from afar without knowing many more details of the step-down module and the inverter. Give it a try.
 

kurisu

Mar 14, 2023
2
Joined
Mar 14, 2023
Messages
2
I don't fully understand: What's the use of the inverter? You can step down the 24 V from the batteries directly to 5 V using the LM2596.
Of course you can also step down 24 V -> 12 V, then use the inverter to step up DC 12 V -> AC 220 V and then AC 220 V -> DC 5 V, but that is terribly inefficient. You may also run into issues with peak current requirements of the LM2596 and the inverter.

There's no way to instruct you from afar without knowing many more details of the step-down module and the inverter. Give it a try.
We need an inverter since our raspberry pi requires an AC source but the one that supplies our whole circuitry is 24V battery which is DC. The purpose of the buck converter is to make the voltage input compatible to the required voltage input of the inverter (because, like what I said, we mistakenly bought an inverter that can only allow 12V from a dc but our battery is 24V).

24V (DC) battery --> buck converter --> 12V (DC) --> 12Vdc/220Vac inverter --> 220V (AC) --> Raspberry pi 4B

Also, your suggestion of stepping down the 24Vdc to 5Vdc for raspi, we have already tried that and our buck converter blew up.

Btw, still thanks for the reply :)
 
Last edited:

Harald Kapp

Moderator
Moderator
Nov 17, 2011
13,476
Joined
Nov 17, 2011
Messages
13,476
our raspberry pi requires an AC source
Since when does a Raspberry Pi run on AC?
The Raspberry power supply, while on Ac on the primary side, outputs 5.1 V (max. 3 A) Dc on the secondary side. That's what the Raspberry Pi is powered from.

Also, your suggestion of stepping down the 24Vdc to 5Vdc for raspi, we have already tried that and our buck converter blew up.
Then you made an error. Wrong connections, or the converter is not rated for the current the Raspberry requires.
 

kellys_eye

Jun 25, 2010
6,229
Joined
Jun 25, 2010
Messages
6,229
The LM2596 MAXIMUM output is 3A - too narrow a margin to be used for a Raspi.

Simplest and easiest method would be to purchase a buck converter (ready-made) to deliver 5V at 5A and use the 24V source to power it.
 

hamidch

Oct 17, 2023
4
Joined
Oct 17, 2023
Messages
4
Yes, it is possible to use an LM2596 buck converter to step down the 24V from the battery to 12V, which can then be used to power a 12Vdc/220Vac inverter. The LM2596 buck converter has a maximum output current of 3A, which is enough to power a Raspberry Pi 4B.
 
Last edited:

Maglatron

Jul 12, 2023
678
Joined
Jul 12, 2023
Messages
678
you could try a voltage divider for the 24v dc and make it so that it puts out 5v dc for the rasberry pi, with only resistors. the 220v from the wall will have lowered it to 5v anyway because it's an adapter
 
Last edited:

Martaine2005

May 12, 2015
4,783
Joined
May 12, 2015
Messages
4,783
you could try a voltage divider for the 24v dc and make it so that it puts out 5v dc for the rasberry pi, with only resistors. the 220v from the wall will have lowered it to 5v anyway because it's an adapter
A voltage divider won’t give anywhere near enough current.

Martin
 

Maglatron

Jul 12, 2023
678
Joined
Jul 12, 2023
Messages
678
oh

I've never worked with buck converters I'm looking them up!

oh I see an LRC circuit decrease the voltage increase the current

buck converters are cool!
 
Top