inav icon indicating copy to clipboard operation
inav copied to clipboard

Feature Request Using the buzzer / beeper as an acoustic Vario (Variometer)

Open konraddi opened this issue 8 years ago • 11 comments

Hi dear dev team,

is it theoretically possible to use the buzzer / beeper attached to an iNav build to act as an acoustic vario, beeping when sinking or climbing? Then an onboard micro could listen to the beeps up and send it over the audio-in of the VTX down to the ground into to the goggles.

Or is it otherwise possible to send those beeps directly onto the audio-in on the VTX via some kind of UART / pin of the FC connected via wire to the VTX audio-in?

My aim would be to get the beeps over the air into my goggles audio, using it in thermalling of a ASW 28 v2 fpv glider.

Thanks in advance, Konrad

konraddi avatar Jul 06 '18 08:07 konraddi

Not possible using the buzzer because the circuit is only on or off. The buzzer creates the beep frequency on its own. INAV could beep, but can't change the pitch.

If you're using FrSky, you can create a simple set of functions to create vario beeping. You need to be passing telemetry to your transmitter for this to work.

teckel12 avatar Jul 06 '18 12:07 teckel12

@teckel12 tim, pitch yes. but maybe just have beeps faster/slower depending on RoC/RoD?

The problem i see with that is cpu usage.

wx4cb avatar Jul 07 '18 11:07 wx4cb

Someone on Facebook nentioned this;

"Why not use one of the pwm pins in the fc to generate a tone directly into the audio input of the vTX? That way you can go further away."

Could that work? It sounds like the perfect solution for this, you would only need one free pwm channel and of course the audio-in on the vtx

konraddi avatar Jul 07 '18 11:07 konraddi

theoretically yes, but depends on available timers and also cpu usage i would think

wx4cb avatar Jul 07 '18 12:07 wx4cb

Hi. I've been using this arduino based variometer from Rolf R. Bakke on my FPV EasyGlider Pro: https://www.rcgroups.com/forums/showthread.php?1749208-DIY-simple-and-inexpensive-Arduino-based-sailplane-variometer Maybe the code would be useful to any developer implementing a PWM output based solution for iNav. It would be great to have the vario integrated with the FC...

r3df1v3 avatar Jul 07 '18 13:07 r3df1v3

Honestly, it's so much easier to just let the transmitter do it. Many (including me) don't have audio on any FPV systems.

teckel12 avatar Jul 08 '18 04:07 teckel12

@wx4cb faster and slower indicate how quickly your climbing or falling. The pitch is the indicator for the direction. Try doing it from your transmitter, it's super easy that way (at least with Taranis).

teckel12 avatar Jul 08 '18 04:07 teckel12

How can I do it with my transmitter? Can I use the iNav & crossfire telemetry on my taranis for that? Thanks, Konrad

konraddi avatar Jul 23 '18 10:07 konraddi

@konraddi Vario beeping is built into Taranis. I believe it's in the model config on the telemetry page. It looks at your VSpd telemetry sensor, that is sent from INAV to your transmitter.

teckel12 avatar Jul 23 '18 15:07 teckel12

This issue / pull request has been automatically marked as stale because it has not had any activity in 60 days. The resources of the INAV team are limited, and so we are asking for your help. This issue / pull request will be closed if no further activity occurs within two weeks.

stale[bot] avatar Sep 21 '18 15:09 stale[bot]

Automatically closing as inactive.

stale[bot] avatar Oct 05 '18 16:10 stale[bot]