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