IR USB

27,475

40

24

Posted

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)


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.

Share

Recommendations

  • Epilog Challenge 9

    Epilog Challenge 9
  • First Time Author Contest 2018

    First Time Author Contest 2018
  • Sew Warm Contest 2018

    Sew Warm Contest 2018
user

We have a be nice policy.
Please be positive and constructive.

Tips

Questions

25 Comments

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

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

Your parts list says you only need 1x 1uf cap, but your schematic lists two? Is that correct?

I have a similar project in http://www.youtube.com/watch?v=7O9a0E_WXPA and http://www.youtube.com/watch?v=9VG7RokuDTs

Sandro Juca

I'm very interested on this project, but...
How can I change the codes to make it work with a DirecTV remote?

HI, when i wrote the code i used a logic analyzer (the simple PICKIT2) to look the protocol the remote used. From that it's easy to write the decoding routine.
I wouldn't be hard to change a little this routine to your remote.

thanks for the project could you please add the eagle files too
so that it gets easier to build

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).

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?

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.