Using a standard (or clone) Wii Nunchuck for Arduino projects is straightforward and you have the standard joystick control, plus two buttons and an accelerometer too!
JLCPCB Only $2 for PCB Prototype any colour https://jlcpcb.com/
So you can use something that is easy to hold far better than the traditional mini-joystick modules.
More information (including all links, sketches & PDFs in my GitHub):
https://github.com/RalphBacon/198-Wii-Nunchuck-for-your-Arduino
### List of all my videos
(Special thanks to Michael Kurt Vogel for compiling this)
http://bit.ly/YouTubeVideoList-RalphBacon
### USEFUL NUNCHUCK LINKS
NB: I don’t recommend powering the Nunchuck from the Arduino 5v pins, use the 3v3 pin and GND instead.
Using a Wii Nunchuck with Arduino
https://create.arduino.cc/projecthub/infusion/using-a-wii-nunchuk-with-arduino-597254
Original article by Robert Eisele (author of the library too)
https://www.xarg.org/2016/12/using-a-wii-nunchuk-with-arduino/
Nunchuck LIBRARY (well, header file) from Robert Eisele
https://github.com/infusion/Fritzing/tree/master/Nunchuk
### HARDWARE
Classic Nunchuck Controller for Wii Wii U Black & White Color $6.75 + $1.21 shipping
https://www.banggood.com/Classic-Nunchuck-Controller-for-Wii-Wii-U-Black-and-White-Color-p-908998.html?p=FQ040729393382015118&utm_campaign=25129675&utm_content=3897
Amazon: VIPITH White Nunchuck Controller for Nintendo Wii Video Game Pack of 2 £9.99
https://amzn.to/33B6s9h
I2C Nunchuck Small Adapter Shield Module Board Geekcreit $1.52 + $2.27 shipping
Better value if you buy pack of 3 / 5/ 10 / 20
Single:
https://www.banggood.com/I2C-WiiChuck-Nunchuck-Small-Adapter-Shield-Module-Board-p-1175875.html?p=FQ040729393382015118&utm_campaign=25129675&utm_content=3897
Pack of 3:
https://www.banggood.com/3Pcs-I2C-WiiChuck-Nunchuck-Small-Adapter-Shield-Module-Board-p-1216607.html?p=FQ040729393382015118&utm_campaign=25129675&utm_content=3897
Nunchucky Click-in Nunchuck break-out adapter
https://www.active-robots.com/nunchucky-wii-nunchuck-i2c-breakout-adapter.html
If you like this video please give it a thumbs up, share it and if you’re not already subscribed please consider doing so and joining me on my Arduinite journey
My channel, GitHub and blog are here:
——————————————————————
https://www.youtube.com/RalphBacon
https://ralphbacon.blog
https://github.com/RalphBacon
——————————————————————
, https://i.ytimg.com/vi/sA74PdujjQI/hqdefault.jpg
source
You started the actual Nunchuck topic as of 14+ min., before that, all waste of time…
Uno and nano have an ADC pin. Pro Mini does not. I tried to use a mini for an Ardutester component tester and found out about the ADC being not there.
Hi Ralph if you are so fed up with you tube why don't you get on Lbry, i would gladly watch there instead of paying a ripoff £11.99 per month for premium!!! Don't do evil..my arse!
I've picked up a couple of nunchucks at local thrift storeds for $1/each for a future project.
They do seem like a very useful device for tinkering with.
Good to know. I don't have a project that can use this at the moment but I'll order one, just in case. I'm sure something will come up, and until that I'll just have something more to play around. Thanks for helping me to buy things I don't need 🙂 (Really)
I never thought I'd need the nunchuck again. Great video as always my friend.
I2c, so this controller has a i2c address? And the second controller another address? Great vid..
@13:53 he said do-do! 😆
Sorry, a bit childish I know 😏
Hello Ralph, what's your opinion on the i2c bus?
that middle pin is used by the wiimote to detect that the nunchuck has been plugged in
Surely you jest. What would you use it for (apart from an automated arse scratcher) that has not already made humans the laziest buggers on the planet. Surely this is yet another example of invention for the sake of it. Microsoft and Apple (to name but 2) already dominate the market of the "We've invented it, so you need it" syndrome. How about some projects that might keep folk safe in their homes, slow global warming, keep Trump from getting re-elected, and other useful ends ?????
But thanks for keeping me entertained with your always informative videos.
I used it for a robot controller joop brooking THANKS RALPH
Would be interesting to see how you will use this… So, can we say? "until next time" !
Quite a cliffhanger you are leaving here.
Looking interesting, I'll be waiting.
Cool that the Wii controller is I2C. Seeing the accelerometer output flooded my head with quaternion equations and that made me hungry. I know-strange isn't it. Mathematics has always stimulated my appetite. Cheers to you Mr. Bacon 🙂
Thanks Ralph. I have one of these laying around somewhere waiting for me to play with.
It’s a fantastic solution to joystick projects! Thanks for bringing it to people’s attention. I have a joystick on an hc12 shield with a selector button that lets me choose which of 3 robots to control with the joystick. You can’t beat a 7 channel transmitter for $7 all in!
Connecting the Nunchuck is sooo easy. but takes u 22min to do it…(with 10min of advertising). Next time plz show a task, for what it can be used. THAT would be a real Nunchuck video….
I am not suggesting any plagiarism (other than my own) but you are not the first to claim "Ceci n'est pas une pipe" . This video was far more interesting than I expected it to be (though your record should have calmed all of my fears). I can see this device being very useful, when coupled with an OLED display, to create very flexible input/output interfaces. The analogue feature could be used to control the speed of scrolling, the up/down could control up/down scrolling, while the left/right could select the mode of the input. The button feature would serve as selection. The various modes could be for date, time, text inputs etc.The fact that it could be plugged in as necessary means that the arduino (or espressif family, or STM etc. anything with I2C, in fact) could spend most of its time as a black box with a display, say controlling central heating. When one needed to adjust the temperature, time, date or even settings, one only has to plug it in. This interface could serve for many different devices serving many different purposes.
I too would not be tempted to use the acceleration metering. Mainly because of a wobbly right index finger. However I can imagine that the more dexterous could use various gestures to control the opening, closing and angle adjustment of vertical blinds. Though this may result in neighbours call the men in white coats. Great video , Ralph. LEDs and a long way beyond would be better name for this channel.
Hi Ralph, I know what the project is…Its an addon for Microsoft flight SIM 2020, which dosent get released until next week, that's why you're keeping schtum !…I do hope it's an anti aircraft ground to air missile launcher with active and passive computer phase locked loop simulation coupled with stereo bang sounds !…cheers!
For a good result with those bare joysticks, you would either need a 3D printer, or some mad wood carving skills…
The nunchuck already exists, and is cheap. Makes sense. Interesting that it's an I2C device.
Do you pay duty when you buy things from outside EU/UK?
The funny thing in Sweden is .. most of the time you don't get the post bag at all .. sometimes you pay the duty also and they don't deliver it to you (post office in Sweden). Tracking number tells you that the bag reached Sweden .. and after that .. nothing happens.
It is becoming too difficult to buy things outside EU .. and what will make it worst is UK is going out of EU .. what a shame.
I order an oscilloscope from Banggood .. The LCD was damaged by Swedish post (PostNord) .. I was waiting for more than 1 month after I knew the oscilloscope was arrived in Sweden. They didn't tell me that was damaged, they didn't return it to banggood either..etc. I couldn't get my item for about 3 months .. Banggood resent it to me and they made RMA to PostNord.
It is just so bad. Because of that I couldn't really try JLCPCB at all.. I don't trust our post service to deliver them..
I'm shoert and so would a6 and a7 if they lined up with breadboard holes.
I've had one of those nunchuck adapters and a bulk pack of cheap clone nunchuck controllers hanging around for a while (for yet another of my projects that never quite got off the ground!), but I never realised that you could just connect the output wires directly to the Arduino. I might revisit that using RJ45 connectors and plugs wired into the controllers, as I think they are tidier than the Wii connector. Thanks for another clear and informative video.
I'm revisiting an old robotics project and considering the nunchuck as one of the control inputs, so what a coincidence you've put a video up about it 😛
Did you know you can also get the nunchuck sockets from Aliexpress, and in limited quantities from Tindie? 😀
No ad's mid-toast today. only the position on the pins will be standard, no one is going to use the same colours in the wire! as with anything if you cut the plug off leave a bit so that you can buzz the wires back to the pins, this way you will get it right every time.
OK, that's already very well and good, but what exactly IS this project you're following? I can't think of how this would be useful to me, but if I knew what YOU were using it for, that'd help.
Very informative video SIR
Not even 7 minutes in and you’re already showing us code. Bitterly disappointed – from the antipodes. Now have wee on order. Nudge nudge wink wink.
Nice one
Hi Ralph. Another interesting project video, something I’ve been thinking of playing around with myself. Almost everyone has a few of these controllers laying around and they provide a rather polished input device. Nunchucks are also easy to come across at thrift stores, for dirt cheap. BTW-no mid-roll ads on this video!!