Step 22Optional Assembly: 2 Status LEDs
Using this option means that you cannot have the '2 Extra Buttons Option' but is not required. If you do not want the '2 Extra Buttons Option' or the '2 Satus LEDs Option', you can just ignore the optional resistors OPT2 through OPT5, and everything in the corner dealing with RA0 and RA1.
Using this option will use ONLY OPT2 and OPT5 resistor points. Do NOT use OPT3 or OPT4 for ANY resistor or jumper. Leave 'em be!
As with the optional Power LED, I will not be covering how to install the LEDs into your stick, only how to wire them up.
When the PIC wants to turn on one of the optional LEDs, it does so by setting the line (one of RA1 or RA0) to high. This provides the voltage needed to power the LEDs. What we need to do is put a resistor in the way, so enough energy gets past to light the LED, but no more. After the resistor, the power goes to the positive leg of the LED, lighting it up, and then out the negative leg to ground.
If your LED is being installed in a case, it is very important to find out which leg is the positive leg, and which is the negative. LEDs normally have a flat indentation on one side, marking the negative leg. If your LED is make for mounting in a panel or case, you may not be able to see this indent. Make certain you know which leg is which before wiring. If it is installed backwards, it will not damage anything (at the voltages we will be using), but it definitely won't work.
First we'll start with installing the resistors. Both of the resistors we will use are 220 Ohm (Red-Red-Brown). One will need to be placed in the position marked OPT2 and the other in OPT5. Just like every other resistor, there is no orientation to worry about. Bend the legs, feed them through the holes, lay the resistor down flat against the board, bend the legs at the bottom to secure them in place, solder, and trim the excess wires.
The points marked 'RA0' and 'RA1' are the points after the resistor for LED 1 and LED 2, respectively. If the LEDs are mounted on your case, solder a wire to these points, and connect it to the positive leg of the respective LED. The negative leg of each LED must connect to ground. The points marked GND next to the RA0 and RA1 points are provided for convienence, but any connection to ground will work, including the common line for your buttons and stick.
If you are using this option with the 'NeoGeo Converter Option', like I am doing in the pictures below, you are free to solder the LEDs directly to those holes and the GND holes behind them. The holes are VERY close together (100 mils), so fitting two 5mm LEDs is not possible. You must use thinner LED's like the rectangular versions. The LEDs shown in the picture were a free gift with an order from DipMicro.com; I do not have a part number for them. It might be possible to fit two 3mm LED's together in these holes, but I have not tried.
| « Previous Step | Download PDFView All Steps | Next Step » |
![]() |
Add Comment
|


































































