Project 26 – Dual Servo Control

You'll now create another simple project, but this time you'll control two servos using commands from the serial monitor. You learned about serial control in Project 10 when you were changing the colors on an RGB lamp with serial commands. So let's cannibalize the code from Project 10 to make this one.

Parts Required

This project requires two servos. You will not need the potentiometer.

Standard RC Servo × 2 images

Connect It Up

The circuit for Project 26 is again extremely simple. Connect it as shown in Figure 9-5. Basically, you remove the potentiometer from the last project and wire a second servo up to Digital ...

Get Beginning Arduino now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.