M5 Dial as servo controller with i2c and PCA9685
-
Hello,
I use a PCA9685 LED / servo controller with i2c on a rotary knob M5 Dial.
A level shifter is mandatory because the S3 Stamp is not tolerant to the 5V from the PCA.
There are two modes:
PWM with values from 0 to 100 -> 0 - 100% pulse width (50 Hz)
Servo controller for standard servos with values from 101 to 200 -> 90 degrees servo rotation with adjustable zero and rangeenjoy
-
Use the dedicated servo unit and you don’t have any level shifting problems to worry about