Remove these ads by
Signing UpStep 1: Tools
soldering iron
solder (60/40 or 63/37... not the lead-free silver solder)
flux (this is more or less a must-have to get good connection to pcb traces)
glue gun
30 AWG wrapping wire
wire wrap tool (Optional, but makes things easier)
wire stripper (A razorblade works well on wrapping wire, but check out my instructional on "precision wire stripper" to see the one I use in this tutorial.
A DIP microcontroller
A small tactile switch






































































Visit Our Store »
Go Pro Today »




And my code/project files are open source, you are welcome to take a look and modify it if you feel like it. I used mikro C, the free demo is enough for this project.
I am done with the version 3 of the thing, it does BRXX, if extra button is tap, and if it is held down it does just double shot. I may make it public, not sure yet, the thing is that halo 3 is almost out; probably it is just irrelevant at this point.
I can't actually help you with the PIC program because I used a Basic Stamp. Here's the program I used in PBASIC.
note: the timing is in ms
' {$STAMP BS2}
' {$PBASIC 2.5}
R PIN 15
X PIN 14
Y PIN 13
G PIN 12
INPUT R
INPUT X
INPUT Y
LOW G
DO
DO
PAUSE 50
LOOP UNTIL IN7=1
'First R
LOW R
PAUSE 136
INPUT R
PAUSE 30
'Second R
LOW R
PAUSE 38
INPUT R
'X
LOW X
PAUSE 50
INPUT X
PAUSE 210
'Double Y
LOW Y
PAUSE 50
INPUT Y
PAUSE 50
LOW Y
PAUSE 50
INPUT Y
PAUSE 200
LOOP
I used Input instead of high because leaving the buttons high would make it unable for you to use the buttons while not doubleshoting. I find this code to work almost everytime with my regular Xbox. If you have any other question's I'll try my best to answer them.