Replies: 1 comment
-
Added test module to support this: full commit here |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As an alternative to using an arduino with custom PCB, I'd like to support using the PCA9685 servo control board via I2C. This is a simple enough process as shown below.
Wiring
https://learn.adafruit.com/adafruit-16-channel-servo-driver-with-raspberry-pi/hooking-it-up
Pi 3V3 to breakout VCC
Pi GND to breakout GND
Pi SCL to breakout SCL
Pi SDA to breakout SDA
Servo orange wire to breakout PWM on channel 0
Servo red wire to breakout V+ on channel 0
Servo brown wire to breakout Gnd on channel 0
Code and dependencies
The new
i2c
module includes dependencies used on the PCA9685 module, and can be installed by enabling and runninginstall.sh
.Without the module connected, the following should be output when an i2c scan is executed:
After connecting the module, the same command outputs the following:
Beta Was this translation helpful? Give feedback.
All reactions