Overview
- Object ID : 2873 (2024-03-13 22:03:31)
- Author : Stephen M Moraco
- Content : Code
- Microcontroller : Propeller 2
- Languages : PASM2, SPIN2
- Category : Motor Control
- Licence : Other
- Tags : I2C, PWM, Servo
Content
Driver for 16 channels of servo control via I2C using the PCA9685 16ch PWM chip (uses underlying singleton version adapted from jm_i2c driver for I2C access)
Version: (Repository Latest)
GitHub repository: P2-PCA9685-Servo-Driver
This object (in my case) is used in a larger project in which I drive a servo-controlled arm to test orientation sensing chips while developing P2 objects. I also use the FlySky R/C controller to control arm positioning interactively. This code: arm demo with FlySky controller using the PCA9685-controlled servos is all found at the project Repo.
See also the OBEX page(s):
Related:
- See Docs, Example Code at P2 PCA9685 Servo Driver Github Repository
- NXP Manuf Datasheet: PCA9685: 16-Channel, 12-Bit PWM Fm+ I²C-Bus LED Controller
- Shop at Adafruit: Adafruit 16-Channel 12-bit PWM/Servo Driver - I2C interface - PCA9685
- Shop at Amazon: HiLetgo 2pcs PCA9685 16 Channel 12-Bit PWM Servo Motor Driver IIC Module