Ik heb een UIRT2B gemaakt
Features:
Uses all the features incorporated in the PIC firmware written by Jon Rhees(version 1.7 is required for errorfree operation).
The PCB is designed to fit in a recuperated COM1 (DB9) + COM2 (DB25) PC bracket and can be mounted in a spare slot inside the PC.
Takes power from the Wake On Lan connector on the motherboard. If your MB doesn't have this or it's in use already, you can take +5VSB from other locations like the Wake On Modem header.
It has one input (RBO) wich generates an event to Girder.
It also has four buffered output ports wich can be controlled by Girder. They can also be controlled by the PIC directly when Girder is not running or even when the PC is powered down: an IR code can be stored in the PIC and the corresponding output can be pulsed, toggled ,set high or low. This is what we use to power up the PC through WOL, WOM or the power button connector. The PC can also be reset by connecting one of these outputs to the reset button.
LED's or relays can also be connected to these outputs. When doing this and you want to use the 5VSB to power these devices make sure that the PC power supply has enough 5VSB power left. It's better to use another supply like the regular 5 or 12v from the power supply. Also when using inductive loads there needs to be a clamping diode connected over the load to protect the darlington chip.
The PCB has a stereo jack to connect the IR receiver. There are several types of receivers with jacks already on the market but the connections are different and some use 5V others 12V. I dismantled a Xantech one (for wich I did not have the specs) and it was a 12v one. The +5V pin on the actual receiver had a series resistor of 1K and a zener diode of 5.1V to convert +12 to +5V.
2 jacks for IR emitters are provided on the PCB. The values of R5 and R6 need to be determined depending on wich and how many you use. Important: none of the 2 jack connections is ground, so I decided to use a stereo jack and use the pin and ring for the actual connections
Wake On Lan: The PC can be powered up by using one of the four PIC internal programmable IR codes. WOL requires a positive pulse on it's input so I took a direct PIC I/O pin (RB2) because these are low after reset. Using a buffer transistor would invert this and pull the WOL input high wich might cause problems. A 3k3 series resistor is provided to protect both the PIC and the motherboard in case of incorrect connections. When using WOL the OUT4 output can no longer be used as it uses the same RB2 pin.
Power up the PC by using the power button. One of the outputs can be used to simulate a power button press. This requires a connection to the "+" of the power button pin on the mother board. Before using this feature verify that the power button shorts it's + pin to ground. Not all motherboards are configured like this and you could damage it.....
In Circuit Serial Programming: I have succesfully programmed several PIC's using Danjiel Pjitcar's programmer(uirt-dp.prog13), the version on Ruud's site didn't work, his older version wich should work would not open the hex files version 1.6.
Meer info
http://users.skynet.be/sky50985/
http://www.girder.nl/phpBB2/viewforum.php?f=7