PWM

From ElectroDragon
Jump to: navigation, search

Guide

  • SG3525
  • PCA9685 -12-bit, I2C, servo control

Schematic

PCA9685

Arduino Servo Shield

  • V+ GND -
  • I2C addr - A0 ~ A5
  • VCC select - 3V ~ 5V, select the power supply for pca9685 VDD
  • Regulator -

Demo Code

  1. Demo code "servo" run each pin of PWM controlled servo one by one, see the serial monitor screen for which one is running.
  2. Be aware of the pin of servo, if you buy the servo it can fit directly, but maybe not from other store.

Schematic

Arduino Library

Datasheet