loading

Introduction

My Air Conditioner (AC) machine didn't work even after replacing the batteries of the remote control. I wanted to know whether the remote control is sending out any Infrared (IR) signal.

Scope

This instructable will show the following:

Make Raspberry Pi receive infrared signal from the remote control

Audience

Raspberry Pi users

Assumption

The remote control being tested work in the 38KHz frequency.

Step 1: Install and Configure LIRC Daemon

Complete the steps in "Install and configure LIRC Daemon" instructable.

Step 2: Test the Remote Control

First test a remote control that you know to be working (example TV remote) to ensure that IR interface of the Raspberry Pi is working as expected.

On the terminal emulator

$mode2 -d /dev/lirc0

Point the working remote control at the Raspberry Pi

Press any button while looking at the terminal emulator

You should see messages being printed on the screen as shown in the screenshot. This is a confirmation that the IR hardware and software interface of the Raspberry Pi is working.

Now point the remote control you suspect to be faulty at the Raspberry Pi

If there are no messages being printed on the screen, then there is a high chance that it is faulty.

<p>There is an even easier way to check if an IR remote is working: Just point it on your digital camera or smartphone camera. These cameras are sensitive for IR and you will see the IR LED blinking or lighting up on the camera live preview.</p>
Hi. I tried with a camera and I saw the light from the camera. Thanks for sharing.

About This Instructable

4,957views

25favorites

Bio: Systems Administrator and Software Programmer.
More by mirza irwan osman:Install Modem USB Device in Raspberry Pi Make the Volume Knob of Sound Blaster X-Fi Surround 5.1 Pro Sound Card Work in Raspberry Pi Create a Volume Control for USB Sound Card in Raspberry Pi 
Add instructable to: