Make and Control a Servo Arm with Your Computer
Industrial robots are capable of many things. This robot arm writes with a pen!Copyright 2008 Mirko Tobias Schaefer, Wikimedia Commons CC BY-SA 2.0 https://commons.wikimedia.org/wiki/File:Bios_robotlab_writing_robot.jpg
Computer-controlled servos enable industrial robots to manufacture everything from vehicles to smartphones. For this maker challenge, students work through the engineering design process as they control a simple servo arm by sending commands with their computers to Arduinos using the serial communication protocol. This exercise walks students through the (sometimes) unintuitive nuances of this protocol, so by the end they can directly control the servo position with the computer. Once students master the serial protocol, they are ready to build some suggested interactive projects using the computer or “cut the cord” and get started with wireless Bluetooth or XBee communication.
- computer, Windows or Mac
- Arduino software; download from https://www.arduino.cc/en/software
- SparkFun RedBoard or Arduino Uno microcontroller and programming cable; an Arduino Inventor’s Kit is recommended (some of its many components are the items listed below), at SparkFun
- breadboards
- 10k-ohm resistors
- 180-degree servos; one comes with the Arduino Inventor’s Kit recommended above—the generic sub-micro size servo from SparkFun, or obtain higher-quality servos such as the Hitec HS-422 standard size from SparkFun
- 5V voltage regulator from SparkFun; only needed if you plan to control more than two servos with one Arduino
- 9V battery; only needed if you plan to control more than two servos with one Arduino
- Popsicle sticks
- hot glue gun and hot glue sticks
Contributors
Daniel Godrick
Supporting Program
ITL Program, College of Engineering and Applied Science, University of Colorado Boulder
Acknowledgements
This activity was developed by the Integrated Teaching and Learning Program in the College of Engineering and Applied Science at the University of Colorado Boulder.
Special thanks to Jacob Segil and SparkFun Education.
Copyright
2017 by Regents of the University of Colorado
