September 14th, 2022
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.
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.
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.