The Renbotics ServoShield is an Arduino-compatible shield that uses two 4017 decade counters to drive up to 16 servos using only 4 pins (digital pins 6 to 9) and as little as one 8bit timer (Timer 2) in standard mode or two 16/8bit timers (Timer 1 and Timer 2 for Duemilanove or Timer 3 for Mega) in high accuracy mode. It also includes a 196 point breadboard style prototyping area.
Model: OSK102E1P
http://www.seeedstudio.com/depot/images/product/ServoShieldKitLarge.jpg
The warnings and wrong operations possible cause dangerous.
It is the schematic, the circuit about Eagle resource like .pdf should linked here in order to avoid memory exhausted.
May include key specification and other specifications.
Accembled View:
http://www.seeedstudio.com/depot/images/product/StackedLarge.jpg
Sample 1: Simple servo sweeper
#include <ServoShield.h> ServoShield servos; //Create a ServoShield object void setup() { for (int servo = 0; servo < 16; servo++)//Initialize all 16 servos { servos.setbounds(servo, 1000, 2000); //Set the minimum and maximum pulse duration servos.setposition(servo, 1500); //Set the initial position of the servo } servos.start(); //Start the servo shield } void loop() { for(int pos = 1000; pos < 2000; pos++) //Move the servos from 0 degrees to 180 degrees { //in steps of 1 degree for (int i = 0; i < 16; i++) //for all 16 servos servos.setposition(i, pos); //Tell servo to go to position in variable 'pos' delay(1); } for(int pos = 2000; pos >= 1000; pos--)//Move the servos from 180 degrees to 0 degrees { for (int i = 0; i < 16; i++) //all 16 servos servos.setposition(i, pos); //Tell servo to go to position in variable 'pos' delay(1); } }
The projects and application examples.
Please list your question here:
If you have questions or other better design ideas, you can go to our forum or wish to discuss.
Revision | Descriptions | Release |
---|---|---|
v1.1 | Initial public release | Aug 23, 2009 |
Bug Tracker is the place you can publish any bugs you think you might have found during use. Please write down what you have to say, your answers will help us improve our products.
The Additional Idea is the place to write your project ideas about this product, or other usages you've found. Or you can write them on Projects page.
Click here to buy: http://www.seeedstudio.com/depot/renbotics-servoshield-rev-11-p-498.html?cPath=132_134.
Other related products and resources.
This documentation is licensed under the Creative Commons Attribution-ShareAlike License 3.0 Source code and libraries are licensed under GPL/LGPL, see source code files for details.
Links to external webpages which provide more application ideas, documents/datasheet or software libraries
Copyright (c) 2008-2016 Seeed Development Limited (www.seeedstudio.com / www.seeed.cc)