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 ...

Get Arduino Project Handbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.