PCA9685 setup.

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

PCA9685 setup.

Postby clarkd13 » Thu Jun 14, 2012 12:56 pm

hi im a noob when it comes to electronics and have recently acquired an arduino duemilanove. im looking at starting a few projects and was told that to control motors and servos, i needed a motor shield. this is when i saw this "Adafruit 16-Channel 12-bit PWM/Servo Driver - I2C interface - PCA9685" and it sounds like fun because you can control more than two motors (or one stepper) and i wanted to know if it could replace a motor shield or if it was still needed for it to work?
clarkd13
 
Posts: 2
Joined: Thu Jun 14, 2012 12:43 pm

Re: PCA9685 setup.

Postby adafruit_support_bill » Thu Jun 14, 2012 1:21 pm

The Adafruit 16-Channel 12-bit PWM/Servo Driver does not need a motor shield. It is a great solution for driving a lot of servos or LEDs. In theory, you can chain up to 62 of them for a total of 992 PWM outputs.

The Adafruit MotorShield will handle up to 4 DC motors or 2 steppers, plus up to two servos.

For maximum fun, you could combine the Servo Driver and the MotorShield together, giving you DC motors, steppers and lots of servos.
User avatar
adafruit_support_bill
 
Posts: 16043
Joined: Sat Feb 07, 2009 9:11 am

Re: PCA9685 setup.

Postby clarkd13 » Fri Jun 15, 2012 8:01 am

thanks for the help and advice.
clarkd13
 
Posts: 2
Joined: Thu Jun 14, 2012 12:43 pm

Re: PCA9685 setup.

Postby AudioBody » Fri Jun 29, 2012 9:26 am

I have a related question. I just purchased the 16-Channel 12-bit PWM/Servo Driver and I'm really excited to get started with it. However, I am completely new to this stuff and I was wondering what the proper way to setup the board is. I have searched around and could not find any tutorials with this board yet.

1 - My setup is quite simple. I will be running 7 servos controlled by 7 separate buttons.

2 - How do I connect the Servo Driver board to the Arduino?

3 - Is there a way to power both the Arduino and the Server Driver board with the same 9 volt adapter, or will they need to be powered separately?

4 - Should I be using a capacitor on the board? If so, what type would you recommend?

Any help would be greatly appreciated!

Thank you!
AudioBody
 
Posts: 3
Joined: Thu Apr 19, 2012 12:01 pm

Re: PCA9685 setup.

Postby adafruit_support_bill » Fri Jun 29, 2012 10:01 am

Connect SCL to analog 5, SDA to analog 4. GND to GND, VCC to 5v.

You will definitely want a separate power supply for the servos (connect it to GND & V+). You will want something in the 5-6v range and at least 2A for that many servos. This one should work well: https://www.adafruit.com/products/276 A 4-cell battery pack will work well also. https://www.adafruit.com/products/830

A capacitor is necessary only if you are experiencing problems such as erratic operation caused by servo noise or current peaks.
User avatar
adafruit_support_bill
 
Posts: 16043
Joined: Sat Feb 07, 2009 9:11 am

Re: PCA9685 setup.

Postby AudioBody » Sun Jul 01, 2012 12:58 pm

Thank you very much! That was exactly the information I needed.
AudioBody
 
Posts: 3
Joined: Thu Apr 19, 2012 12:01 pm


Return to Arduino Shields from Adafruit

Who is online

Users browsing this forum: No registered users and 4 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [103]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[109]
 
Wireless[14]
Cables[61]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]