top of page

Support Forum

Public·896 members

Configuring the USB Microphone through USB commands

Hello,

Great work. I'm currently using the HydroMoth as well as 2 USB microphones for another project.

Everything is ok.

I wonder how it could be possible to configure the USB microphones using a simple HDI or another USB command.

Indeed, since there is no battery on this board the configuration cannot be permanent and each time the board is unplugged the configuration is lost.

Default configuration, 384 kHz, no filter, average gain is ok in most cases but if I want something special, it's not possible.


Thank you again,

db


312 Views
Alex Rogers
Alex Rogers
28 de set.

Hi, The AudioMoth USB Microphone configuration is persistent even if the microphone is unplugged. It is stored in the flash of the microcontroller alongside the firmware. In most use cases, you can switch to USB/OFF and configure the microphone with the AudioMoth USB Microphone App. The settings are then retained whenever you unplug and plug-in the microphone again.

ree

You can also configure the microphone from the command line using the app described in the application note below. This app allows the configuration to be changed when the microphone is in DEFAULT or CUSTOM mode and acting as a USB microphone. https://github.com/OpenAcousticDevices/Application-Notes/blob/master/Configuring_the_AudioMoth_USB_Microphone_from_the_Command_Line/Configuring_the_AudioMoth_USB_Microphone_from_the_Command_Line.pdf The application can list connected AudioMoth USB Microphones and then configure them individually or collectively:

ree

You can even put the AudioMoth USB Microphone into bootloader mode and then use the Flash App to update the firmware without having to manually change the switch setting.

It requires firmware version 1.3.0 or later, as this creates an additional interface on the microphone that allows the configuration to be updated. The AudioMoth-Live-App uses this interface to adjust the device gain whilst the microphone is running.


ree

The command line application can be built from the source code in the GitHub repository: https://github.com/OpenAcousticDevices/AudioMoth-USB-Microphone-Cmd There are also pre-built installers for all platforms here: https://github.com/OpenAcousticDevices/AudioMoth-USB-Microphone-Cmd/releases/tag/1.0.1 Let us know if you have any problems.

Alex

Editado

Support Forum

©2025 Open Acoustic Devices

bottom of page