For week 3 there’ve been the following assignments:
- program digital input and output on an Arduino
- Attach a speaker to an output pin and turn it on and off at a set frequency using tone () command
- Connect the Sensors and the Speaker
- Check the sensor input range
- use a servomotor
- Check that the Speaker Works
- Check that the Speaker Works
- Play it Loud
- Use Headphones
- create a musical instrument with 3 forse-sensing resistors
- learn how to control a servomotor’s position from a microcontroller using the value returned from an analog sensor
- Connect an Analog Input Sensor and a Servo
- find out the range of sensor by using analogRead()
A microcontroller makes sound by sending pulses of electrical energy from an output pin through a wire that’s connected to the paper cone of a speaker.