Controlling 4 or More Servos Demo Arduino Code

The newest version of arduino has a SoftwareServo library built in, which lets you use more than two servos at once. This code is a simple example of how to control 4 servos via keyboard from the SerialMonitor mode of arduino. If you have arduino12 software, you’ll need to manually add the SoftwareServo library as described in the included readme.txt file. The code is available as a getting started example on our roboduino kit page.

Leave a Reply

Leave a Reply

About

CuriousInventor launched in late 2006 (pre-arduino era!) as a place to enable hobbyists, students, and musicians to create their own technology. We sold open-source kits and tools, and offered numerous guides & videos on things like soldering, metal working, screws, electronics, and more. 

The store is now mostly empty, but we’ve kept the product pages and guides up since they have useful information. Many of our guides and videos still rank on the first page of google searches and have been seen millions of times. Content on this site and the CuriousInventor YouTube channel produced by Scott Driscoll.

Top Videos