This is an illustration of the first completed circuit.
This is the sketch of the working circuit, the delay of 1000ms can be changed to speed up or slow down how long it is in between blinks.
This is a video of the working circuit, with the light blinking every second
This is the manipulated sketch to make the LED blink faster, blinking every 10 milliseconds.
This is a video of the arduino with the modified sketch, making the LED blink at a speed that is hard to see.
This is an image of the completed circuit for circuit 2.
This is the sketch for the circuit, which makes the speed of the LED's blinking change based on the potentiometer
This is a video of the potentiometer being turned, the blinking speed of the LED increases as it is turned and stops when completely turned.
The potentiometer is a voltage divider, working as a variable resistor that will change the voltage outputted between 0 and 5V depending on where the dial is rotated.
This is an image of the completed circuit for Circuit 3
This is the original circuit being ran
This is an image of part of the sketch used for Circuit 3
Here is my completed circuit, with the light alternating colors through the rainbow.
Here is a diagram of the completed circuit.
This is the original function in the sketch, turning on each of the LEDs one after the other with multiple on at once.
The circuit running
Here is a video of the circuit blinking one at a time.
This is the function for this video, turning on each of the LEDs one at a time in a row
Here is a video of the circuit blinking ping pong.
This is the function for this video, with the light bouncing from one side to another.
This is a diagram of working circuit 5.
This is the sketch of circuit 5, when a button is being pressed it turns the LED on.
This is a video of circuit 5 being used, when I press the button the light turns on.
This is a diagram of working circuit 6.
This is the initial manualTune function, which starts out dim and turns bright.
This is the autoTune function, which I enabled by uncommenting the call and commenting the other one.
Here is it being used, you can see that it is off automatically and the light turns on in darkness. The pros are that you don't have to manually adjust it and it changes for different situations automatically, but the cons are that you can't modify it to fit exactly how you want.
This is the modified range for the manualTune, making it start off but get bright when covered.
This is the modified version being used, where it is off normally, but turns bright when you cover it. The pros of this are that you can fine tune it to fit exactly how you want it, but it takes a lot of trial and error to find the right light levels.
This is a diagram of the circuit.
This is a gif of the sketch used for the circuit.
This is the output temperature when the original sketch runs.
Here is a video of the circuit running.
Here is my completed circuit, where when the temperature goes above 80 degrees the light turns on, and below it it turns off.
I changed this section at the top of the sketch, adding lightLevel, pinMode, and the ledPin.
I added this in the loop, so that it runs while looping, allowing for the light to turn on and off.
This is a diagram of the circuit.
Circuit #9
Circuit #10
Circuit #11
Circuit #12
Here is a video of my finished circuit, I combined elements of circuits 3 and 5, so that there is an RGB LED that changes color, but you can change the color of it through pushing a button, cycling through each programmed color.
This is my finished code, which sets up states for each of the buttons and colors and uses input and output to cycle through a set list of colors when a button is pressed.