Page 1 of 1
Voltage regulator needs for multiple sensors
Posted: Thu May 14, 2009 11:52 am
by part by part
Hi All,
I own an Arduino and LOVE IT. Currently run three 5V sensors each 750mW working just fine in a cordless device. Am about to add many more, perhaps up to 20. I have tested 16-channel multiplexors for the task and all is well. Will soon buy 1 or more RBBB kits because one Arduino just isn't enough fun! My concern regards power supply and the RBBB (or any Arduino) voltage regulator.
With TEN sensors each 5V @ 750mW is a 5V 1amp regulator adequate? Perhaps not. Do I calculate the need like this?
needed regulator = 10 sensors * 0.75amp = 7.5amp + a little more for insurance = an 8amp 5V regulator
The above doesn't include the fact that it is a 5V regulator (versus 12V or other). I know I should power this with 7..12V to satisfy the voltage regulator's needs to generate 5V, and that I'm probably leaving the 2.5watt capability of a USB connection. Controlling heat may be fun. I've read elsewhere of using two LM7805s in parallel rather than one LM1084.
Appreciate anyone's explanation about calculating voltage regulator needs for a heavy current draw like this. Thanks a million. By the way - I am VERY impressed with ModernDevice customer support!!!
Re: Voltage regulator needs for multiple sensors
Posted: Fri May 15, 2009 10:17 am
by oz
Hey, thanks for the kind words part by part,
With TEN sensors each 5V @ 750mW is a 5V 1amp regulator adequate? Perhaps not. Do I calculate the need like this?
needed regulator = 10 sensors * 0.75amp = 7.5amp + a little more for insurance = an 8amp 5V regulator
You seem to be mixing up watts and amps here. It's a bit hard to help you without making some assumptions so pardon me if I'm wrong. It may have just been a typo on your part.
If the datasheet of your sensor says 750mW and it runs at 5 volts, the current draw is .75 / 5 = .15 amps. So your total current draw looks like
10 x .15 = 1.5 A which is still a bit of current. My suggestion would be to buy a 5 volt, 2A switching supply wall/desk transformer from digikey or jameco, with a 2.1mm plug. Then you can just plug in all the sensors without running the supply line through the voltage regulator. (you'll need to run a wire from the utility holes near the power jack to the sensors - or the breadboard supply rail.)
The little 300 mA LDO regulator that comes stock on the RBBB will be fine with the 5 volts, it will knock off 15 mV or so and you'll end up with around 4.85 volts to run the RBBB.
What is the sensor you're using? 150 mA is still a lot of current for most sensors, so you may be reading the datasheet wrong. It may only be a
peak
current and you can easily do with a one amp supply and perhaps a large capacitor (1000 ufd or more) across the supply lines, to supply high current spikes. You still wouldn't want to run the sensor power supplies through the stock RBBB regulator, but a 7805 would be fine though, or the LM2940 we're stocking (and a 6V supply) - to keep things cool.
Do the sensors have heaters in them?
Paul
Re: Voltage regulator needs for multiple sensors
Posted: Sat May 16, 2009 2:20 am
by part by part
Paul your guess is correct - these are gas sensors with internal heaters, like SparkFun's Alcohol Gas Sensor MQ-3, requiring 750mW in normal usage. The earlier watt/amp confusion is caused by my not knowing what I'm doing - but 750mW is the correct non-peak power consumption due to it's heater.
Thanks for the 750mW / 5V = 150mA explanation, I wasn't clear until seeing your explanation, and now it's obvious.
Is the following correct? If I run sensors off of the VIN pin on the Arduino, or holes near the power jack of RBBB, that avoids the voltage regulator. If I run through the power supply jack (without using VIN) then that does go through the voltage regulator? I will need a 3A regulator for 20 sensors times .15A (750mW@5V) - no safety margin required. Can I expect no other trouble with BBB / RBBB if I get the regulator (and maybe it's heat sink) correct?
Do you have thoughts to share about running voltage regulators in parallel, if necessary, versus a single regulator?
Thank you again for all of your help. It is so very much appreciated.
Bob (part by part)
Re: Voltage regulator needs for multiple sensors
Posted: Sat May 16, 2009 8:31 am
by oz
Is the following correct? If I run sensors off of the VIN pin on the Arduino, or holes near the power jack of RBBB, that avoids the voltage regulator.
That is correct - the pcb traces are in the datasheet/instructions and you can follow the schematic through from that
If I run through the power supply jack (without using VIN) then that does go through the voltage regulator?
Both will go through the regulator to the RBBB - my suggestion is to tap your power off before the regulator, using the holes near the power jack.
I will need a 3A regulator for 20 sensors times .15A (750mW@5V) - no safety margin required. Can I expect no other trouble with BBB / RBBB if I get the regulator (and maybe it's heat sink) correct?
That would be my expectation. Like I said, I'd just go with a 5V supply and no fuss with other regulators. At 3 amps, I'd put a fuse in the power line I think. You're getting up toward the power range where the power supply will quickly toast pcb's, sensors, if hooked up in reverse for example.
There are lots of way that you could lay this out or wire it on a Vector board for example, I trust you'll figure it out.
Paul
Re: Voltage regulator needs for multiple sensors
Posted: Sat May 16, 2009 11:17 am
by part by part
Thank you for most valued assistance. My order for your standard RBB, P4 and a spare 328 chip is on it's way!
I am happy to recommend your products and kind service to anyone/everyone I can. Thanks again.
- Bob