.
By using the project 1 code in the pre-written USK-Guide-Code, we used an Arduino Uno, breadboard, LED bulb, resistor, and jumper wires to create a blinking light.
Process: Changing the frequency of the light
delay(10);
digitalWrite(13, LOW);
delay(1000);
By manipulating the delay in the code, we allowed the light to quickly appear and dissapear to reduce the about of blinks per second.
We created a new blinking light, this time including a potentiometer which allowed the blink frequency to increase and decrease depending on how much the knob was turned in either direction. (<- process)
Spinning potentiometer to adjust blink frequency:
We used an RGB light along with a constant code in order to allow the lights in the RGB to consistently change color infinitely
Process: we inserted a showSpectrum() code in order to allow the colors to swap smoothly in rainbow order.
This time, we had multiple LEDs in the code along with a void loop command, allowing the LEDS to blink consecutively back and forth.
Process: Adding another function to the code. We decided to make it so the LEDs blink randomly, so we added the randomLED() function to the code:
In this circuit, we added push buttons that allow the LED's to light up when the buttons are pushed down.
A photo resistor is a device that can be used to cause reactions depending on light level. In this case, we manipulated the code to allow for the LED to activate when the light level reaches its "low" point.
Process: manualTune() and autoTune() are two different functions that we expieremented with as well. The autoTune function allows for the reaction to happen automatically, while manualTune() allows the user to initiate the reaction themself.
As shown in this image taken from the data collector built into arduino, we installed a tempurature sensor to collect data
In this project, we allowed the code to create a singular spinning servo. For our process, we manipulated the code to create a different spin pattern.
In this experiment, we used a piezo element to play a song written in code. Then, for a process grade, we wrote our own recognizable song and played it through the same device.
We attached a motor to our circult and made it rapidly spin! (Unforunately our tape got stuck a few times but we still made it work)