Week 3: Sep 28, 2022


Lab: Tone Output Using An Arduino

Connect the Sensors and the Speaker

1- Check that the Speaker Works

 

2- Play Tones 

 


3- A more complex example
For this complex example, it was first hard to figure it out. I had to add a new tab and code in two tabs instead of one. Also, I’ve used 10-kilohm resistor for louder sound but it was still small so at the end of the video I had to placed the camera right in front of speaker so the changes of the tone could be heard by me touching the three FSR.

  2tabs                                                                                     

 
sources:
https://docs.arduino.cc/built-in-examples/digital/toneMelody


Servo Motor Control with an Arduino