Introduction: IR USB
A IR remote - USB keyboard for XBMC
Hi, i'm sharing this project becuse it has become realy useful for me.(and it was easy and fun to build).And like i was not able to find some project that do this (now i have found some) i had to build it myself.
It's basic a Infra red remote controler for PCs. It decodes IR signals and emulates key presses on a PC. It is recognized as a USB keyboard , so it needs no programs running in background, just plug and play.
It is compatible with Sony SIRC 20 bit protocol,works with my LG and SKY universal remotes when they are configured as Sony DVD.Changing this protocol shouldn't be to hard for someone with a little programing skill.
The keystrokes it send are configured to work with XBMC Media Center software.But it is easy to change the keys pres it emulate.
Just two things:
I'm not responsible for any kind of damage resulted from this project,if you would like to use it, do it on your on.
Don't sell this to anyone without consult me.
PARTS LIST:
3mm LED
PIC18F2550-I/SO
TSOP6238TR (IR Receiver 38KHz)
20MHz Crystal
22pF 0805 x2
1uF 0805 16V x2
330R 0805 x1
Just a mirror for project files:
(Copyrigh 2010, Arthur Benemann)
Attachments
Step 1: Development
It started on a bread board , show in image, while i was just playing aroun with a PIC 18F and usb. RS232 was utilized to decode the remote controller protocol,old source code with this function its on the rar file.
Thanks to microchip USB example code,emulating was already done, just lik both programs.
Step 2: Board and Schematic
I developed a small board with smd components ( i burned my only dip 18f2550,and in Brasil its hard to get new chips).It has some unnecessary headers,with more time i could made it a lot smaller, but double face boards take twice the time to me to build(no cheap PCB shops).
Step 3: Final Assembly
Just put it on a smal box , and it's done.
23 Comments
10 years ago on Introduction
Hi Arthur: thanks for the great project. I've been using it for months now, but it seems that fast forward and rewind do not work.They would be translated to a "R" and "F" keystroke respectively, on the usb keyboard emulation. Can you suggest how to fix this?
Thanks, Richard
10 years ago on Introduction
Hi Arthur: thanks for the great project. I've been using it for months now, but it seems that fast forward and rewind do not work.They would be translated to a "R" and "F" keystroke respectively, on the usb keyboard emulation. Can you suggest how to fix this?
Thanks, Richard
12 years ago on Introduction
Your parts list says you only need 1x 1uf cap, but your schematic lists two? Is that correct?
12 years ago on Introduction
I have a similar project in http://www.youtube.com/watch?v=7O9a0E_WXPA and http://www.youtube.com/watch?v=9VG7RokuDTs
Sandro Juca
12 years ago on Introduction
thanks for the project could you please add the eagle files too
so that it gets easier to build
Reply 12 years ago on Introduction
Just download the project file( you must log-in) and rename it ( to a .rar extension). They are in there. The board isn't really meaningful. dangerous prototypes sells one that could be adapted for this project (IRToy I think).
12 years ago on Introduction
The file link is dead.. is it available anywhere else?
I'd like to modify it to use RF instead of IR.. (I have a harmony rf remote).. how complex is that?
Reply 12 years ago on Introduction
The files are also attached to the intructable, but registration is needed (free).About RF, i can't say anything because i don't have to much experience with that.
12 years ago on Introduction
I would like to ask how to turn on the pc with ir remote (NOT ALL BUTTON BUT ONLY WHICH IS SPECIFICALLY ASSIGNED TO TURN ON ACTION)
Like for accurate example
http://www.simerec.com/PCS-2.html
Kindly tell a method rather than this include PIC OR ATMEL OR ANY AVR
i am looking for this.
Reply 12 years ago on Introduction
Hi, i wanted to include PC power-on feature on this controller, but i can't get even my USB keyboard to do this. I tried changing BIOS settings but only WOL , PS/2 mouse , PS/2 keyboard work for me.
PC power down it's easy, but i use the power button to send a 's' key press, it's safer to use the XBMC menu to power-off.
12 years ago on Introduction
Don't worry. The hex files are on the projects files, if you want you can just program it ( there lot's of programes on the web). It's also a good way to start messing around with PICs.
12 years ago on Introduction
I was sooo excited, but i have never used PIC... arduino?? :D
12 years ago on Introduction
18F13K50, would be a nice replacement for the 18f2550
12 years ago on Introduction
Don't forget, you must configure your remote as a sony dvd player. If you don't you may need to do some changes in the decoding routines.
12 years ago on Introduction
Meanwhile I used "IR.hex" file in my 18f2550 ... Thanks in advance
12 years ago on Introduction
:)
Reply 12 years ago on Introduction
I prepared the circuit i cannot try it now because i don't have a remote controller now... What are the other steps ? I just set up the circuit and connected with usb to my laptop... Is that all ? or.. give me some details please .
12 years ago on Introduction
Arthur i am going to try this project just for fun use. (no commercial :) I have all parts except for the led... Thanks for sharing this !
12 years ago on Introduction
Resolved by renaming ! thx a lot
12 years ago on Introduction
I don't know why this happened.Rename the file extension with .rar, or try to open it directly with winrar.