forked from CoderBotOrg/backend
-
Notifications
You must be signed in to change notification settings - Fork 1
Wiring
Stephen Withers edited this page Aug 3, 2015
·
3 revisions
The servos should be run from 6V, and the pi should be run from a separate 5V supply. For coderbot we are using a USB powerbank for the pi and 4 AA betteries for the servos.
For wiring, firstly the ground must be connected from the AAs to the pi ground (e.g pin 6 or any other ground pin).
The left servo data should be connected to GPIO pin 25 (pin 22)
The right servo should be connected to GPIO pin 4 (pin 7)
The arm servo should be connected to GPIO pin 9 (pin 21)
The LEDs plug into GPIO pins 21 ,20 and 16 into R ,G and B. The ground goes into pin 34