0

Motor Shield V2 + 2.8" Capacitive touch screen
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Motor Shield V2 + 2.8" Capacitive touch screen

by AshmanE on Sun May 22, 2022 2:43 pm

I'm looking to do both motor control as well as use the 2.8" capacitive touch screen to allow for user input as to how to move the motors.

I've added stacking headers to the Motor Shield V2, but the screen doesn't seem to be working when stacked to the motor shield.

Is this not possible, or am I missing something?

Any help would be appreciated.

AshmanE
 
Posts: 4
Joined: Sat Feb 27, 2021 10:35 am

Re: Motor Shield V2 + 2.8" Capacitive touch screen

by adafruit_support_bill on Mon May 23, 2022 7:22 am

What functions of the screen are not working? Drawing? Capacitive Touch?

If you post some photos showing all of your soldering and connections we can try to spot the problem.

adafruit_support_bill
 
Posts: 84024
Joined: Sat Feb 07, 2009 10:11 am

Re: Motor Shield V2 + 2.8" Capacitive touch screen

by AshmanE on Mon May 23, 2022 8:14 am

The backlight function on the screen is working, so I know it's getting power. However, it doesn't draw anything.

If I remove the V2 motor shield and put the screen directly onto the arduino mega, it draws fine.

I haven't gotten around to trying the touchscreen portion yet.

The soldering was just pass-through headers on the edges of the motor shield, and I did double-check to make sure that none of the pins were shorted, but I am happy to post a pic if you think that will help.

AshmanE
 
Posts: 4
Joined: Sat Feb 27, 2021 10:35 am

Re: Motor Shield V2 + 2.8" Capacitive touch screen

by tepalia02 on Mon May 23, 2022 9:02 am

Are you using only one power supply for the mega, motor shield and touchscreen?

tepalia02
 
Posts: 100
Joined: Sun Apr 24, 2022 6:53 am

Re: Motor Shield V2 + 2.8" Capacitive touch screen

by adafruit_support_bill on Mon May 23, 2022 4:00 pm

The display uses SPI for communication. Depending on what kind of Arduino processor you are using, you may need to install the 2x3 pin ICSP stacking headers on the motor shield to pass those signals.

adafruit_support_bill
 
Posts: 84024
Joined: Sat Feb 07, 2009 10:11 am

Re: Motor Shield V2 + 2.8" Capacitive touch screen

by AshmanE on Mon May 23, 2022 11:21 pm

The 3x2 header is probably the issue then. I've ordered a stacking header and we'll see if that fixes the problem.

Thank you very much for the informative responses, everyone!

AshmanE
 
Posts: 4
Joined: Sat Feb 27, 2021 10:35 am

Re: Motor Shield V2 + 2.8" Capacitive touch screen

by AshmanE on Wed May 25, 2022 10:19 pm

The 3x2 header was it. Thank you for the quick and accurate troubleshooting there.

I likely would have made it there eventually, but you saved me a ton of time fumbling around with it.

Many thanks!

AshmanE
 
Posts: 4
Joined: Sat Feb 27, 2021 10:35 am

Re: Motor Shield V2 + 2.8" Capacitive touch screen

by adafruit_support_bill on Thu May 26, 2022 6:25 am

Good to hear that solved it. Thanks for the follow-up.

adafruit_support_bill
 
Posts: 84024
Joined: Sat Feb 07, 2009 10:11 am

Please be positive and constructive with your questions and comments.