Features:
- Uses all the features incorporated in the PIC firmware written by Jon Rhees (version 1.7 is required for errorfree operation).
- 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 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.
- 2 IR emitters are provided on the PCB. You can connect external ones on the emitter jack optional pads. These can be used for equipment in other locations. The value of R5 has to be determined depending on wich and how many you use.
- 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.
Circuit simplification:
If some features are not required the following components can be ommited:
- Wake On Lan: R4 (3K3).
- In Circuit Serial Programming: D1, D2, R7, R9, ZD1 and Shunt1 (solder the 2 pads together). These are also used to reset the PIC when Girder is not running, removing these components will also disable this feature. If you decide to leave them in, bear in mind that the UIRT will not work when Girder isn't running but it will work when the PC is powered off.
- RB0 input: R1, R2 and C1. In this case you must ground the RB0 pin or it could generate false events if left floating.
- DB9 connector, you can solder the wires directly on the pads. If ICSP is not required only GND, RXD and TXD need connection to the comm port.
Construction:
Place all components exept the crystal.
Perform the In Circuit Serial Programming:Remove Shunt1 and apply the programming voltage (12 - 14v) to the pin wich connects to R3.
I used the +12V from an unused hard disk header. 12V is on the low limit for the programming voltage but it has always worked for me, exept once but a second try was succesfull. Another possibility is to "raise" the 5V by connecting a 9V battery to the pins of Shunt1, the minus connects to the +5v pin, the positive to R3. This will create a VPP of 14V.
Replace Shunt1, mount the crystal and your UIRT2 should be working.