Sunday 29 May 2016

Powering multiple devices from a single power supply


I am learning electronics on my own and have been having a lot of fun. I am currently working on creating a Nerf sentry gun for fun with my son. I am at a point there where I need to power multiple devices and am not sure about the best way to go about it. I want to power a Raspberry Pi (RPi), two servos and a 12V relay that controls an air solenoid (12V). I bought a battery pack that supplies 12V and max of 3000 mA current. I am confused though on how to efficiently convert the power to each of the devices using the single battery pack.



I originally purchased a breadboard power connector that would convert 12V to to 5V on each of the rails. The problem I ran into was the breadboard power connector will max out at 700 mA and I cooked the first one when I hooked up my RPi.


Link to breadboard connector.


I also purchased some 5 volt regulators that seem to be most common but I run into the issue of wasting the excess voltage to heat. This also leaves me with the problem of how to split the voltage between two rails.


I guess my question is how can I take the 12V input from a battery pack and split it into 2x5V outputs to power each side of my bread board. My idea is that I want to power the two servos on one side and my RPi on the second from a single 12V input. I can create my own second battery pack to power the 12V relay outputs to control the air solenoid.


Sorry if my verbiage is not correct but I am trying trial by fire.


Extra links for the stuff I am trying to power in case I am completely off base:




Answer



Search for "DC-DC converter" look for "12V to 5V".


The popular 'selling websites' should have something which will step down 12V to 5V efficiently.



They sometimes say 'switch mode'.


Avoid 'linear' which is the parts you have been using, Linear voltage regulators will need to convert the power of the 7V voltage drop, and 700mA for the R-Pi to heat, which is about 5W. A waste of energy and battery charge.


It may be much better to use two DC-DC converters, one for the R-Pi, and one for the servos.


Some servos (which look like the ones you link to) take a huge stall current, and might dip the R-Pi voltage enough to make it erratic. The R-Pi should be okay with 1A


No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...