Illustration of Circuit One
Schematic and explanation of Circuit One
The goal of Circuit One is to have the LED blink by turning on for a second and then off for a second before repeating itself indefinitely.
The schematic shows how the power flows and that the LED is connected to pin 13 of the Arduino.
Circuit One Video
Circuit One Sketch
This is the original Circuit One's sketch, without any changes to it. and a video of it being run on the Arduino Board. The sketch has the LED turn on for a second and then off for another, looping the code until made to stop.
Video of altered Circuit One
Sketch of altered Circuit One
The sketch of Circuit One was altered to have the speed of the delays changed. By making the delay times 100 times smaller (1/100th of a second), it made it so that the blink was barely noticeable on the LED.
Illustration of Circuit Two
Schematic and explanation of Circuit Two
The goal of Circuit Two is to have the LED blink at different rates depending on how the potentiometer was turned.
The schematic shows how the power flows, as well as that the LED is connected to pin 13, and how the potentiometer is in between Pin A0 and +6 volts.
Circuit Two Video
Sketch for Circuit Two
This is the sketch of Circuit Two and a video of it running. In the video the potentiometer is being turned so that the LED will blink slower or faster.
Potentiometers work by having the notch on the top of it turned. It has three pins, two of which are connected to a resistor and the third is connected to a adjustable wiper. As well as having one the pins is connected to the GND, another is connected to the Vcc, and the third (middle pin) being the voltage output. When the wiper is turned it changes the output voltage. This is what allows it to make the LED blink faster or slower.
Illustration of Circuit Three
Schematic and explanation of Circuit Three
The goal of Circuit Three is to make the LED change colors.
The schematic shows how the power flows and how the pins are all connected the LED and how that will allow it to change colors.
Circuit Three Video
Photo of Circuit Three
This is a photo of Circuit Three and a video of it running. In the video the circuit has the colors change gradually as well as well as by blinking.
Video of altered Circuit Three
Sketch of altered Circuit Three
The sketch of Circuit Three was altered to have the code that started with "digitalWrite" and "delay" have the two slashes in front which means that the arduino board wouldn't read that part of the sketch.
Illustration of Circuit Four
Schematic and explanation of Circuit Four
The goal of Circuit Five is to have the LED turn on and off depending on whether the button is being pressed or not.
The schematic shows how the power flows and how the buttons can stop the flow or allow it to continue.
Circuit Five Video
Video of Circuit Five sketch
This is the sketch of Circuit Five and a video of it running. In the video the LED is off until the button is pressed allowing the voltage to go back to normal and power the LED.