FabLab Access Taubman College FabLab Clients Power House Productions Guests Eugene Shteyn Sabrina Raaf David C. Michener Software-hardware Arduino Fritzing Tutorials Rhino Circuits SparkFun Inventor's Kit for Arduino with Retail Case Oomlaut - the designer's of the kit. Circuit 1 Code Circuit 2 Code Circuit 3 Code Circuit 4 Code Try this alternate code with the same circuit: // Tick-Tock Smooth Servo for SmartSurfaces // by John #include <Servo.h> // Use the Servo library Servo servo1; // Creates a servo object to control a servo void setup() { Serial.begin(9600); // Sets up Serial library at 9600 bps Serial.println("Servo test!"); // Prints to Serial monitor servo1.attach(9); // Attaches the servo on pin 9 to the servo object } void loop() { Serial.print("tick"); // Prints to Serial monitor servo1.write(0); // Tells servo to go to maximum rotation position delay(1000); // Waits for the servo to reach the position Serial.print("tock"); // Prints to Serial monitor servo1.write(180); // Tells servo to go to opposite maximum rotation position delay(1000); // Waits for the servo to reach the position } Circuit 5 Code Circuit 6 Code Circuit 7 Code Circuit 8 Code Circuit 9 Code Circuit 10 Code Circuit 11 Code Circuit 12 Code Circuit 13 Code Circuit 14 Code Tools Resistors More resistors LEDs Resources Mechanisms Component Suppliers - DIY Specialists, limited range, excellent documentation: SparkFun Electronics (for most things) 6175 Longbow Drive, Suite 200, Boulder, CO 80301 Adafruit Industries (especially for Arduino shields) 80 Nassau St. #4C, New York, NY 10038 Parallax, Inc. (especially for sensors) 599 Menlo Drive, Rocklin, California 95765 - Electronics distributors (broader range, cheaper, you need to know what you are looking for, great for bulk purchases): Jameco Electronics 1355 Shoreway Road, Belmont, CA 94002 Mouser Electronics 1000 North Main Street, Mansfield, TX 76063-1514 Digi-Key Corporation 701 Brooks Avenue South, Thief River Falls, MN 56701 Marlin P. Jones & Assoc., Inc. P.O. Box 530400, Lake Park, Florida 33403-8906 - Other specialists: Solarbotics Ltd. (solar & robotics) 3740D 11A Street NE, Suite #101, Calgary, AB T2E 6M6, Canada Trossen Robotics (what they do is in their name) One Westbrook Corporate Center, Suite 960, Westchester, IL 60154 Pololu Corporation (motor controllers) 6000 S. Eastern Ave., Suite 12-D, Las Vegas, NV 89119 Liquidware (more complex Arduino shields) 50 George St, Bristol, CT 06010 Construction Alro Metals Plus 2466 S. Industrial Hwy. Ann Arbor, MI 48104 (734) 213-2727 Total Plastics Inc. 1661 Northfield Drive Rochester Hills, MI 48309 (248) 299-9500 Fingerle Lumber 617 S. Fifth Ave. Ann Arbor, Michigan (734) 663-3550 Jo-Ann Fabric and Craft 2897 Oak Valley Dr. Ann Arbor, MI 48103-9243 (734) 665-6161 Carpenter Bros Hardware 2753 Plymouth Road Ann Arbor, MI 48105 (734) 663-2111 Stadium Hardware 2177 West Stadium Boulevard Ann Arbor, MI 48103 (734) 663-8704 Scrap Box 581 State Circle Ann Arbor, MI 48108-1643 (734) 994-4420 |