TINKER PiEDESIGN IN INDIA

16-channel servo driver PCA9685 with TinkerPie

Robot arms and walking robots with many servos. Needs its own 5 V supply.

TypeOutputs and actuators
Connect toSENSOR port · 0x40
Gives16 more servos
SimulatorYes: a control appears under the simulated board

How it works

The PCA9685 makes 16 separate PWM signals, so one board can control 16 servos using only two I2C wires. The servos get their power from a separate supply connected to the driver.

How to wire it

Signal pin to S1-S4 or P10-P13. Motors, pumps and lamps always go through the relay or a driver module, never straight to a pin.

Code

In blocks: Accessories category in TinkerPie Studio. As code:

// JavaScript
servoDriver.setAngle(0, 90)

// Arduino C++
servoDriver::setAngle(0, 90)

Good to know

Try it in TinkerPie Studio

Similar modules

More projects to try

Questions

Can I try the 16-channel servo driver PCA9685 without buying one?

Yes. In TinkerPie Studio the simulator shows a control for it under the board, so you can test your program before you build it.

Why do my servos twitch or the board restart?

The servos are drawing too much current. Give the PCA9685 its own 5-6 V supply and join its ground to the board ground.