Circuit 1 - Blinking an LED
The code of Circuit 1 is intended to make an LED blink at a constant rate of 1 blink per second. When manipulated, the code can make the LED blink faster, slower, constantly, or irregularly. You can also add additional LEDs to the breadboard and the Arduino will light both LEDs. See below for the code and a video of Circuit 1 in action on the Arduino.
Circuit 1 tells the Arduino to repeatedly turn the LED on and then off and then on again through a "loop" code.
Circuit 2 - Potentiometer
The code of Circuit 2 is intended to utilize a potentiometer (dial) to change the speed of which a LED blinks. The further we turn the dial right, the faster the LED blinks. The same principle applies when the dial is turned left, except with the opposite reaction. See below for the code and a video of Circuit 2 in action on the Arduino.
Circuit 2 tells the Arduino to change the frequency in which a LED blinks through a sensor in a potentiometer (dial)
Circuit 3 - RGB LED
The code of Circuit 3 is intended to show the abilities of a RGB LED. The name of the LED, (Red Blue Green), tells by itself that this LED can create colors other than white through the use of additional pins and resistors. See below for the code and a video of Circuit 3 in action on the Arduino.
Circuit 3 tells the Arduino to turn on and display different colors by providing power to different color activating pins on the RGB LED.
Circuit 4 - Blinking Multiple LEDs
The code of Circuit 4 is intended to make multiple LEDs -- 8 to be exact -- blink in ascending order. Following this, the code will turn the LEDs off in descending order. Similarly to Circuit 1, the code can be manipulated to make the LEDs blink faster, slower, constantly, or irregularly. See below for the code and a video of Circuit 4 in action on the Arduino.
Circuit 4 tells the Arduino to turn each LED on one after another, and then turn off in reverse order. That's why the code is called "oneAfterAnotherNoLoop".
Circuit 5 - Push Buttons
The code of Circuit 5 is intended to utilize 2 push buttons to activate an LED. When either of the buttons are pressed, the LED turns on. When released, the LED turns off again. You can also press and hold one of the buttons and when you press the other one, the LED will turn off. See below for the code and a video of Circuit 5 in action on the Arduino.
Circuit 5 tells the Arduino to turn a LED on when the circuit is completed through a push button.
Circuit 6 - Photo Resistor
The code of Circuit 6 is intended to utilize a photo resistor to activate a LED. A sensor in the resistor tells the Arduino to light the LED when the surrounding area is dark. See below for the code and a video of Circuit 6 in action on the Arduino.
Circuit 6 tells the Arduino to turn a LED on when darkness is detected by the photo resistor.
Circuit 7 - Temperature Sensor
The code of Circuit 7 is intended to utilize a temperature sensor to evaluate and record the temperature of the air and/or things that are touching the sensor. The Arduino uses the sensor to detect the temperature, and sends the information to a sketch pad on the computer. See below for the code and a video of Circuit 7 in action on the Arduino.
Circuit 7 tells the Arduino to track and record the temperature of the air through a temperature sensor.
Circuit 8 - Servomotor
The code of Circuit 8 is intended to utilize a Servomotor to make a plastic arm move. When manipulated, we can make the arm move faster slower, further, or less. See below for the code and a video of Circuit 8 in action on the Arduino.
Circuit 8 tells the Arduino to send electricity to a motor, which in turn moves a plastic arm according to the code.
Circuit 9 - Buzzer
The code of Circuit 9 is intended to utilize a buzzer, otherwise called a Piezo Element, to create a line from a well-known Pop song. When manipulated, we can increase or decrease the tempo of the tones, and even create our own notes. See below for the code and a video of Circuit 9 in action on the Arduino.
Circuit 9 tells the Arduino to send electricity to a buzzer (Piezo Element) so that it may create a tune.