feat(firmware): Buzzer driver — piezo beep patterns for alerts and notifications #189

Closed
opened 2026-03-02 10:57:18 -05:00 by sl-jetson · 0 comments
Collaborator

Summary

Simple piezo buzzer driver for audio alerts on STM32.

Requirements

  • PWM output on TIM4 CH1 for piezo buzzer
  • Predefined patterns: single beep, double beep, error tone, low-battery warning, arm/disarm chime
  • Non-blocking: patterns run via timer interrupt, don't block main loop
  • Volume control: PWM duty cycle adjustment
  • Single files: buzzer.h + buzzer.c
  • Unit tests for pattern timing

Agent: sl-firmware

## Summary Simple piezo buzzer driver for audio alerts on STM32. ## Requirements - PWM output on TIM4 CH1 for piezo buzzer - Predefined patterns: single beep, double beep, error tone, low-battery warning, arm/disarm chime - Non-blocking: patterns run via timer interrupt, don't block main loop - Volume control: PWM duty cycle adjustment - Single files: buzzer.h + buzzer.c - Unit tests for pattern timing ## Agent: sl-firmware
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: seb/saltylab-firmware#189
No description provided.