Forum >Arduino Power Question
Arduino Power Question

I have stacked up three boards.
1) Arduino Duemilanove
2) 2A Motor Shield
3) I/O Expansion Shield
I need to power all three, from either battery pack, or wall wart supply, maybe USB cable (reprogramming).
I think the best approach is:
1) Attach either battery or wall wart to DIN power connection of Duemilanove
2) Allow VIN of Duemilanove travel to VIN of 2A Motor Shield and VIN of Expansion Board
3) Position 2A Motor Shield jumpers for VIN instead of PWRIN
4) Add a manual jumper wire on I/O Expansion Shield from VIN to VCC
Notes:
1) I cannot find a schematic for the 2A Motor Shield. I'm assuming that the VIN jumper is the same VIN as found on the power input of the Duemilanove.
2) I don't see an easy means to connect VIN and VCC on Expansion Shield without a wire jumper. I would like to avoid having a separate power connection for VCC on the Expansion Shield.
3) When I attach USB for reprogramming, I don't need any motor power to either shield.
Is there a better method for power connection with this stack?
Thanks,
Jim
1) Arduino Duemilanove
2) 2A Motor Shield
3) I/O Expansion Shield
I need to power all three, from either battery pack, or wall wart supply, maybe USB cable (reprogramming).
I think the best approach is:
1) Attach either battery or wall wart to DIN power connection of Duemilanove
2) Allow VIN of Duemilanove travel to VIN of 2A Motor Shield and VIN of Expansion Board
3) Position 2A Motor Shield jumpers for VIN instead of PWRIN
4) Add a manual jumper wire on I/O Expansion Shield from VIN to VCC
Notes:
1) I cannot find a schematic for the 2A Motor Shield. I'm assuming that the VIN jumper is the same VIN as found on the power input of the Duemilanove.
2) I don't see an easy means to connect VIN and VCC on Expansion Shield without a wire jumper. I would like to avoid having a separate power connection for VCC on the Expansion Shield.
3) When I attach USB for reprogramming, I don't need any motor power to either shield.
Is there a better method for power connection with this stack?
Thanks,
Jim
2011-12-21 00:08:25 Valimdj,
Could you please give me some more details about your setup?
How are you providing power?
It sounds like you have a bunch of things connected (Sorry, I don't understand your setup). which microcontroller are you using?
Could you please send me a picture of the IO Shield and the pins you cut off.
Also, I recommend you try to get the sensor to work by it's self then add the rest. So just use the sensor with the microcontroller, then add the IO Shield, and anything else you have.
Hector
Could you please give me some more details about your setup?
How are you providing power?
It sounds like you have a bunch of things connected (Sorry, I don't understand your setup). which microcontroller are you using?
Could you please send me a picture of the IO Shield and the pins you cut off.
Also, I recommend you try to get the sensor to work by it's self then add the rest. So just use the sensor with the microcontroller, then add the IO Shield, and anything else you have.

2011-12-20 18:06:19 I have a PING))) ULTRASONIC sensor attached to IO Expansion shield
it does not print the distance it only shows up
0in, 0cm
the code is from here : [url=http://www.arduino.cc/en/Tutorial/Ping]http://www.arduino.cc/en/Tutorial/Ping[/url]
is it from the power supply?
it works only with the 2A driver shield ontop of DF mega adk and the PNG attached to pins... :Z
Do you suggest separate VCC for each shield? 6V for Arduino, 6V for 2A shield and 5V for IO? does IO expansion shield has jumpers like the 2A driver shield to switch the power supply?
BTW I cut out the pins from IO that where touching the 2Adriver VCC from the first day I got them
VALIMDJ
it does not print the distance it only shows up
0in, 0cm
the code is from here : [url=http://www.arduino.cc/en/Tutorial/Ping]http://www.arduino.cc/en/Tutorial/Ping[/url]
is it from the power supply?
it works only with the 2A driver shield ontop of DF mega adk and the PNG attached to pins... :Z
Do you suggest separate VCC for each shield? 6V for Arduino, 6V for 2A shield and 5V for IO? does IO expansion shield has jumpers like the 2A driver shield to switch the power supply?
BTW I cut out the pins from IO that where touching the 2Adriver VCC from the first day I got them

2011-08-12 19:10:54 Hi Jim,
If you are only going to hookup servos to that section you can supply 6V from batteries, if you will be hooking up other sensors you should definitely use some sort of voltage regulator to supply only 5V.
There is a couple of options:
Build your own:http://robots.freehostia.com/Circuits/PowerSupplies/PowerSupplies.html
purchase one: http://www.sparkfun.com/products/8290
Each has its pros/cons...
Hector
Hector
If you are only going to hookup servos to that section you can supply 6V from batteries, if you will be hooking up other sensors you should definitely use some sort of voltage regulator to supply only 5V.
There is a couple of options:
Build your own:http://robots.freehostia.com/Circuits/PowerSupplies/PowerSupplies.html
purchase one: http://www.sparkfun.com/products/8290
Each has its pros/cons...
Hector

2011-08-12 08:08:00 Hector,
I have one more followup question in regards to I/O Expansion Shield Power.
It appears that most servo devices have an operating voltage range of 4.8-6V. This is a rather limited range for use of attaching a battery to the J17 VCC connector for servo power. There is no regulator on the I/O Expansion Shield.
What do you recommend for battery power to I/O Expansion Shield J17 VCC connector?
Thanks,
Jim
jduda
I have one more followup question in regards to I/O Expansion Shield Power.
It appears that most servo devices have an operating voltage range of 4.8-6V. This is a rather limited range for use of attaching a battery to the J17 VCC connector for servo power. There is no regulator on the I/O Expansion Shield.
What do you recommend for battery power to I/O Expansion Shield J17 VCC connector?
Thanks,
Jim

2011-08-09 19:31:17 Hi Jim,
I have asked around, and I think the best option for you is to supply power to the expansion shield instead. If you are using only 1 servo it should be ok. But if you want to add more you should supply more voltage to the servo pwr screw terminals.
Also, the reason it "might" be working with your setup now is that sometimes the screw terminals from the expansion shield touch the screw terminals from the motor shield, while this works it is not stable, and probably not safe. you might need to use something to isolate the two and jumper some cable between the two.
We will post the schematic to the Wiki soon. For now here is a direct link to it:
[url=https://www.dfrobot.com/image/data/dri0009/Arduino%20L298%20Shield%20Sch.pdf]Schematic[/url]
Hector
I have asked around, and I think the best option for you is to supply power to the expansion shield instead. If you are using only 1 servo it should be ok. But if you want to add more you should supply more voltage to the servo pwr screw terminals.
Also, the reason it "might" be working with your setup now is that sometimes the screw terminals from the expansion shield touch the screw terminals from the motor shield, while this works it is not stable, and probably not safe. you might need to use something to isolate the two and jumper some cable between the two.
We will post the schematic to the Wiki soon. For now here is a direct link to it:
[url=https://www.dfrobot.com/image/data/dri0009/Arduino%20L298%20Shield%20Sch.pdf]Schematic[/url]

2011-08-09 12:21:49 I have found that if I attach my 7.5 volt battery pack or 12V wall wart to the 2A motor shield power input, I can operate my motors, arduino, and servos on I/O expansion shield.
Since I don't have the schematic for the 2A motor shield, I'm not quite sure how this works. Can we get a schematic posted for the 2A motor shield?
I figured out that the I/O expansion shield has a diode from +5V to VCC, which explains why the servos work without power on the VIN connector. The servo is getting power from +5V, which I realize is not good.
My I/O expansion will have 1 Servo, 1 Ping Sensor, 2 Wheel Decoders, Microphone Input.
If I limit myself to only 1 Servo on the I/O expansion shield, do you think it's okay to draw from the 5V arduino regulator?
jduda
Since I don't have the schematic for the 2A motor shield, I'm not quite sure how this works. Can we get a schematic posted for the 2A motor shield?
I figured out that the I/O expansion shield has a diode from +5V to VCC, which explains why the servos work without power on the VIN connector. The servo is getting power from +5V, which I realize is not good.
My I/O expansion will have 1 Servo, 1 Ping Sensor, 2 Wheel Decoders, Microphone Input.
If I limit myself to only 1 Servo on the I/O expansion shield, do you think it's okay to draw from the 5V arduino regulator?

2011-08-08 20:39:13 Hi Jim,
I would recommend powering the motor shield and expansion shield with one battery and the Arduino with another. This will allow you to safely supply enough power to your motors and whatever else you are connecting to the expansion shield.
Remember the arduino has a max voltage of 12V, and a min operating voltage of 5V. If you go below 5V you risk having the arduino reset itself.
If you run power from the Arduino and supply power to the other shields be careful how much power you supply.
What are you connecting to the expansion shield??
Hector
I would recommend powering the motor shield and expansion shield with one battery and the Arduino with another. This will allow you to safely supply enough power to your motors and whatever else you are connecting to the expansion shield.
Remember the arduino has a max voltage of 12V, and a min operating voltage of 5V. If you go below 5V you risk having the arduino reset itself.
If you run power from the Arduino and supply power to the other shields be careful how much power you supply.
What are you connecting to the expansion shield??
