The Nunchuck Shield Kit allows you to build a Digispark shield which connects a Nintendo Wii Nunchuck controller to the Digispark development board. It communicates with the Digispark over the I2C bus and allows you to read the accelerometer, analog stick, and button states with the Digispark. The provided examples show how to use this information in your project, output it over USB to the computer, or use the Digispark to make the Nunchuck into a USB Joystick.
This is an unassembled kit and requires basic soldering. This is designed for use with the Digispark development board, which is not included.
|Nunchuck Shield PCB||1|
|4.7K (4K7) Ohm 1/4W resistor 1% or 5%||2||Yellow - Violet - Red|
|1x40pin male 0.1” pitch header||9 pins worth|
Resistor Values: For more information on how to identify the value of the resistors we recommend these sites: A nice simple resistor calculator: http://www.ealnet.com/m-eal/resistor/resistor.htm A comprehensive article on identification: http://www.diyaudioandvideo.com/Electronics/Color/
Soldering: If you are new to soldering we recommend the following tutorials: Soldering Basics (http://www.sparkfun.com/tutorials/106) and Soldering Crash Course from the folks at Sparkfun (http://www.sparkfun.com/tutorials/354). How to solder from the Curious Inventor: http://store.curiousinventor.com/guides/How_to_Solder
Adafruit has this excellent guide that starts with the tools needed and then shows detailed pictures, including some of the common problems that beginners experience (http://learn.adafruit.com/adafruit-guide-excellent-soldering)
We assume for these assembly instructions that you know the basics of thru-hole soldering. If you don't check out the links above, these boards are very easy to solder - we promise!
NOTE: If you have a “Model B” board you may need to cut the trace to the onboard LED before using any I²C devices - Find out how to tell which board you have and what to do in modelbi2c.
Empty kit bag (or if using a raw PCB, acquire parts) and verify contents. Note: Headers mya not be included in each kit bag, but the entire order will come with more than enough headers for all kits.
Solder resistors one at a time. Solder the leads and clip off the excess. Repeat for all resistors.
Cut a length of male headers 6 pins long and one 3 pins long. Insert into corresponding positions (on the bottom of the board) and solder each pin.
Tip: Inseting the headers into a breadboard and then placing the board on top can make this process easier.
Note: If you are using stackable headers, use them here instead of the standard male headers.
IMPORTANT Connect the Nunchuck controller with the groove in the controller connector facing up (this may appear like the wrong way if you look at the pins in the nunchuck connector).
Your Nunchuck shield is complete!
NOTE: We've had the best luck with Nintendo brand Nunchuck controllers, some generic ones don't seem to work with the demo code provided.
The pin connections are as follows:
Digispark P0 → SDA
Digispark P2 → SCL
The I2C Address is 0x52
Please refer to the DigisparkNunchuck→Examples included with the Digispark Arduino Addon.