Data Sheet

Servo Driver HAT
If errors occurs after running demo code:
1) Edit modules file:
sudo nano /etc/modules
2) Add these two statements to file opened and save:
i2c-dev
i2c-bcm2708
RUNNING CODE
We provide both python2 and python3 demo code for this HAT, to test PCA9685, WIFI
remote control and Bluetooth remote control.
To test WiFi and Bluetooth demo code, you should first install APP to your phone,
which only support Android.
Download demo code from our Wiki, then extract and copy it to Raspberry Pi.
PCA9685 LIBRARIES TESTING
Running PCA9685 demo code with commands:
cd Servo_Driver_HAT/python
sudo python PCA9685.py
Expected Result: Connect servo to channel 0, servo keeps rotating from 0 degree to
180 degree then turning to 0 again.