Raspberry Pi Motor HAT

Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Locked
User avatar
Idk827378292
 
Posts: 2
Joined: Wed Feb 01, 2023 11:31 am

Raspberry Pi Motor HAT

Post by Idk827378292 »

If I use the stacking headers for the motor hat, could I control servos separately using them?

User avatar
adafruit_support_carter
 
Posts: 29056
Joined: Tue Nov 29, 2016 2:45 pm

Re: Raspberry Pi Motor HAT

Post by adafruit_support_carter »

Do you mean via the Pi's GPIO pins and not via the HAT?

You can use the schematics here to determine what GPIO pins are used by the HAT:
https://learn.adafruit.com/adafruit-dc- ... /downloads

User avatar
Idk827378292
 
Posts: 2
Joined: Wed Feb 01, 2023 11:31 am

Re: Raspberry Pi Motor HAT

Post by Idk827378292 »

Yes, I am talking about the pi's gpio pins and if I can still use them if I use the extra tall headers.

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

Re: Raspberry Pi Motor HAT

Post by adafruit_support_bill »

Using stacking headers, all the pins are accessible on the header. In any case, most of the pins are also available via the labeled breakout holes that run parallel to the header.

The HAT itself is an i2c bus device and only uses SDA and SCL. These pins can be shared with other i2c devices.

User avatar
adafruit_support_carter
 
Posts: 29056
Joined: Tue Nov 29, 2016 2:45 pm

Re: Raspberry Pi Motor HAT

Post by adafruit_support_carter »

OK, sure, in general you could do that. Just use the above docs to make sure not to interfere with pins being used by the Motor HAT itself.

Also note there is a separate row of header pads on the Motor HAT that also breaks out GPIO pins:
hat.jpg
hat.jpg (75.27 KiB) Viewed 46 times

Locked
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

Return to “Adafruit Raspberry Pi® accessories”