D1 Mini Nunchuck Shield
D1 Mini Nunchuck Shield
I am selling Brian Lough's designs under licence, for any support issues please contact ourselves for any questions/issue.
What is it?
This kit is a shield for connecting a Nintendo Wii Nunchuck controller to your D1 Mini ESP8266 or the Devkit Mini32 (often referred to as an ESP32 D1 Mini).
The PCB has a notch on it that is designed to fit inside the port of your Nunchuck.
Why did you make it?
The Wii Nunchuck is a terrific input device for Arduino projects. They have the following available to them
- Analog stick
- Two Digital buttons
- Accelerometer
And because they are i2c devices, you get all the above functionality with only using two pins from your micro controller!
Even if you don't have one around already they can be picked up very cheaply second hand, I paid €3 for some in a local second hand shop and can be bought on Aliexpress for about $4 or $5 delivered.
What makes it special?
This shield makes it super simple to start using a Nunchuck with your project, just plug the shield into your D1 mini and connect the nunchuck and you are ready to rock! I have created some examples to get you started.
The shield also has some pins broken out that can be used with servos, this can be used to build interesting devices that can be controlled with the Nunchuck!
What is included?
Each D1 Mini Nunchuck Shield is a kit and comes with the following:
- D1 Mini Nunchuck Shield PCB
- 2 x 8p Male headers
If you add the "Servo Headers" option you will get the following
- 3 x 3p Male Headers
- 1 x Toggle switch (0.5Amp, so may need to be replaced if you use bigger servos)
There is also a "Screw Terminal" option that you can add for powering 5V from an external source
- 1 x 5.01mm Standard Screw terminal
Please note: to use this board you will need a D1 Mini ESP8266 board or a ESP32 D1 Mini board.
Documentation and assembly instructions
Assembly Instructions video here: https://www.youtube.com/watch?v=28pY1wTz_N4
The most important thing to note is that Nunhuck needs to be put into the shield a certain way, there is a notch on the metal part of the nunchuck that should be on the same side as the message "Nunchuck notch faces up!" on the PCB.
For assembly, this shield is designed to slot on top of a D1 mini. The D1 mini should have female pins on the same side of the board as the ESP8266 (same with the ESP32 version). The shield should have the "Nunchuck notch faces up!" message on top, with the male header pins soldered underneath so it slots into the D1 Mini". The shield has a notch on one of the corners that lines up with the reset button.
For the ESP32 D1 Mini, use the 8 inside header pins on each side closest to the antenna (there will be two spare headers near the USB side)
The switch is a way of easily cutting power off from the servos if required.
The shield uses the default i2c pins of the ESP8266 (SDA == D2, SCL == D1) so should be usable with any other i2c shield where the address doesn't clash (Nunchuck's address is 0x52)
Please Note: There is a Typo on silk screen, The pin in between the D5 and A0 pins should read D0 (but reads D4). This will be fixed in the next version.