AudioMoth: Difference between revisions

From RevSpace
Jump to navigation Jump to search
Line 19: Line 19:
== Software ==
== Software ==
My fork on github: https://github.com/bertrik/AudioMoth-Project
My fork on github: https://github.com/bertrik/AudioMoth-Project
=== 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


=== Compiling ===
=== Compiling ===

Revision as of 19:25, 7 April 2020

Project AudioMoth
Audiomoth.png
Status Initializing
Contact bertrik
Last Update 2020-04-07

What

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

Hardware

See https://circuithub.com/projects/OpenAcoustics/AudioMoth

  • microphone is SPM0408LE5H, datasheet
  • processor is EFM32WG380F256, link

Software

My fork on github: https://github.com/bertrik/AudioMoth-Project

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

Compiling

platformio

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:

 [platformio]
 src_dir = src,fatfs_src
 include_dir = inc,fatfs_inc
 [env:default]
 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