Arduino is an open-source physical computing platform designed to make experimenting with electronics more fun and intuitive. Arduino has its own unique, simplified programming language, a vast support network, and thousands of potential uses, making it the perfect platform for both beginner and advanced DIY enthusiasts.
Circuit 1's code function
In this video, you can see that in circuit 1, the LED is blinking at a constant/continuous rate. It is blinking slightly faster than the original code because we manipulated the code from 1000 milliseconds to 50 milliseconds.
Image of the schematic for circuit 1
Circuit 2-Potentiometer
Circuit 2's code function. We changed the name of the value from "sensor value" to "sensor Value test"
In circuit 2, the potentiometer changes the brightness of the LED. Potentiometers are some of the more common electronic devices you can find in modern technology that controls volume or brightness.
Image of the schematic for circuit 2
Circuit 3- RGB LED
Circuit 3's code function. The delay was manipulated from 1000 to 500 milliseconds, causing the LED to blink faster.
With an RBG LED, you can create almost any color by changing the combination of colors and the brightness of each diode.
Image of the schematic for circuit 3
Circuit 4- Multiple LEDs
Circuit 4's code function. The there was no manipulation in the code for this one
In this video, there are eight LEDs blinking at once, using a 'for loop' to control the blinking order. The LED on one end blinks first, followed by the LED next to it, and so on.
Image of the schematic for circuit 4
Circuit 5- Push Buttons
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, when I pushed just 1 button, the LED turned on. When both buttons were pressed, the LED turned off.
Image of the schematic for circuit 5
Circuit 6- Photo Resistor
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 the video, putting my finger over the photo resistor creates a lower light level, thus activating the LED. As my finger moves further away and blocks less light, the LED gets dimmer, and eventually turns off.
Image of the schematic for circuit 6
Circuit 7- Temperature Sensor
The output received from the Arduino on the temperature inside.
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.
Image of the schematic for circuit 7
Circuit 8- A single Servo
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.
Image of the schematic for circuit 8
Circuit 9- Buzzer
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
Image of the schematic for circuit 9
Circuit 10- Motor
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.
Image of the schematic for circuit 10
Circuit 11- Relays
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
Image of the schematic for circuit 11
Circuit 12- Shift Register
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.
Image of the schematic for circuit 12