Posts

Showing posts with the label Buttons

Arduino Paper Controller (Buttons, Slider)

Image
This project allows you to draw your own controller to be used with anything.  It utilizes capacitive sensing and the conductive properties of graphite to send data to an Arduino board. Materials: Alligator clips: https://amzn.to/2qYmKEB Arduino:  https://amzn.to/2DLjxR2 Breadboard:  https://amzn.to/2RYqiSK Jumper wires:  https://amzn.to/2Q7kiKc 10M Ohm Resistors  (x3):  https://amzn.to/2DMx3Ux Pencil Paper Servo Motor:  https://amzn.to/2S6E5GZ LED (x2):  https://amzn.to/2S5PFlM resistors for LEDs (Usually 220 Ohm)   (x2):  https://amzn.to/2DMx3Ux Step 1: Draw Controller You are literally drawing your controller on a piece of paper: Be sure to use pencil (graphite is conductive) Make a few buttons and maybe a slider or two.   Be sure to draw a line leading to the edge of the paper to give room to the alligator clips Step 2: Make Circuit I forgot to include the two led resistors (jus...

Arduino: Wii Nunchuck Full Functionality

Image
The Wii nunchuck is an attachment for the Nintendo Wii controller. It combines a two-axis joystick, a three-axis accelerometer, and two buttons into one package. Tod Kurt previously created a library for the nunchuck intended for use with his product, the  WiiChuck Adapter . Since this product has been discontinued at SparkFun, I will show you how to use a Wii nunchuck with Arduino without the use of an adapter. Materials: Wii Nunchuck:  https://amzn.to/2qWBpQM Arduino:  https://amzn.to/2DLjxR2 Jumper wires:  https://amzn.to/2Q7kiKc Step 1: Plug Into the Controller The Wii nunchuck has 6 pins, but we only need to use four of them. Plug some jumper wires directly into the corner pins of the nunchuck. Step 2: Connect to the Arduino The nunchuck pins are all plugged directly into pins A2 - A5 on the Arduino board. They go as follows: Top left to A5 Top right to A2 Bottom left to A3 Bottom right to A4 Step 3: Upload Code T...