Use a Wii-Nunchuk as an NXT Sensor!

www.pdf24.org    Send article as PDF   
The Wii Nunchuk is designed to work together with the Wii Remote on the Wii console. Contoured to fit perfectly in your hand, the Nunchuk adds extra buttons, an analogue joystick, and additional motion-sensing control to expand the game play possibilities. It is also an I2C type device which makes interfacing to the Lego Mindstorms NXT easy. You can pick-up a Wii Nunchuk from eBay for under $10, and a pack of 5x NXT Compatible Male Plug from Mindsensors for $5.95. In essence a new NXT Sensor/Controller for under $20.00.


I produced the original NXT-Nunchuk a couple of years ago and have posted details in other forums, but I never my own till now to post it on my blog.

And it Uses the I2C 2-Wire Data Protocol …………….

 


Bill of Materials Required:

1x Nunchuk

1x NXT Compatible Male Plug

2x resistors 33k

1x diode 1N4148

Lets Begin the Construction Process:
Open the Nunchuk case with a small screw-driver (1,5mm) as shown in the Video.
Wii-Nunchuck Controller PCB Wii-Nunchuck Controller PCB
You should now have the Wii Nunchuk’s Circuit Board as pictured above.

Now de-solder the 1,8k pull-up-resistors R1 and R2. No fear of SMD. SMDs sticks to the soldering iron!

Circuit Diagram

Now solder the new pullup resistors. The Lego reference design suggests 82kohm pullup resistors for I2C I found out, that 33kohm is the best value for stable connection. I changed the SMD resistors, but if you have no SMS resistors use common 1/4W size and solder the resistors on the connection cables. Additionally I mounted a drop-voltage-diode to reduce the voltage of the nunchuk.


NXT Zamor Bot with the Modified Wii Nunchuck Controller

Now cut the original Nunchuk cable connector of and strip the white insulation back by about 10mm to expose the conductors. Carefully spread them out in the correct order matching the circuit diagram order. Now using an original Lego Mindstorms NXT Black Connector Cable as a reference, slide the ordered coloured wires into the NXT Compatible Male Plug.

Carefully place the NXT Compatible Male Plug on a solid surface and take a small “Blade” Screw Driver and individually push the 6 Brass pins in the plug home. Next test that the new plug fits easily into the NXT’s Sensor Sockets.

To finish the plug and make it secure. Get some 5 Minute Araldite and fill the back of the plug where the cable enters. Leave to dry for an hour, before carefully reassembling your Wii Nunchuk

Video of My NXT-Nunchuk Controlled Zammor Bot in Action!
 

View RobotC Nunchuk Library

 

Need-More-Bricks

RobotC Example Source Code:

 

JAVA Source Code:

 

NXC Source Code:

 

Need-More-Bricks

Previous Post

Mindstorms NXT FlexiBot - Test #1

This Lego Mindstorms NXT FlexiPicker is based on the ABB IRB 360 FlexPicker. The IRB 360 FlexPicker™, is the SECOND GENERATION delta robot  for precision pick and place applications. The ... Read more

Next Post

Mindstorms NXT FlexiPicker - Test #2

This Lego Mindstorms NXT FlexiPicker is based on the ABB IRB 360 FlexPicker. The IRB 360 FlexPicker™, is the SECOND GENERATION delta robot for precision pick and place applications. The ... Read more

Short URL: http://tinyurl.com/j7q2xw5

Leave a Reply

Your email address will not be published. Required fields are marked *



Do NOT follow this link or you will be banned from the site!
error: Content is protected !!