Piezo Element

A piezo element is used to be able to play sounds on the AVR Butterfly. The piezo is connected to PORTB5 on the ATmega169. And using the PWM, one can get the different frequencies required to play tunes.

Figure 1. Piezo element