I know that in my last instructable I said I will be regular, but I have not.
Well, I did try, but I did not have any good ideas:
Wax covered match: KABOOM!*
Crayon candle: Fissssssss... KABOOOM!**
Fancy math art: Got the angles wrong!
Anyway I'm back with something that did not explode, so I hope you enjoy it.
Step 1: You Will Need:
An Arduino uno
A neopixel (mine is not the real thing but it works the same way)
A usb B to A type cable
The codes in step 4
Step 2: Connection (neopixel)
I soldered these wires on myself.
There is a red wire connected to 5v (positive).
There is a black wire connected to GND (negative).
And a grey wire connected to digital input.
Ignore the white wire, we are not using it in this project.
Step 3: Connection (Arduino)
Connect the RED wire to 5V, the BLACK wire to GROUND, the GREY wire to PIN 6, and the ARDUINO to the COMPUTER.
Step 4: Codes: Boring But Important
I can't provide codes because I do not have pro membership and that means I cannot upload downloadable files.
But here is where you get them:
Open arduino IDE
Click on 'examples'
Click on 'from libraries'
Select 'adafruit neopixel'
Do not choose button cycler, it is not compatible with how we set the neopixel.
The codes you can use are:
simple new operartor
In the simple new operator look for this:
// pixels.Color takes RGB values, from 0,0,0 up to 255,255,255
pixels->setPixelColor(i, pixels->Color(0,150,0)); // Moderately bright green color
Check those three numbers, 0,150,0.
The first zero is the brightness of red, the 150 is the brightness of green, and the last zero is the brightness of blue. Adjust these and make your own colors!
here is one more:
Step 5: Enjoy!
Show your cool neopixel to your family and friends!
And if you keep a lookout for my latest instructables you will not be dissapointed. JUST CLICK THAT ORANGE 'FOLLOW' BUTTON!