Arduino sketch for PC ir remote and custom made software
FREE FOR NON COMMERCIAL USE ONLY !
Simple circuit for arduino remote. Can be transfered from prototyping on arduino to some smaller chip
2 led's for indicating working modes
- one for Netflix / Plex mode
- and one for Mouse / Remote mode (yeah... it can be simple wireless mouse :P ) 1 IR led (i got mine from old VCR i think) 1 remote (any ir remote) Arduino or some Atmega chip
IR LED
-
vcc -> +5V
-
gnd -> gnd
-
out -> arduino pin 2
-
MODE INDICATOR LED:
-
anode -> resistor + +5V
-
cathode -> arduino pin 4
-
MOUSE INDICATOR LED:
-
anode -> resistor -> +5V rail
-
cathode -> arduino pin 5 (+uncomment line #48 and #103-112 in sketch)
To check your Remote codes just uncomment about 115 line:
/* sprawdzanie stanu klawiszy...
Serial.print("Przycisk: 0x");
Serial.println(results.value, HEX);
*/
then check codes in serial monitor in Arduino IDE or your favorite IDE
(program was tested only on Windows 10 but on Windows 7,8 should be fine)
Software is made in C# 7 (.NET framework 4.7+). It needs some options like saving all setting's, but i leaving this to you :) Amazing thing is that you have this ir reciver connected all the time via USB, so if you want make some changes, just opent your IDE and add them :)
Program is automaticly checking port on what is your reciver connected.
Most of comments is in Polish, but code is simple and can be understand. I will make english version later.
- 90% is now english or have english translations commented out.
17-06-2017:
* [C#] Stepup to .NET Framework 4.7
* [C#] Multi language (need to be fixed - now is as strings in class)
* [C#] Bugfix when check buttons didn't work correcly
* [C#] othe minor bugfixes...
21-06-2017:
* [C#] Communication indicator
* [C#] Moved OSD to new thread, so it will be smoother now
01-09-2017:
* [Arduino] Some changes forced by Netflix new webplayer
For compiling arduino sketch, you need IR library from: https://github.com/z3t0/Arduino-IRremote (thx to z3t0 btw!)