Check out this project from Kevin in the Adafruit Forums on the topic of “16 channel Servo board with IOIO”:
I need some help to create the java code for running the Adafruit 16 channel servo breakout board with the IOIO. I am creating a “player guitar” of sorts and have a working prototype using a Parallax BS2 microcontroller and an Linxmotion SSC32 servo controller.
I would like to use the IOIO because it provides much more flexibility with inputs from an Android device… and the adafruit servo board seems like a good compact size candidate for being controlled from the IOIO… however, while I am learning enough to be ‘dangerous” about java and have played with the arduino some, I am not sure how to adapt the Arduino driver you have on this site to work with Java.
And from the description he shared after creating a version of his system:
Using the IOIO board and the Adafruit 16 channel PWM controller, I was able to control up to 16 servos over bluetooth from my laptop. The code will also work with some minor changes from and Android device. Take a look at the code and the video.
Featured Adafruit Product
Adafruit 16-Channel 12-bit PWM/Servo Driver – I2C interface – PCA9685: You want to make a cool robot, maybe a hexapod walker, or maybe just a piece of art with a lot of moving parts. Or maybe you want to drive a lot of LEDs with precise PWM output. Then you realize that your microcontroller has a limited number of PWM outputs! What now? You could give up OR you could just get this handy PWM and Servo driver breakout. When we saw this chip, we quickly realized what an excellent add-on this would be. Using only two pins, control 16 free-running PWM outputs! You can even chain up 62 breakouts to control up to 992 PWM outputs (which we would really like to see since it would be glorious). (read more)
Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.
Join us every Wednesday night at 8pm ET for Ask an Engineer!
Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground” – Adafruit’s Apps!
Maker Business — Shenzhen: The Silicon Valley of Hardware (Full Documentary) and Who invests in hardware?
Wearables — Take flight with shiny wings
Electronics — Inadequate volt signal
Biohacking — The Upside of GMOs (Genetically Modified Organisms)
No comments yet.
Sorry, the comment form is closed at this time.