Image of the wiring schematic for circuit one
We manipulated the delay from 1000 milliseconds in the code to 50 milliseconds to make the LED blink faster.
LED blinking at constant rate
Circuit one's code function
Image of the wiring schematic for circuit two
We manipulated the name of the variable from "sensorValue" to "sensorValueTest".
The potentiometer controls the amount of voltage that goes through the circuit. This affects the speed of the blinking. (The less resistance, the faster the blink of the LED)
Circuit two's code function
Image of the wiring schematic for circuit three
The main function of the code. We manipulated the delay from 1000 to 500 milliseconds so that the LED would blink faster.
With an RBG LED you can create almost any color by changing the combination of colors and the brightness of each diode.
Circuit three's code function
Image of the wiring schematic for circuit four
We manipulated the order of the LEDs so that the LEDs light up in the middle first and then the outside LEDs light up afterward.
Blinking eight LEDs at once using a 'for loop' to control the order of the blinking. In this video, the LED on one end blinks first, followed by the LED next to it, and so on.
Circuit four's code function
Image of the wiring schematic for circuit five
The main code function of circuit five. We manipulated the 'and' and 'or' operators so that you have to press a different combination of buttons for the LED to function.
In this video, I pushed each of the buttons which turned the LED on. When I pressed both buttons, the LED turned off.
Circuit five's code function
Image of the wiring schematic for circuit five
The main function of the code for circuit six. We manipulated the range for the light level from (0,1023) to (300,800). This made the LED more reactive because it turned on at higher and darker light levels.
In this video, I put my finger over the photo resistor to create a lower light level that activates the LED. Taking my finger away makes the LED turn off.
Circuit six's code function
Image of the wiring schematic for circuit seven
The main function of the code for circuit seven. We manipulated the delay so that we received temperature updates twice every second instead of once every second.
The output received from the Arduino on the temperature inside.
Circuit seven's code function
Image of the wiring schematic for circuit eight
The main function of the code for circuit eight. We manipulated the numbers after 'servo1.write(90)' to 60 to turn the servo 60 degrees.
A servo is shown in this video rotating in various degrees.
Circuit eight's code function
Image of the wiring schematic for circuit nine
The main function of the code for circuit nine. We manipulated the delay from 'delay(tempo/10' to 'delay(tempo/3)' to make the pause between notes shorter.
The buzzer allows current to flow through the coil which pulls towards the magnet. This clicking is what creates the noise from the song 'Never Gonna Give You Up' in the video
Circuit nine's code function
Image of the wiring schematic for circuit ten
The main function of the code for circuit ten. We manipulated the speed to make it spin faster.
Tape is put on the top of the motor so the spinning can be shown in the video.
Circuit ten's code function
Image of the wiring schematic for circuit eleven
Image of circuit eleven's code. We manipulated the time delay to be shorter so that the LEDs would blink faster.
There is an electromagnet inside the relay that, when it receives a jolt of energy, trips a switch. This causes the LEDs to alternate blinking. *We were not able to get the yellow LED to flash
Circuit eleven's code function
Image of the wiring schematic for circuit twelve
This function in the code lights each of the LEDs one at a time in a row. In the conditions of the for loop, we manipulated 'index--' to be 'index = index - 2' so that it would skip every other LED.
In this video, we created an integrated circuit that uses a shift register. This gives the Arduino eight different outputs using only three pins which makes the LEDs blink as shown.
Circuit twelve's code function