![]() I used UART_remappable module mapped Tx and Rx pins to RB6 and RB7 respectively (ie. #FLIRC USB IR REMOTE DONGLE CODE#To decode the ir code sent by your remote, You can use UART to send the integer value inside ir_result variable(in case of NEC remote). You can refer to the project code for more info on that. I’ve slightly modified the code to trigger the decoding process using an external Interrupt pin so the program don’t need to constantly check whether any data is received from the IR decoder. I’ve used IR remote decoder example code from this link. But I’m sure you guys can figure that out on your own.Īlternatively, you can convert the code to MPlabX (please send me the project folder if you do). #FLIRC USB IR REMOTE DONGLE PRO#Note that you’ll need the registered version of the MikroC pro for pic IDE to compile the project as you cannot compile a code larger than 2000 words in the demo version. There is precompiled Hex file that you can burn to the chip using PICKIT2 or any other pic programmer. Source code is attached in the project zip file. I used MikroC pro for PIC to build the firmware. ![]() But, if you want to build the circuit I built, you’ll need very steady hands and expert soldering skills. Hence it’s not very hard to build this circuit. The list of components required to make this project is very tiny. And third, is that I have several of these laying around in my stock. Second, this mcu supports usb communication without using an external crystal/resonator which again helps reducing the board size. First, this mcu is available in tiny QFN package which helps reducing the overall board size. I used this microcontroller because of three reasons. So, we move on to the fun way.įor this project, I used a PIC18F25J50 microcontroller with a TSOP IR decoder. Even if you use the tiniest Leonardo compatible board. Plus there are similar projects already available. But let’s be real here, you cannot use a development oriented board to create something to be used on a daily basis. There is even an IR library to easily decode IR signals from the remote. Now, to the project, we can do this using two ways.Įasy way would be to use and arduino Leonardo compatible board which can easily made to be recognized as an HID keyboard or mouse to the computer. ![]() ![]() From what I gathered, it recognizes as an HID keyboard to the computer. So basically what FLIRC do is convert IR signals received from any remote to HID signals. But I thought, Hey! Why buy something I can make at home. This is my first Instructable.Ī while ago I got to know about the FLIRC IR receiver which I thought of buying. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |