Introduction: Wii Nunchuck Adapter
This tutorial is for all those people who have an arduino and want to use there Wii nunchuck as an input device, but dont realy feel like cutting open the cord and ruining the nunchuck FOREVER!!!!!!!!
well youve come to the right place!
Step 1: Supplies
These are the supplies you will need
most can be found at radioshack and at hardware stores.
if you cant find any etchant solution i made my own on STEP 6.
+soft gloss photo paper
+etchant solution (is makeable, see step 6)
+double sided PCB .062" thick (you do have a bit of lee way)
Step 2: Printing Our Transfers
Thanks to icecreamterror who made a pdf version of the pcb heres a link
For those of you who want to do it old school style...
start by downloading DipTrace
and the Wii Nunchuck layout
1. install diptrace by following all the on screen instructions
2. Start Diptrace
3. go to file>open and locate "wii_nun_chuck_adapter.dip" (image 2)
4. click open
5. go to view> click mirror (so it is checked)
6. now it should look like image 3
7. Load a piece of photo soft gloss paper into your printer (image 4)
8. now go to file>print> and select your laser printer (image 5)
9. press PRINT.
10. now you should have a nice looking transfer.
WOOO HOOOO we are almost there. sorta
Step 3: Preping the Transfer
1) no that you have your printed sheet of PCB transfer. pick one and cut it out like i have in image 1.
2) Now what we want to do is fold the paper so the two sides line up. you can use a light to help you look through the paper.
3) once its lined up make a nice clean crease. (image 2)
4) now we use some tape to make sort of a tube that the PCB will slide into. (image 3)
5) the transfer is ready
next step is to cut and prep the board.
Step 4: Cutting and Preping the PCB
for this step i dont have very many pictures but its pretty much straight forrow
1) Remove your new board you just bought at radioshack from its bag
2) I recomend cutting out one of the transfers and using it as a template to get the dimensions right
3) place the transfer on the corner of the board and with a knife score around it
4) Then i placed the board in my vice and used a hack saw to cut it
or if you can get your hands on a band saw that would be much easier
5) once the board is cut out. (image 1) take a peice of 800 grit sand paper and sand down the edges
6) finaly clean of the board with some rubbing alcohal or water making sure to dry it good if used water
next we will transfer the design onto the board
Step 5: Transfering the Design
So we have our tube like transfer and out cut to size board.
1) take your board and slowly slide it into the transfer
2) next use some object (i used a paper clip) to try to adjust the board so it lines up with the design
3) now place the transfer and board on some surface. i put a paper bag down so it wouldnt mess up my desk.
4) now what ever iron you are using turn it up to the HIGH POSSIBLE SETTING (image 4)
5) once the iron is warmed up take it and press down on the board with about 20lbs of force for 20 seconds. (image 5)
6) turn it over and press for another 20 seconds.
7) turn it over again and let it cool for 1 minute or so and press for another 10 seconds.
8) turn it over again and press for another 10 seconds.
9) let it sit for 2 minutes.
10) now you can cut the tape and peel off the paper. hopefully the toner adheared to the baord. (image 6)
11) now go to your sink and using a paper towel and scrub off the white paper until you can see your crispy black lines.
12) if not use the brake cleaner and clean off the PCB completely and start over :(
PS: if you are lost in any of these processes this is a good video showing you how to transfer your PCB design.
now we are almost done. WOOO HOOO!!!!!!!
Step 6: Etching the PCB
now that we have our PCB transfered and ready for etching.... um lets etch it
MAKE YOUR OWN ETCHANT:
+Muratic Acid (image 1)
+Hydrogen Peroxide (image 2)
+PLASTIC measureing spoon (CANT BE METAL CAUSE THE ACID WILL EAT IT!!!!!) (image 3)
+and a PLATIC bowl (SAME REASONS)
1) Measure out 2 quantities of hydrogen peroxide and pour it in your bowl.
2) Measure out 1 quantity of muratic acid.
Ex. 2 tbls of hydrogen peroxide, and 1 tbls of muratic acid.
Keep in mind the 3 A's from high school chemistry class
always pour acid into water or what ever you mixing not water into acid!
3) Now you have your own etchant solution.
ETCHING THE PCB:
1) Go ahead and pour some etchant into a tuper ware bowl (if you made it you should already have it a bowl)
2) Use a plastic fork to slowly lower the PCB into your etchant solution. being carful not to splash.
3) Let it sit in the solution until you canot see any more copper, ecationaly lifting the board with the plastic fork just to get it all even.
4) Once you think its done remove the board and rinse it off with water.
5) get the brake cleaner and spray some on the board and scrub with a paper towel untill all the toner is off. Checking to make sure that all your traces are good and not broken.
yess we are so close to finishing this thing i can almost taste it.
Step 7: Drilling Holes
this step is pretty self explanatory but....
1) I would rather use a fine drill bit but those are hard to find so I went to the hardware store and bought a dremel bit set for 5 bucks. (image 1)
2) Pick out the bit you want making sure that its not too big or too small, and put it in your drill press. (image 2)
3) I put a piece of wood under my PCB (not actually the PCB cause I forgot to take pictures) so that it will be on a flat surface.
4) Drill all the way through the tabs where we will put our header pins. DRILL DRILL AWAY. (image 4)
Step 8: Soldering on the Header Pins
SOLDERING ON THE HEADER PINS:
+electronic solder (with flux perferd)
this is kinda a pain cause we dont have the privalage of through hole soldering, so we have to solder on both sides of the PCB.
1) place your header pin in the board
2) Solder in each pin on the side that says "TOP"
3) let cool
4) turn the board over and romove the black plastic it should just slide right off.
5) here comes the sort of hard part. solder the bottom of the pin and try to keep it relativly straight, or else it woulnt fit in the arduino. You must to this because we have a double sided pcb.
6) try inserting it into the arduino and if it doesnt fit heat up the solder and adjust the pins as needed.
Step 9: Testing the Adapter
If you dont have the Arduino program installed yet then go to www.arduino.cc/en/Guide/HomePage and follow the arduino getting started tutorial.
1) DOWNLOAD these 2 files
2) Create a new folder called "WiiChuckDemo" without the quotes.
3) Place those 2 files in the folder
4) Open up arduino IDE and goto file> open> and open "WiichuckDemo.pde"
5) Upload that sketch to your arduino
6) we are done with part 1
+various jumper wires
+the nunchuck adapter
+bread board or protoshield
+and a wii nunchuck
1) Plug in the adapter into analog pins 5,4,3, and 2 like image 1 shows.
2) Now were are going to put in all our ground jumpers, in a "daisy chain" style. (image 2)
3) Now put in all the wire going from the LED's positive legs to there coresponding pins on the arduino. (image 3)
UP led= digital pin 4
DOWN led= digital pin 5
LEFT led= digital pin 2
RIGHT led= digital pin 3
4) Now its time to place our leds into the bread board making sure that the short leg or the flat side on the led is in the ground, and the long leg is in the positive (or the wire going to the arduino digital pins) (image 4)
5) plug in you wii nunchuck
6) power up your arduino
7) and hopfully it will work if now leave a comment and i will try my best to help you.
8) heres a demo video
Runner Up in the