Assembling Arduino Uno with 2 Motor Shields and 1 LCD board

226 views
Skip to first unread message

Sami Tayara

unread,
Jan 16, 2011, 12:38:16 AM1/16/11
to RuggedCircuits, sa...@tayara.net
Last week I purchased Qty 2 of Rugged Motor Driver Shield. I have an
Arduino Uno and want to control 2 Stepper Motors (each motor has 4
wires) so I need your help on how to connect the 1 Arduino to the 2
Shields so Arduino can see them and control them both. Should I stack
the 1st Shield on top of Arduino or stack them both or avoid stacking
all together? There are heat issues if I stack, plus plan to add a
4th component and that is an LCD screen board for Arduino. Since the
shield is using 4 fixed digital pins to control 1 stepper motor, how
can use another 4 Arduino pins to control the second motor? Any and
all help is appreciated, I am a hobbyist and beginner. Thanks.

Rugged Circuits

unread,
Jan 16, 2011, 11:28:18 AM1/16/11
to RuggedCircuits
You can use any other two PWM pins to control the second motor and
connect these PWM pins to connector J3 on the Rugged Motor Driver
shield (pins EN1 and EN2). Then, use any free digital I/O pins to set
the stepper motor direction (pins DIR1 and DIR2). Since the motor
driver already uses PWM pins D3 and D11 you may choose from D5, D6,
D9, and D10 for the two additional PWM pins.

You can then stack one motor driver on the Arduino then stack the LCD
shield on top of that, and keep the second motor driver separate, or
just keep both motor drivers separate (i.e., not stacked) to allow for
better heat dissipation.

This extra wiring can be done using soldering of wires, or you can use
something like our Quick Shield to sit in between the Arduino and the
first board you stack, then just connect wires from that. On the motor
driver, you can solder directly to the EN1/EN2/DIR1/DIR2 pins or get
the 6-pin connector from our motor driver upgrade kit and do it all
without soldering.

Hope that helps.
Reply all
Reply to author
Forward
0 new messages