motor shield / trellis keypad interference

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
jmsturre
 
Posts: 13
Joined: Wed Jan 28, 2015 4:04 pm

motor shield / trellis keypad interference

Post by jmsturre »

Hello,

I'm attempting to use motor shield 1438 and the trellis keypad together. The keypad works fine, but the stepper motors (I'm using 2) won't run correctly. I've narrowed it down to the point that if I remove this function: trellis.writeDisplay(); - the motors run correctly, but then the keypad doesn't work. I tried adjusting the trellis library, but that didn't make it any better - mostly because I don't know what I'm doing.
If anyone can help me, that would be great. I'm using the libraries available here for download, and don't know enough about them really fix the problem.

Here is my code, if it helps:
http://BANNED.com/embed_iframe.php?i=SDchrWsN

Thank you.

User avatar
adafruit_support_bill
 
Posts: 88097
Joined: Sat Feb 07, 2009 10:11 am

Re: motor shield / trellis keypad interference

Post by adafruit_support_bill »

The Trellis board uses address 0x70 by default. This is the same as the All-Call address for the shield. You can re-addres the Trellis to avoid the conflict.
https://learn.adafruit.com/adafruit-tre ... addressing

User avatar
jmsturre
 
Posts: 13
Joined: Wed Jan 28, 2015 4:04 pm

Re: motor shield / trellis keypad interference

Post by jmsturre »

That worked! Thank you! I'd tried changing the address of the trellis, but I hadn't actually changed the physical jumpers, only the code.

On a related note, I adjusted the physical jumpers to change the address to 75 (A2 and A0), but the trellis won't work unless I call it 76 in the code. Is it possible the documentation is wrong?

Again, thank you. I've been stuck on this for at least a month.

User avatar
adafruit_support_bill
 
Posts: 88097
Joined: Sat Feb 07, 2009 10:11 am

Re: motor shield / trellis keypad interference

Post by adafruit_support_bill »

Haven't heard of any issues with the addressing. I'll check into it...

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino Shields from Adafruit”