Open Saxin opened 7 years ago
+1 this would be useful for me as the pixhawk lite doesnt have a buzzer
My understanding of this issue is that we want support for the really loud buzzers you can attach to the servo pins.
I believe we already have that; the existing notify buzzer would appear to allow you to set a servo pin as an output.
Note that we've been able to do this since forever, so I might be missing something.
This buzzer should already be being used for the lost-vehicle alarm. Triggering the lost vehicle alarm for a crashed vehicle is a separate issue.
Issue details
Pixhawk buzzer volume is too low to be heard when looking for lost model. Products providing load beeping capabilities exist and can be classified as follows:
Most of users today use PPM / Serial connections between FC and RX, plugging into RX isn't an option. Due to https://github.com/ArduPilot/ardupilot/issues/1235 & https://github.com/ArduPilot/ardupilot/issues/1239 which according to @rmackay9 can't be resolved, some of those buzzers work not as intended when connected to Pixhawk servo out + pass through configured.
A big benefit here is allowing users with radio systems without free channels (or maybe with less channels) still use a loud lost model alarm without the need of dedicated TX channel. This should be of course added to the wiki to help new users with setup.
It would be nice to add support for some common types of buzzers connected to one of the servo channels being an expansion to lost model capability, for example setting SERVO9_FUNCTION to 80 (new value). Additional parameter may be required to configure required behavior on that out, for example unless LOST COPTER FUNCTION active, a. toggle low - high [in PWM sense] every 1 sec, b.toggle low, c. toggle high, d. or something else.
Platform
[ ] All [ ] AntennaTracker [x ] Copter [ ] Plane [ ] Rover
Hardware type
Pixhawk