11
\$\begingroup\$

I am very new to electronics. I am learning as I go, and I haven't quite found the answers I need; when it comes to programming, I'm not afraid of mistakes as they happen constantly. With electronics, though, I don't want to have to buy parts again because I fried them!

I am trying to build something that has three different components in it: a 12-volt 4.3-inch LCD screen, a 5-volt Raspberry Pi, and a 12-volt custom device. I've had the idea that I can split the power I need three ways from a 12-volt power supply: one directly to the LCD screen, another directly to the custom device, and one to a 5-volt regulator, thereafter splicing into a USB cable to plug into the Pi. As I've been researching, I've noticed that people say that capacitors in the circuit before and after the regulator are mandatory to keep the current from oscillating.

Question 1: Is this three-way split with the regulator a sound idea, or am I missing something? I understand there is the potential to need a heatsink on the regulator. That's not an issue for me if necessary.

Question 2: Does my circuit require the said capacitors? If so, what kind/quality would be best? I know little about capacitors thus far. Also, I came across this component while reading another question/answer here; maybe this would be better than a regular regulator?

Question 3: Someone who is not extremely proficient in electronics but definitely better than me said that it might just be easier to use one of those 12-volt car USB charger devices instead of a regulator, which makes sense-- USB is a 5-volt world by nature, and I don't have to worry about splicing a USB cable for the Pi; wiring up the car adapter would be easy. And I have plenty of room to allow for a car adapter; the box I'm putting all of this in will be relatively empty for how large it is. Is this a sound idea? Perhaps better/easier/safer for the Pi than using either of the beforelinked regulators and capacitors spliced to a USB cable?

As for amperage, I'm still researching just how much draw the custom device and the LCD screen will need to make sure there is enough current. That's not going to be a big issue, unless there is something I am overlooking about a regulator requiring a substantial amount of amperage more than it gives out... but I don't think that will be an issue. I'm planning to get a PSU with a good amount more amperage than my setup theoretically requires-- just in case.

\$\endgroup\$

2 Answers 2

9
\$\begingroup\$

1: Yes, you can do that. Essentially, that's how power supplies work. They can handle multiple parallel networks within their current capacity. As for the heatsink, that depends on the regulator, the current draw, the ambient temperature, how efficient it is, etc. It's not a simple yes or no.

2: The capacitors depend on the regulator as well. Some require them all the time, some only require them depending on the input or output conditions, some never require them. The NTE1960 you linked to does not have an extensive datasheet, but is pretty similar to the LM7805. The capacitors are pretty much required for stable use. But these are linear regulators. Not efficient and they convert wasted energy into heat. Going from 12v to 5v, at say 700mA which is the high end for the RPI, that means 12 - 5 = 7v * 700mA = 4.9 Watts of energy being converted into heat. A heatsink would be required.

A Switching regulator is more efficient, in terms of both energy and heat. The OKI-78SR component you chose is a Switching Regulator. It shows that it would not need a heatsink in that same situation (Not in the engine compartment though, that's a different story). It is also a complete module, including the capacitors and the resistors it needs. It would be better.

3: A Car USB regulator would work just fine for your case, as long as the draw on it is under it's maximum. Some are 500mA, some are 1A, or better or in between, but some can't actually supply the amount of current it says it should, so you would need to test. The Model B has a 700mA draw/limit, the Model A is 500mA. Most of these usb regulators are switching supplies, and for your purposes, a car usb adaptor would be exactly like the OKI-78SR. At 4 bucks for the OKI-78SR (plus shipping) compared to a few bucks for a car USB adaptor, it really just depends on which you can get easier. Even retail, you can get a decent car one at any convenience or auto store for 10 bucks.

You could even gut the car USB adaptor for the board inside. Those things are so small now they are smaller than a car cigarette lighter, with the case, and the size of an SD card without the case.

\$\endgroup\$
2
  • \$\begingroup\$ Thank you for your detailed answer. This helps me feel a lot better about what I'm doing! I may go the car adapter route. Seems slightly easier, and just about as cheap. \$\endgroup\$
    – weildish
    Commented May 29, 2013 at 23:16
  • \$\begingroup\$ On the other hand, Pis are known to draw 700mA normally, and if some adapters don't actually give as much current as they advertise... well, the 1.5 amp OKI-78SR would be safer. We'll see. I'll do some more research on different models. Thank you again. \$\endgroup\$
    – weildish
    Commented May 29, 2013 at 23:23
2
\$\begingroup\$

1) What you are planning to do is sound, and is commonly used in many projects with multiple devices needing different voltages. Depending on the power you may or may not need a heat-sink. A linear voltage regulator (e.g 78xx series) will dissipate input voltage - output voltage × current drawn. If your load draws 1Amp at 5V, power dissipated = (12-5)×1 = 7W. 7W is being wasted here as heat and you will need a heatsink.

2) The capacitors will reduce the ripple in the voltage, unless you are sure your input is really good it is advisable to have these capacitors. Ceramic capacitors should work fine.

The component you came across is called a switch mode power supply (SMPS). We calculated 7W losses with a linear regulator. You are losing 58% of your input power as heat! SMPS have a much higher efficiency. They generally cost more too. Considering you are running a RPi which can draw about 1A depending on peripherals, you are better off with a SMPS.

3) Check the power rating of the car USB supply to ensure it can supply the required power.

\$\endgroup\$
1
  • \$\begingroup\$ Thank you for your answers. These both help quite a bit. \$\endgroup\$
    – weildish
    Commented May 29, 2013 at 23:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.