In this project we are going to find different codes for different keys of remotes. This is done with the help of Arduino and some components such as LCD, TSOP 1738 Decoder. each button of remote has different code. By using TSOP and LCD we are going to find this code.
In programming we are using special library used for Decoders and its respective functions. When we press any button of remote some signal are obtained. Such signals are not in readable form. For that we using TSOP 1738 decoder. This will covert those signals into some readable form and with the help of LCD we are going to read those codes.
- 1 x Arduino Board with USB Cable
- 1 x Bread Board
- 1 x LCD
- 1 x 10 kilo Ohm Potentiometer
- 1 x 39 Ohm Resistor
- 1 x TSOP 1738
- Bread Board Connecting wires
Assemble the circuit as shown in the above diagram. The program for Arduino is mentioned below. Please check the connections twice before you give power to the circuit. Paste below code in arduino and upload it to the board.
Remote Decoder Program
This Program can decode any remote key press done in front of it
and tells us the exact key of the key that was being pressed
We can see these keys on Serial Port Monitor in Arduino
Please refer online tutorial for the same
* LCD RS pin to digital pin 12
* LCD Enable pin to digital pin 11
* LCD D4 pin to digital pin 5
* LCD D5 pin to digital pin 4
* LCD D6 pin to digital pin 3
* LCD D7 pin to digital pin 2
* LCD R/W pin to ground
* LCD VSS pin to ground
* LCD VCC pin to 5V
* 1K resistor:
* ends to VEE and ground
// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(2, 3, 4, 5, 6, 7);
int RECV_PIN = 11;
irrecv.enableIRIn(); // Start the receiver
// Print a message to the LCD.
irrecv.resume(); // Receive the next value