Lesson 21: Ir Remote - Elecrow Raspberry Pi & Arduino Starter Kit User Manual

Table of Contents

Advertisement

Application effect
Running the script will show values changing based on the joystick direction, try to move it to different directions to
see the value changing.
LESSON 22: IR REMOTE
Introduction
In this lesson, we use the lirc library to read infrared signals returned by buttons of the remote control and translate
them to button values. When a button is pressed, the IR transmitter in the remote control will send out the
corresponding IR encoding signals. On the other side, when the IR receiver receives certain encoding signals, it will
decode them to identify which button is pressed.
Before going through this lesson make sure you followed the installation requirements we introduced at the
beginning of this document.
IR Pin definition
93 of 114

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Raspberry Pi & Arduino Starter Kit and is the answer not in the manual?

Table of Contents