Regulated power on Arduino shield

Hello,

I am designing an Arduino shield that requires both 12V power (for relay coils) and 5V power (for the rest of the circuit), each at about 500 mA. For ease of use, I'd like to power everything from a single 12V power supply.

My original thought was to plug in the 12V supply, pull off of the Arduino's Vin pin for the 12V power, and pull off of the regulated 5V line for the rest. However, this of course won't work because the Arduino's linear regulator would have to dissipate 3.5W to supply the required 5V power.

I now plan to put a DC jack on the shield, and supply 5V power with a more efficient switching voltage regulator: http://www.dimensionengineering.com/DE-SW050.htm

However, I'm not sure how to power the Arduino. I can think of two options:

  1. Connect my regulator's 5V line to the 5V pin on the Arduino. The problem I see is if my board is not connected to power, and I plug the Arduino into USB (or accidentally plug a 12V supply into the Arduino rather than my shield), my board will pull 5V from the Arduino and potentially overload the USB circuit or fry the voltage regulator. I could put a diode on the 5V line to ensure that current only flows from my 5V line to the Arduino, and not the other way around, but the forward voltage drop means that the Arduino would get substantially less than 5V.

  2. Connect my board's 12V line to Vin on the Arduino. My regulator would supply 5V to my shield, and the Arduino's regulator would supply 5V to the Arduino. However, I've read that it's tricky to balance the load between multiple regulators working in parallel. I'm not sure if that exactly applies here -- once the boards are powered, their only interaction would be through the Arduino's digital I/O pins. However, I didn't understand the implications well enough to feel comfortable with that design.

Any thoughts on how to solve the problem in #1, or whether #2 would be safe/reliable? Or are there any other approaches for supplying the two voltages to the two boards at the required current?

Thanks, Kevin

Regarding #2, use a diode. It will isolate the regulators. However, won't the Arduino's regulator still be dissipating a large amount of power?

Hi folks,

Thanks very much for your replies.

Richard: Good to hear that it shouldn't be a problem. I wasn't sure if having the Arduino's DIO lines interacting with circuits powered by another regulator (things like an XBee radio and a PS/2 mouse) would cause subtle/problematic interactions.

CMiYC: Would the diode be used to prevent the Arduino's Vin from flowing back to the input of the shield regulator, or are you talking about something else?

You're right that the Arduino regulator would still dissipate a fair amount of power, but it seems to be within the specs of the regulator (about 35C above ambient, if I calculate correctly). Powering just the Arduino on a 12V supply at room temperature, the regulator gets warm, but not hot. That's one reason why I was hoping to use the switched regulator to power the Arduino instead, but that introduces the problem I mentioned in my first post.

Suppose I used 3 diodes in series on Vin to get a 0.7 * 3 = 2.1V drop before the power hits the Arduino's regulator, that would offset some of that dissipation to the diodes. Still not efficient, but might be an acceptable tradeoff? Or I could install a heatsink, but I'm afraid I haven't had experience with this.

Thanks, Kevin