A quick FAQ:
There is NO SOURCE CODE available
I am using it with GIRDER, PC software
I cannot help you with Linux LIRC or similar
I don't know what is compatible with SFH506, look in datasheets
The version without microcontroller is at bottom
The UIR is a device that enables you to control your PC with ANY remote controller you have (TV, VCR, CD or Stereo). Original hardware & software was designed by Martinus & Ties Bos. You should check their site first. There it was, now it has either moved or is unavailable. In this article you can find improved and simplified hardware scheme, software & hints for building the device.
The device is very simple: minimal version uses only 3 components! So if you are not planning a big serial production you will build it on experimental (universal) circuit board. This is the most correct schema:

The most correct schema: only one PIC is needed, of course
Schematic changes explanation/discussion:
This, however is not the simplest schema: you can replace 78L05 with single 5V1 zener (4V7 or other wont work: The SFH demands 5V). In that case, you are risking excessive RS232 port current burning zener diode, wich shouldn't happen because RS232 port current is limited. Also you can omit 100uF (or use smaller value) wich is used as reserve current source in case the circuit needs more current than it gets through RS232 (in a moment). Also, you don't need 1N4148: it's there only to assure current direction, wich cannot change due to RS232 port design. Only 4 parts are needed: PIC, 5V1, SFH and 100k. Cool. Hmm, could we do without 100k? Yes, the protection diode on PIC port will probably survive ...

The minimal schema: for true hackers only
Now after you decided what schema to use, the biggest problem is choosing and programming the microcontroller. You can use almost ANY Microchip PIC microcontroller, but software is prepared for PIC12C508/509 (512B/1024B OTP) and PIC16C84/F84 (1K FLASH, C84 is old version). So if you have to buy the microcontroller, PIC12C508A is your choice (cheapest PIC, at least were I buy it). Originally, I used a 16C84 leftover.
When programming, folowing configuration bits must be set:
But if you don't have a programmer or somebody with a RELIABLE programmer to program your 12C508A, then use 1684. The 508/509 are One Time Programable, so if programming fails, the devices are useless.
Of course, when you use 12C508/509 with internal oscillator you are supposed to omit the 4MHz resonator from scheme. There is no need for using quartz. Software is REALLY GOOD written and you can see the difference between the quartz and RC versions only if you use multiple reflections from many walls.
If you have to build a programmer, I really don't know what to suggest you. I have a TATO ProPIC programmer PRO version. With adapted schematic. Original had few bugs. ProPIC 2 simple edition still has bad resistor values. AN589 with 9V battery could be a good choice. JDM works. Most of the time, at least.
But this JDM version rules. Maybe you can mix it up with UIR in one device?
Go to IC-Prog homepage and choose something.
The last problem is how to connect UIR to your PC. Most people tend to put a DB9 connector on the PCB (board). If you use a female DB9 you can plug it directly in your PC and use the remote by reflecting signal from the wall. But there is a more interesting solution: use an old mice cable! You must have at least one old mouse. Take cable out of it and solder it with or without connector on the board.
And here it's how it can look like:



Have fun and good luck!
There is a even more simple version of UIR, without microcontroller. I haven't buid it personally, but people say it works.
To use it you need a plugin for Girder. I don't know if the plugin will work with other control software.
Here is the schema. You can ommit C1. Nothing else :)
And good luck again!
| so far | visitors |