Interfacing Buzzer With AVR ATmega16 (Mini Development Board)

AVR ATmega16 Mini Development Board has an on-board buzzer connected to port pin PC7 via jumper J12. To use the buzzer, it is necessary to short the jumper. If PC7 is to be used for any other purpose, then the jumper should be left open. 

Sample code to test the on-board buzzer is given below. As per the code given below, when the switch SW1 is pressed, it generates interrupt and toggles the status of buzzer.

Note: To use buzzer, don’t forget to short jumper J12. Leaving it open frees PC7 and it can be used for any other desired purpose.

Schematic

Sample Code

Topics related to AVR ATmega16 Mini Development Board

  1. AVR ATmega16 Mini Development Board – Overview
  2. AVR ATmega16 Mini Development Board – Interfacing LED
  3. AVR ATmega16 Mini Development Board – Interfacing LCD
  4. AVR ATmega16 Mini Development Board – Serial communication(USART)
  5. AVR ATmega16 Mini Development Board – Interfacing Switch
  6. AVR ATmega16 Mini Development Board – Interfacing Buzzer
  7. AVR ATmega16 Mini Development Board – Interfacing POT(ADC)
  8. AVR ATmega16 Mini Development Board – Interfacing Temperature sensor
  9. AVR ATmega16 Mini Development Board – Interfacing Servo Motor
  10. AVR ATmega16 Mini Development Board – Interfacing  μRFID

Resources

How to buy?

SupportPlease share your ideas with us, visit our forum for discussion

 

Leave a Reply