SERVO HAT FOR RASPBERRY PI - Can it run DC motors and/or ste

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
DanBear
 
Posts: 2
Joined: Sat Feb 14, 2015 10:46 am

SERVO HAT FOR RASPBERRY PI - Can it run DC motors and/or ste

Post by DanBear »

I'm new to this so forgive me if this is explained in the documentation somewhere but can the SERVO HAT FOR RASPBERRY PI (https://www.adafruit.com/products/2327) drive non-servo motors as well?

I'm reluctant to use a HAT because it eats all the GPIOs (and I love me some GPIO) but this would be an all-in-one answer if it could drive all the motors for my project (servos and steppers).

If not, is there a product that could work instead?
Is there a way to utilize a few of the GPIO pins while the HAT is on?

(I need to drive, at most, 2 full range motors and 4 servos.)

User avatar
adafruit_support_mike
 
Posts: 67485
Joined: Thu Feb 11, 2010 2:51 pm

Re: SERVO HAT FOR RASPBERRY PI - Can it run DC motors and/or

Post by adafruit_support_mike »

You don't have to give up GPIO when using a Pi Hat. There's a row of holes just next to the header connections that break out most of the signals.

The PWM controller for the Motor Hat is a PCA9685, the same chip the Arduino shield uses, and it communicates using I2C. You don't even lose those pins since I2C is a shared-bus protocol, you just have to avoid address collisions.

User avatar
DanBear
 
Posts: 2
Joined: Sat Feb 14, 2015 10:46 am

Re: SERVO HAT FOR RASPBERRY PI - Can it run DC motors and/or

Post by DanBear »

Fantastic news! Thanks for the help!

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

Return to “General Project help”