This is our first time using Arduino. We made a red, green, and blue LED light up for 1 second then go dark for 1 second, then repeat the process indefinitely until we step in and stop it. It was a fun way to be introduced into Arduino and things that have to deal with electric processes in combination with code.
Process
Above is an example of us modifying the code for the first circuit to light up for 5 seconds and turn of for half a second, then reapeat indefinitely.
A Potentiometer or as another name for it, a Variable Resistor, is a knob that has 3 pins. The two pins on the outsides of it have 5 volts running through. The middle pin outputs a voltage between 0 and 5 volts depending on the position of the knob.
This is the 4th circuit. It is a series of LED's lighting up in a row as shown then turning off. It works by taking power and running it to 8 LED's in order to form the light pattern as shown.
This is the 5th circuit. Every time you press ether of the buttons the LED lights up. If you press both at the same time, the LED doesn't light up.
This is circuit 6. It uses a light sensor to increase or decrease the brightness of the LED. if the sensor reads the light levels as dark the LED will be at its brightest. If the light sensor reads the light levels as bright, the LED will be at its dimmest.
This is Circuit 7, it uses a temperature sensor. The base temperature that it was reading was around 75 degrees. When someone was holding the sensor, it would read up to about 83 degrees. Below is an example of us hooking up an LED to the sensor so when it reads above 73 degrees the LED turns on.
This is Circuit 8. It is a servo that rotates about 180 degrees total. It isn't able to spin past 180 degrees.
Above is Circuit 8 but we changed the delay of the servo down to 100 milliseconds before rotating again, followed by the code.
This is circuit 9, we changed both the tempo of which it plays and the notes that are made. It plays theise notes in this order,
"g e C g efgf dfdg gf"