Pages: [1]   Go Down
Author Topic: Trying to use the Color LCD with the Motor Shield (both sparkfun)  (Read 400 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 74
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 203
Posts: 8722
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Offline Offline
Jr. Member
**
Karma: 0
Posts: 74
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Pages: [1]   Go Up
Jump to: