GIF of initial blinking lights sketch
The code for the blinking lights in the sketch
GIF of the circuit edited to blink extra fast
The edited code in the sketch
GIF of potentiometer dial adjusting the LED's blinking speed.
The sketch for the circuit.
A potentiometer basically acts as an adjustable resistor. It has three pins, the two outer pins being used to connect to power and ground, while the middle one outputs a signal between 0V and 5V depending on the position of it's dial. The Arduino can use the value of the position of the knob for whatever you may want.
GIF of the circuit using the initial sketch.
The loop function in the initial sketch.
GIF of the circuit with the edited sketch.
The edited loop function in the sketch.
GIF of the circuit using the initial sketch.
The unedited loop function.
GIF of the circuit using the altered sketch.
The loop function altered to play two extra functions.
Demonstration of the sketch's logic
The logic for the buttons.
Demonstration of the manual function.
Important parts of the sketch
Demonstration of the automatic function.
The functions in the sketch.
The base circuit and the serial monitor showing temperatures.
The base sketch.
The circuit with an LED that turns on after the temperature sensor reaches 75 degrees F.
The sketch edited to turn on an LED after 75 degrees F.
The servo motion set by the initial sketch.
The initial movement code for the servo in the sketch.
Custom motion using the edited sketch.
The edited movement code for the servo in the sketch.
Circuit playing original sketch's song.
Original music code in the sketch.
Circuit playing Imperial March from Star Wars.
Code in the sketch for the custom song.