September 14th, 2022


Lab: Digital Input and Output

Changing LED with Pushbutton

Screen Shot 2022-09-15 at 4.52.08 PM.png

IMG_5751.MOV

The code and breadboard set up didn’t make a lot of sense to me at the start. However, going through the reading and flipping back to the microcontroller details with information on the pins helped a lot.

I also had some questions about why the use and placement of the resistor on the breadboard, as well as how the circuit conceptually works with data in conjunction to electrical power (since I mostly understood circuits in relation to batteries or electrical energy powering LEDs and not so much data connections and programing). I was able to get my questions answered by the residents during the workshop, which was very helpful and informative.

Lab: Analog Input

Changing LED and Speaker Tone with Potentiometer

Screen Shot 2022-09-16 at 4.50.40 PM.png

IMG_5771.MOV

IMG_5769.MOV

I was pleasantly surprised that speakers could be connected in this way to a circuit! Since it seemed like a metal part, I was dubious that it would play sound. However, I felt accomplished when I started changing the sound with the potentiometer.

Changing LED Brightness with Force Sensing Resistor

Screen Shot 2022-09-16 at 5.45.17 PM.png

IMG_5773.MOV

I had a hard time getting the green LED to light up even though my red LED worked fine. A classmate suggested changing the sensor value for my green LED in my map function, which solved the issue! I think it has to do with the LEDs needing different amounts of electrical power, but I haven’t had a chance to think it through yet. Regardless, seeing the LED brightness change in accordance to the pressure put into the force sensor was a new experience, since I have mostly been working with pushbuttons and potentiometers that don’t varying a lot based on my interaction with the component.