My project is all about home automation using an infrared sensor (TSOP 1738). Most of the time when I used to search projects on home autonomation, the only result I would get is systems using a Bluetooth module. However a Bluetooth module is a bit more epxensive, so I decided to make the same project using infrared sensor which is available in every electronics shop for about 15rs. In this project, I used a relay module for controlling high voltage. A relay module is also available on the market, but you can make it yourself too.
Working...
The main component of the project is the TSOP1738 IR receiver module. This module has a built-in photo receiver, band pass filter and demodulator, and the output of the module can be readily read by a microcontroller.
The TSOP1738 supports a carrier frequency of 38 KHz. Hence, the carrier frequency of the source, i.e. the remote control, must be in the range of 38 KHz for it to demodulate.
First, we will decode the data from the remote control using TSOP1738 and Arduino UNO. For that, we need to use a special library called “IRremote." We need to download this library from https://github.com/z3t0/Arduino-IRremote and place it in the libraries folder of Arduino.
The next step is to decode the data of each key of the remote. For this, we are going to use some functions in the “IRremote” library. The following program will help us in decoding the data from each key of the remote.
Comments
Please log in or sign up to comment.