O'Reilly logo

Arduino Project Handbook by Mark Geddes

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

PROJECT 11: REMOTE CONTROL SERVO

IN THIS PROJECT, WE’LL USE THE ARDUINO TO EXAMINE AND DECODE SIGNALS FROM A REMOTE CONTROL, AND THEN USE THESE CODES TO CONTROL A SERVO.

image
image

PARTS REQUIRED

• Arduino board

• Breadboard

• Jumper wires

• 38 kHz IR receiver

• Remote control

• 2 Tower Pro SG90 9g servomotors

• Pan-and-tilt housing module

LIBRARIES REQUIRED

• Servo

• IRremote

HOW IT WORKS

First we’ll decode the remote control using an IR receiver. An IR receiver has three pins: OUT, GND, and VCC (shown left to right in Figure 11-1). Check the data sheet ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required