https://player.vimeo.com/video/463370355
I used photocells as variable resistors to instead the FSRs for the lab, and wire clips to connect a speaker to my breadboard.
However, what I actually tried at first was to use 2 potentiometers instead of FSRs as right image:
I also placed a 10kΩ resistor at the junction of the two branch circuits of the potentiometers to avoid short circuits. After checking the sensor input range, I got a range very similar to the example. However, when I uploaded the final code to the Arduino, nothing happened... The speaker kept humming and its frequency didn't vary when I turned the knob.
https://player.vimeo.com/video/463370224
This part is so much fun, though it's kind of complicated to understand the comprehensive programming.
I directly used male-male jumping wires to connect the servo motor and the breadboard. I think this is exactly the same as our course pages.
If I have these wires, I don't need to connect the header pins to the servo motor connector, right?