Engine run time for self-launching gliders

59 views
Skip to first unread message

Karl

unread,
Apr 11, 2026, 3:38:59 PM (11 days ago) Apr 11
to SoftRF_community
Hello,

I have a request/suggestion for further development.

Goal:
Output of the engine runtime (ENL) for self-launching gliders in the Flarm NMEA data format.

This would certainly require integrating a suitable and simple microphone into the T-Beam, and the software would need to be adapted accordingly.

Is something like this conceivable as a new feature in the near future?
I would be very grateful.

Karl

Moshe Braner

unread,
Apr 13, 2026, 8:21:03 AM (9 days ago) Apr 13
to SoftRF_community
Hi Karl.   AFAIK a FLARM does not output an engine noise indicator to NMEA.  I suppose you mean engine noise indication in the generated IGC flight log?  That in principle could be done in SoftRF.  To add a microphone you'd also need to add some sort of amplifier, I think, to bring the audio level up to where the ESP32 can sense it on an analog input pin.  Even then, SoftRF is not an IGC-certified flight recorder, so I don't know how useful that would be?

Karl

unread,
Apr 13, 2026, 3:50:50 PM (9 days ago) Apr 13
to SoftRF_community
Hi Moshe,

Yes, I mean the output as ENL in the IGC flight log.

Primarily, the motor runtime is important for flight accounting.
Additionally, WeGlide doesn't throw any errors when uploading the IGC file.

I've picked out two microphones:
Waveshare LM386 Sound Sensor and
SparkFun Electret Microphone Breakout

Since I'm not an electronics technician, I can't assess their suitability for my suggestion.

Currently, I have the T-Beam soldered with a speaker, display, and SD card.

Which pin can I solder a microphone to?
Which microphone is the right one?

Thanks in advance for your help,
Karl

Moshe Braner

unread,
Apr 14, 2026, 8:14:20 AM (8 days ago) Apr 14
to SoftRF_community
OK Karl.  At the moment don't solder any microphone to the T-Beam, since there is nothing in the software that will work with it.  Something to think about for a future version.

Nick Bonniere

unread,
Apr 14, 2026, 10:14:10 AM (8 days ago) Apr 14
to SoftRF_community
The ENL (sound level) in an IGC file is not a simple on/off but a sound level. Using an amplifier and comparator (Waveshare LM386 Sound Sensor, Dout) would only provide and on/off indicator and the threshold would be very difficult to set. Using an audio amplifier ( SparkFun Electret Microphone Breakout ) and an analog GPIO would require the microcontroller to digitize the audio signal and then process it into a level and convert it to a dB value for use as ENL. This would require a fair amount of processing. An alternate would be to use a power detector module (AD8307 RF Logarithmic Power Meter) which works at audio frequency and an electret microphone. Connected to an analog GPIO, a single voltage sample per second would minimize the processing load.

Antoine Megens

unread,
Apr 14, 2026, 3:42:09 PM (8 days ago) Apr 14
to SoftRF_community
I've once attempted to add ENL support to SoarPilot, a flight computer running on PalmPilot PDA, now abandonware.


The added load of sampling and processing the microphone sound level caused stabiility issues, so it was never released.

Op dinsdag 14 april 2026 om 16:14:10 UTC+2 schreef Nick Bonniere:

Karl

unread,
Apr 15, 2026, 4:04:35 PM (7 days ago) Apr 15
to SoftRF_community
Hi Nick,

You seem to have a lot of expertise in this area.

An AD8307 RF logarithmic power meter seems like a good, energy-efficient, and inexpensive solution.

What would a circuit with a microphone and a T-beam look like?

Regards,
Karl

Nick Bonniere

unread,
Apr 16, 2026, 7:29:00 AM (6 days ago) Apr 16
to SoftRF_community
I'll send you some info directly.

Nick Bonniere

unread,
Apr 17, 2026, 1:46:47 PM (5 days ago) Apr 17
to SoftRF_community
As an alternate to an analog solution using an AD8307 and electret microphone, the ESP32 has an I2S interface, so a digital microphone could be used, but it requires processing the audio with software. For ENL, full bandwidth is not needed, and a much lower sampling rate can be used and only the 'RMS' and 'dB to reference' blocks are needed which significantly reduces the amount of processing needed. In addition, the audio could be sampled for only a short period (100msec/sec) instead of continuously, such as during the 200msec Flarm dead time for example.
The T5S board used for SkyView has a digital microphone on the board, so SkyView could even feed back a level to SoftRF if you use a SkyView display.

Reply all
Reply to author
Forward
0 new messages