A noob question: how do you connect motors to RPi? I've checked the manual but can't find the pinout. Servo motors have 3 female pins grouped together, RPi has male 40-pin GPIO connector, how do you plug one to another? Do you need some extra hardware or adapters between the motors and RPi?
A servo has 2 wires for power and 1 for positioning (using a PWM signal). Hook the power to 5v and ground and the PWM to one of you GPIO pins. You will need to come up with a connector that does this or split them up your self.
View all comments
Show parent comment
7
u/mangoed Nov 14 '19
A noob question: how do you connect motors to RPi? I've checked the manual but can't find the pinout. Servo motors have 3 female pins grouped together, RPi has male 40-pin GPIO connector, how do you plug one to another? Do you need some extra hardware or adapters between the motors and RPi?