Sunday, June 20, 2021

How to Interface Buzzer Speaker Sounder with Arduino in Proteus 8 | toneMelody

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):
  1. Open Proteus and add Arduino UNO R3 and buzzer to the workspace.


  2. Connect digital pin 8 to a buzzer top pin and another pin to the ground.


  3. Select buzzer and right-click > Edit Properties. Under 'Operating Voltage:' and 'Load Resistance:' change to 5V and 100.


  4. 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.


  5. Start the simulation, and the buzzer generates some tone melody.


Steps (Speaker):
  1. Add speaker to the workspace.


  2. Connect digital pin 8 to a speaker top pin and another pin to the ground.


  3. 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.


  4. Start the simulation, and the speaker generates some tone melody.


Steps (Sounder):
  1. Add sounder to the workspace.



  2. Connect digital pin 8 to a speaker top pin and another pin to the ground.


  3. 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.


  4. Start the simulation, and the sounder generates some tone melody.


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