Go Down

Topic: Trying to use the Color LCD with the Motor Shield (both sparkfun) (Read 725 times) previous topic - next topic


I am trying to use the Color LCD Shield and the Motor Shield together the problem of course is that the LCD needs the SPI lines and the Motor Shield uses those pins as well.

here is what the LCD Shield uses: D13,D11,D9,and D8

here is what the Motor Shield uses: digital line 12 (direction A) and digital line 3 (PWM A), digital line 13 (direction B) and digital line 11 (PWM B).

so the LCD shield shares D13 and D11 with the motor shield I would like to use these together but so far I have been unsuccessful at rewiring the Motor Shield through the female headers. if anyone has had to use shield like these in the past together and could point me in the right direction it would be greatly appreciated.

Things I have tried:

I tried to connect the Arduino's pins D7-D4 to the pins on the motor shield D13,D12,D11,D3 with no success.
I tried connecting a motor directly to the motor shield (the motor shield was on top of the Arduino) no success.
I tried other methods but I still can not get these shields to work together

any rewiring tips would be great thanks.


I'd cut the traces on the Motor Shield going to 10, 11, 12 or 13 and re-wire them to other pins, like 5 or 6 for PWM and 7 or 8 for Direction.

The Motor Shield description shows the data pin connections as:
D3 -> PWM A
D11 -> PWM B
D12 -> DIR A
D13 -> DIR B

The schematic (http://www.sparkfun.com/datasheets/Robotics/Ardumoto_v12.pdf) shows the four pins as being adjacent:
D8 -> No Connection
D9 -> No Connection
D10 -> PWM A
D11 -> PWM B
D12 -> DIR A
D13 -> DIR B
Gnd -> Ground
Aref -> No Connection

In either case it's a great way to guarantee that the motor shield is not compatible with anything that uses SPI such as your LCD shield or the Ethernet shield.
Send Bitcoin tips to: 1G2qoGwMRXx8az71DVP1E81jShxtbSh5Hp


Made my own motor shield (well kinda) check it in the hardware section of this forum.

Go Up