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/
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/
- Idk827378292
- Posts: 2
- Joined: Wed Feb 01, 2023 11:31 am
Raspberry Pi Motor HAT
If I use the stacking headers for the motor hat, could I control servos separately using them?
- adafruit_support_carter
- Posts: 29457
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Raspberry Pi Motor HAT
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
You can use the schematics here to determine what GPIO pins are used by the HAT:
https://learn.adafruit.com/adafruit-dc- ... /downloads
- Idk827378292
- Posts: 2
- Joined: Wed Feb 01, 2023 11:31 am
Re: Raspberry Pi Motor HAT
Yes, I am talking about the pi's gpio pins and if I can still use them if I use the extra tall headers.
- adafruit_support_bill
- Posts: 88136
- Joined: Sat Feb 07, 2009 10:11 am
Re: Raspberry Pi Motor HAT
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.
The HAT itself is an i2c bus device and only uses SDA and SCL. These pins can be shared with other i2c devices.
- adafruit_support_carter
- Posts: 29457
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Raspberry Pi Motor HAT
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:
Also note there is a separate row of header pads on the Motor HAT that also breaks out GPIO pins:
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/
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/