Hello everyone!
Today I will teach you how to hack your set-top box IR remote using Arduino. In this case, I will be using Videocon d2h IR remote. If you are unsure about how to use the IR transmitter module for making IR remote, or do not know about IR communication, please refer to my previous project about making an IR remote and controlling some LEDs with it. My previous project was designed for beginners in IR communication using Arduino.
Hacking your set-top box IR remote can be useful in emergency situations, when the remote runs out of battery or does not function properly. In my opinion, I think that the power, channel up/ down and volume increase/decrease are the important buttons of your IR remote so I have hacked them by giving these functions to the push-buttons of my IR remote.
Supplies
- Arduino Nano
- Solderless Breadboard
- IR transmitter module (KY-005)
- IR receiver module (KY-022)
- Push-buttons (x5)
- Resistor - 220Ω
- Male-to-Male Jumper wires - 10 cm (x5) and 20 cm (x1)
- Jumpers
Setup
Your setup must look somewhat similar to the one shown in the image above.
Connections
IR transmitter module (KY-005)
- (-) - GND (Ground)
- (S) - D3
There is no connectivity between the (+) pin and the IR LED in my IR transmitter module.
Push-buttons
- 01 - D2
- 02 - D3
- 03 - D4
- 04 - D5
- 05 - D6
IR receiver module (KY-022)
- (+) - 3.3V
- (-) - GND (Ground)
- (S) - D11
Coding
As I already mentioned in the first section of this page, please refer to my project about making IR remote as the codes of this project are similar to that mentioned in it. Connect your IR receiver module to the Arduino Nano, go to File, Examples, IRremote library, and upload the IRrecvDump sketch. Place the set-top box IR remote in front of the IR receiver module and press each button mentioned in the first section of this page. You will see the Encoding type and the decoded IR signal printed on your Serial Monitor. Use these decoded IR signals to make your IR remote.
If you still have any questions about the coding section, please feel free to comment below or send an email to arduinoprojectsbyr@gmail.com.
Final Look
If you have any questions, or suggestions, regarding this project, please feel free to comment below or send an email to arduinoprojectsbyr@gmail.com.
Comments
Post a Comment