This circuit requires components such as an LED, 300ohm resister, and three jumper wires. When it is properly set up and the code is verified to the Arduino, it will turn the LED on and off. In the image above, the set up of the jumpers, LED, and resistor are shown in their respective locations.
Every circuit has a schematic that shows the model of it. Each component has their own symbol to easily demonstrate the circuit.
For being the first circuit, the code is fairly simple. The code would turn the LED on and off and continue to loop it. It can be manipulated by changing the delay to make the LED blink slower or faster.
Below is a video of the Arduino in action! Our team changed the delay time in order to make the LED blink faster.
This circuit uses one LED, a 300 ohm resistor, six jumper wires, and a potentiometer. The potentiometer measures the amount of voltage it sends out. This will control the speed that the LED blinks based off of what direction it is dialed in.
Despite the fact that the code could not be manipulated, it still plays a crucial function in this circuit. The code helps determine how fast the LED will blink according to the potentiometer and create the loop.
Here is my teammate and I turning the dial on the potentiometer. As you can see, the LED will vary in the speed it blinks- sometimes will blink faster, while others it will blink much slower.
In this circuit, the colors of the LED will be changing color. This requires an LED (clear), three 300ohm resistors, and six jumpers. The LED has four components it can connect to on the breadboard: blue, red, green, and common. This helps it change colors for when it comes to the code.
Here is a portion of the code. The code is split into different segments for when the colors change on the LED. Each of the colors have "base" numbers, for example 511 is pure blue and 767 is pure red. The code can be manipulated so that the number placed into the code is in between 511 and 767 creating a purple color. The delay could also be manipulated so that the colors can change faster or slower.
This circuit involves multiple LEDs lighting up in a pattern as stated by the code. It needs eight LEDs, eight 300ohm resistors, and ten jumper wires. Each of the LEDs are linked with a wire and a resistor (other than the two jumpers that are connected to GND and 5V).
The LEDs are set up in an array in the code (index) so that they are organized and referred to by their location. The circuit turns all of the LEDs on in a systematic pattern dependent on the delayTime. The delay can be changed in order to have the LEDs blink quickly or slowly.
With this circuit, the pattern can be changed. For example, they can be in turn- such as this code- or they could be random or light the LEDs from the middle to the ends.
This circuit requires two push buttons, one LED, two 10k resistors, one 330 ohm resistor, and seven jumpers. The goal of the circuit is to turn on/off the LED with the two buttons.
There is not much manipulation that can be done to the code of this circuit. The code is designed for when one of the push buttons are pressed, it turns the LED on; and if both buttons are pressed, it turns the LED off.
< Here is the circuit in action.