This is a simple flex glove that can control light or you can use it to control other things but we just going to stick with lights for now.
- Any arduino you see fit I have arduino UNO
- 4 10k resistors
- 4 230k resistors
- 4 LEDs
- 20 wires
- 4 flex sensors
Step 1: Setup LEDs
When setting up the LED you want to solder the resistor and a wires on the long leg and one wire on the short leg.
Basically you want to solder the 230k resistor to the long led first, then you want to solder a red(or any color) to the other end of the resistor. Next you want to solder a yellow(or any color) to the short, thats the one that will be in a PWM pin.
Step 2: Flex Sensor Setup
First you want to solder a black(or any other color) to the left leg, then you want to solder the 10k resistor to the right side, then grab a yellow and red(or any other color) and solder both to the other leg of the resistor(you may want to cut your resistor shot so the wire isn't to long). The yellow will go into a analog pin, the red goes into power and the black goes into ground.
Step 3: Code
The code is very simple and you can change it to fit your needs.
PS: Don't worry about the commented out variables, they were just test and REMEMBER the LEDs must be on PWM pin or your flex sensors wont be able to control the fading of the LEDs.