From RevSpace
Revision as of 15:56, 8 April 2020 by Bertrik Sikken (talk | contribs) (What)
Jump to navigation Jump to search
Project AudioMoth
Status In progress
Contact bertrik
Last Update 2020-04-08


I have an AudioMoth board, and plan to improve its software:



Frequency response


The microphone is a SPM0408LE5H. Can't find much about its ultrasonic performance. The official graph shows a hint of resonance above 10k so it does have ultrasonic sensitivity. For frequencies higher than the resonance peak the response of a typical microphone drops off steeply with 6 dB/octave. I have been able to record some pipistrelle bats with it (40 - 50 kHz).

The processor is EFM32WG380F256, link


My fork on github:

Running the tools

Running the tools (configuration tool, flash tool, etc) requires the --no-sandbox option (at least on my system), for example

 ./AudioMothConfigurationAppSetup1.2.5.AppImage --no-sandbox

IDE for development

A brave attempt for all the steps to get the firmware compiled was written here:



It compiles and produces a firmware.bin file, but it's not recognized by the flashing tool as a valid file.

Use this platformio.ini file:

 src_dir = src,fatfs_src
 include_dir = inc,fatfs_inc
 framework = zephyr
 platform = siliconlabsefm32
 board = efm32wg_stk3800

Install platformio:

 sudo apt install python3-pip
 sudo pip3 install platformio
 sudo pip3 install -U PyYAML

Compile it:

 pio run