A program that detects button presses using an IR receiver with an Arduino and sends that data to a python script that simualtes keyboard presses. Uses include using puase/play/fast forwar/rewind for controlling media on VLC media player.
- Upload the Arduino C++ file found in the setup folder to your arduino and connect the IR sensor to pin 8 (or connect it to annother pin and modify the
#define RECEIVER_PINon line 3 of the Arduino code) - Open the remote_frequencies.json file using a text editor
- Open the serial window within the Ardino IDE (ctrl+shift+m)
- Press the buttons on the remote and reccord the corresponding frequency in the json file. Save that file once finished.
- Upload the main Arduino C++ file found in the arduino_remote_control foler and launch the remote_conrol.py script.