https://github.com/brainelectronics/esp32-pca9685
Sample ESP32 snippet for 16-Channel 12-bit PWM Driver
https://github.com/brainelectronics/esp32-pca9685
esp-idf esp32 espressif library pca9685
Last synced: 3 months ago
JSON representation
Sample ESP32 snippet for 16-Channel 12-bit PWM Driver
- Host: GitHub
- URL: https://github.com/brainelectronics/esp32-pca9685
- Owner: brainelectronics
- Created: 2018-01-26T10:30:42.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-02T08:31:18.000Z (almost 8 years ago)
- Last Synced: 2025-05-13T10:44:16.537Z (7 months ago)
- Topics: esp-idf, esp32, espressif, library, pca9685
- Language: C
- Size: 15.6 KB
- Stars: 29
- Watchers: 2
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ESP32 PCA9685 PWM/Servo Driver Library
---
This is a example for the 16-channel PWM & Servo driver PCA9585
#### Connections
| ESP32 pin | PCA9685 | Notes |
| --------- | ------- | ----- |
| Any output pin | SCL | currenty pin 4 is used |
| Any output pin | SDA | currenty pin 5 is used |
| GND | GND | Power supply ground |
| 3.3V | Vcc | Power supply positive |
---
#### How to build
Configure your esp32 build environment as for **esp-idf examples**
Clone the repository
`git clone https://github.com/brainelectronics/esp32-pca9685`
Execute menuconfig and configure your Serial flash config and other settings. Included *sdkconfig.defaults* sets some defaults to be used.
`make menuconfig`
Make and flash the example.
`make all && make flash`
---