Hi guys, today I want to share how to interface buzzer or speaker or sounder with Arduino UNO in Proteus 8. Buzzer usually contains a built-in oscillation circuit to generate sound/tone by applying voltage. On the other hand, the sounder is driven by an audio waveform and requires additional circuitry to generate a sound. Finally, a speaker is a device used to reproduce sound from an AC voltage with the sound going out similar to sound going and require additional circuitry. This simulation plays a little melody you may have heard before.
Buzzer/Speaker/SounderApplications:
- Alarm
- Telephone
- Toys
- Computer
- Car
- Indicator
- Etc
Steps (Buzzer):
- Open Proteus and add Arduino UNO R3 and buzzer to the workspace.
- Connect digital pin 8 to a buzzer top pin and another pin to the ground.
- Select buzzer and right-click > Edit Properties. Under 'Operating Voltage:' and 'Load Resistance:' change to 5V and 100.
- Open Arduino software and go to File > Examples > Digital> toneMelody. Verify the sketch and copy the Hex file, then paste it into the Project file Arduino board.
- Start the simulation, and the buzzer generates some tone melody.
Steps (Speaker):
Steps (Sounder):
Video:
That all from me. If you have any suggestion, please write in the comment section. Thank you for your time 👷.
No comments:
Post a Comment