Circuit #1 - Blinking an LED
This is an illustration for the completed circuit for circuit one.
This is the code for the working circuit, with a delay of 1000ms that can be manipulated to blink faster or slower.
This is a video of the working Arduino circuit, which is the LED blinking.
Process
This is the manipulated code to make the LED blink faster.
This is a video of the manipulated circuit code, and the faster blinking LED.
Circuit #2 - Potentiometer
This is an image of the completed circuit for circuit 2.
This is the code for the circuit, which determines how fast the LED should blink based on the potentiometer.
This is a video of the dial of the potentiometer being turned. The LED's blinking speed changes as the dial is turned left and right.
Process
The potentiometer is also known as a variable resistor, and it works by changing the amount of voltage it releases which is from 0 to 5 depending on the location of the knob.
Circuit #3 - RGB LED
This is an image of the working circuit board for circuit #3.
This is the main part of the code.
Depending on the brightness of each diode, and the combinations of colors, many different color combinations can be used in a RGB LED.
This is the code function for circuit 3.
Process
Circuit #4 - Multiple LEDs
This is an image of the working circuit board for circuit #4.
This is circuit 4's code function.
This is the original code for the LEDs.
Process
This code includes a for() loop to change the order/pattern of the LEDs lighting up. When the ping pong code is turned on, it used this loop to bounce the light from one end to the other like seen in the video.
The for() loop is used again in this code function, the marquee code. When this is enabled, the lights move in a way that looks like a LED sign that you would see.
Circuit #5 - Push Buttons
This is an image of the working circuit board for circuit #5.
This is the code for circuit 5. When one button is being pressed, it turns the LED on and when both are pressed the LED is turned off.
This is a video of circuit 5 where the LED turns on and off according to the buttons I pushed.
This is circuit 5's code function.
Circuit #6 - Photo Resistor
This is an image of the working circuit board for circuit #6.
This is the code for circuit 6. We manipulated the code by changing the range of light level from its original range, (0, 1023), to (300, 800). This caused the LED to work better by turning on and off at brighter and darker ranges.
Process
This is a video of the autoTune() function. The pros of this is that it is automatic, and no code has to be manipulated, but the cons of this is that the brightness can't be adjusted to work better.
This is an image of the code function for autoTune().
This is a video of the manualTune() function. The pros of this is that you can change the range of brightness and darkness that it has, cons being that you have to manipulate the code yourself to see what range works best.
This is an image of the code function for manualTune().
Circuit #7 - Temperature Sensor
This is an image of the working circuit board for circuit #7.
This is the main part of circuit 7's code
This is the recorded temperature from the Arduino.
This is the code function.
This is a video of the working code for circuit 7, where the recorded temperature changes as I use my hand to cover the temperature sensor.
Process
Circuit #8 - A Single Servo
This is an image of the working circuit board for circuit #8.
This is the main part of the code for circuit 8.
Code function for circuit 8.
This is a video of the servo following the original code with no manipulations.
Process
This is the manipulated code for circuit 8, with changed degrees as well as delay times.
This is a video of the servo following the manipulated code with new degrees and delay times.
Circuit #9 - Buzzer
This is an image of the working circuit board for circuit #9.
This is an image of the main parts of the code for this circuit.
This is the code function for circuit 9.
Process
Manipulated code for the circuit. I changed the song notes, song length, and beats to play the song Happy Birthday.
This is a video of the changed code making the buzzer play Happy Birthday.
Circuit #10 - Spinning a Motor
Circuit #11 - Relays
Circuit #12 - Shift Register