Difference between revisions of "AudioMoth"

From RevSpace
Jump to navigation Jump to search
(Compiling)
Line 12: Line 12:
  
 
=== Compiling ===
 
=== Compiling ===
 +
==== platformio ====
 +
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:
 
Install platformio:
 
   sudo apt install python3-pip
 
   sudo apt install python3-pip

Revision as of 09:46, 20 February 2020

I plan to buy such a board:

Hardware

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

  • microphone is SPM0408LE5H
  • processor is EFM32WG380F256

Software

Compiling

platformio

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