πŸŽ™οΈ Tone Output Using an Arduino

Before getting connected with the Arduino software, I learned from peers how to use the wrapping tool to wire up the thin cables to the FSR during the breadboard preparation. I also changed the wire to thicker ones later for the speaker in order to get connected properly.

01 | Check that the speaker works

ζˆͺ屏2021-09-27 δΈ‹εˆ3.31.55.png

The sound is clear but it will take a very long time to have the visual part processed.

The sound is clear but it will take a very long time to have the visual part processed.

I followed the instructions on the site and the speaker worked properly.

02 | Play Tones

ζˆͺ屏2021-09-27 δΈ‹εˆ3.48.05.png

IMG_8757.jpg

IMG_8756.MOV

I spent a little bit more time on this section. The issue is always the tone did not change with the different input from the FSR, and the FSR seemed to be an independent system isolated from the circuit.

I noticed the first two data (200,900) in the mapping method in the sample code is too big for the sensor reading, so I changed the two numbers and got the frequency change finally.