emfcamp / Mk2-Hardware

Hardware for the TiLDA v2 Badge
2 stars 2 forks source link

Test Buzzer #1

Open dpslwk opened 10 years ago

dpslwk commented 10 years ago

Piezo buzzer is attached, via a 1K resistor (R25), to PB15 which is the DAC0 out put. Original intent was for a speaker not a piezo buzzer so need to check it the DAC can drive the buzzer or if we need to bit bang the pin :/ Looking at PB15 in the data sheet this pin can also be used as an output for PWMH3, we currently have LED1_BLUE using PWMH3 via pin PC5, we could switch PWMH3's output between the two if we only need to use one at once