Check out the final product in action!
http://www.youtube.com/watch?v=YBNEImY_uzQ
Remove these ads by
Signing UpStep 1Materials
Components:
- Nintendo Wii Nunchuck Controller, available at various retailers
- Teensy 2.0 USB Development Board, available at www.pjrc.com
- USB cable, available at www.pjrc.com
- Breadboard (for prototyping), available at www.sparkfun.com
- 22 Gauge Wire, available at www.sparkfun.com
- Solder, available at www.sparkfun.com
Aside from the components listed above, you should have access to various tools such as a soldering iron and ancillary hand tools. Additionally, you should have basic soldering skill and working knowledge of the Arduino environment before embarking on this journey.
| « Previous Step | Download PDFView All Steps | Next Step » |












































je parle que le français, je sui très intéressé par ton nunchuck.
Je voudrais t'en achté un peut tu m'en faire un je te paie d'avance.
merci de me répondre j'attend avec impatience best regard
However, as I understand it, the accelerometers output analog data just like the potentiometers so it would be very difficult to add them for a scrolling function or something else all together. The only tricky part would be to find where the accelerometer outputs are located on the nunchuck circuit board.
Thanks
-TheWaddleWaaddle
Thanks for the interest!
I downloaded a different browser to see if it was my browser, but whenever I download it, it turns from "teensy_mouse_clean.pde" to "F0T0YIKGQ5Q49T.tmp", which the Arduino IDE continually refuses to open. I tried converting it to a .pde file, but none of my attempts worked. If you could, could you please email it to me directly? God bless you for your help!
-TheWaddleWaddle
I haven't got your skills, knowledge and talents I was wondering if I could buy a working model off you? If I can can I use a really groovy nunchuck as the base or do the covers come separate? I'm in my 40's now so a little old to know about the latest gaming platforms as I havent had them due to my condition but this may open my world to a lot of other gaming capabilities through the PC. I would especially like to try a first person shooter but using arrow keys etc has been a really bad experience for me.
Thanks for any feedback dude!
In your code, you seem to have defined center analog values as constants. Although it works, I'm not sure if the same values would work for everybody. If anybody attempts this project and experiences the mouse cursor slowly "drifting", you would need to make changes to those constants.
This may become a major issue as the Nunchuk becomes older, wear and tear might prevent the joystick from returning to the true center position. Or some "play" might develop in the joystick mechanism.
One technique to solve the above problem is to take one reading upon power-up, making sure that you let go of the joystick during power-up. Use that initial reading as the center reading instead. This technique is essentially re-calibrating the center value upon every power-up
Another technique is to simply implement a "dead zone" in the center such that if the joystick is anywhere within this "dead zone", then you don't actually move the mouse cursor. This technique is implemented inside the Wii Classic Controller's firmware (at least in my knockoff version) and my MadCatz PS2 controller.
I'll upload that code shortly. Anyone interested in trying to make one can do this quick check during the breadboards prototyping step.
As for the reading the potentiometer value at start-up. That is a good idea, I'll look into it. Thanks for the input!
nerd-potential-gasm
This is the missing piece for a project I've been wanting to do (well, do properly) for so long... I'm going to have to get one.
The Teensy software is only needed to program it.
you can do almost everything with it.
very nice idea