Introduction: Linkit One Remote Checker
Do you have a lot of remotes lying around you and want to check weather they are working or not, then you are at the right place. I am going to tell you how to make a remote checker using linkit one through which you can check your various remotes and thing which emit IR signals. If any signal is received by it, then the buzzer attached to it will notify you that your remote is in working condition. If you are a TV repairer then this would be a lot useful for you. With this you can check your projects which work on infrared signals. I am sure this project will help you in your daily life.
Step 1: Gather Parts
Here is the part list for this project:
- Linkit one
- IR receiver
- Buzzer
- Breadboard
- Jump cables
- A usb to upload your code
Step 2: Connect the IR Receiver
To detect IR signals sent by remote, a IR receiver is used. It receive the infrared light and convert it into a electrical signal which we can receive by a microcontroller and convert it in a HEX value for our ease. IR receiver comes in different packaging and have different pin configuration so be aware of that. The pin configurtion of my IR receiver is given above. To attach it your board, follow the following steps:
- vcc---linkit one 5V
- gnd---linkit one gnd
- Vout---digital pin 8
Step 3: Connect the Buzzer
As an output, I used a small buzzer. Whenever a command is received by the IR receiver, this buzzer beeps so that you can confirm your remote is working. Connect negative of the buzzer to the gnd of board and positive to digital pin 4.
Step 4: Upload the Code
Here is the code you need to upload to your linkit one board to get this project working. Before uploading download the " IR library" from here and import it to your board. You can also see the value sent by your remote ny opening serial monitor. Here is the code:
#include
int RECV_PIN = 8;
int buzzer=4;
IRrecv irrecv(RECV_PIN);
decode_results results;
void setup()
{
Serial1.begin(9600);
irrecv.enableIRIn(); // Start the receiver
pinMode(buzzer,OUTPUT);
}
void loop()
{
if (irrecv.decode(&results))
{
Serial1.println(results.value, HEX);
digitalWrite(buzzer,HIGH);
delay(100);
digitalWrite(buzzer,LOW);
irrecv.resume(); // Receive the next value
}
}
Step 5: The End
Now go and check your TV remotes. Use it to check IR signals of your project. Hope you like it. For any problem or query or any question related to the project, comment below. THANK YOU