Git Product home page Git Product logo

audiomoth-firmware-basic's Introduction

AudioMoth-Firmware-Basic

Firmware for AudioMoth devices, used in conjunction with the AudioMoth-Project framework, to produce the standard AudioMoth releases.

Compatible with the AudioMoth Configuration App. For usage instructions, visit Open Acoustic Devices.

Usage

Clone the contents of AudioMoth-Project.

Replace the src/main.c from AudioMoth-Project with the src/main.c from this repository. Put all the remaining src/*.c files and all the src/*.h files from this repository into the /src/ and /inc/ folders of the AudioMoth-Project repository. Add the /gps/ folder from the AudioMoth-Project code into the compilation chain by updating the definitions of the include and source files in the /build/Makefile as below:

INC = ../cmsis ../device/inc ../emlib/inc ../emusb/inc ../drivers/inc ../fatfs/inc  ../gps/inc ../inc
SRC = ../device/src ../emlib/src ../emusb/src ../drivers/src ../fatfs/src  ../gps/src ../src

If building from the command line tools no further changes are necessary. However, if building using Simplicity Studio, make sure that the new /gps/ folder appears in the project files, and then open the project 'Properties' under the 'File' menu, navigate to the 'Linker' and 'Ordering' and make sure that the standard math library '-lm' is at the bottom of the list.

Documentation

See the Wiki for detailed description of the example code.

License

Copyright 2017 Open Acoustic Devices.

MIT license.

audiomoth-firmware-basic's People

Contributors

alexrogerscs avatar pcprince avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

audiomoth-firmware-basic's Issues

uMoth as ultra low power microphone

I was pointed to this project. It looks awesome!

This is probably not the right place to ask, but I'm curious what is the typical (or maximum) power consumption of uMoth when streaming real-time recorded samples to a host over USB while acting as a microphone (i.e. without any SD card inserted, without any LED flashing, with only the minimum required filtering done on the MCU, with USB being in the "audio" isochronous mode)?

Do you think uMoth could be max 35mA?

2 microphones on 1 uMoth

I wonder whether uMoth could be extended to drive 2 microphones and then stream from both simultaneously over USB "audio" isochronous connection to a USB host (i.e. acting either as a stereo USB microphone or two mono USB microphones)?

If it's possible, how much would this extension affect the overall power consumption (I'm interested in the power budget discussed in #7 ).

Soundfile Comment field

The audiomoth firmware writes important info into the comment metadata field that is critical for attributing the sound file to a specific sound recorder. With each release, the text that reports serial number, DateTime, temperature, battery voltage etc, has been changing. This makes writing regexp to extract the info we need difficult if over the course of a project firmware was updated.

I propose that either these comments stay the same for evermore, OR the comment field is written as easily parsed data (json?) i.e. {"batt": "4.7V", "serial": "XXXXXX", "gain": "medium", "datetime": "YYYY-MM-DD HH:MM:SS", ...} that way it would be WAY simpler to parse.

Alternatively, these fields could be written as GUANO metadata into the waves allowing open-source tools to read these pieces of info as data instead of sentences, allowing the comment field to have whatever text you want.

Error while building new firmware

Dear sir,
Thank you for this new and useful update version of firmware. I made a small change on the defalut filename and built successfully in an old version. But when I built this new version, it showed an error on function designFilter as the screenshot. How can I fix it? Thank you very much.

sensor serial number prefix on file name

Feature Request:
Most sensors on the market write a prefix to files that specify by which sensor the file was made. This makes keeping track of files much easier as you do not have to have "correct" folder names to keep things organized or read the metadata.

I would request that the file name start with the serial number of the unit, and then follow the current naming conventions. serial_yyyymmddhhmmss.WAV

Error when trying to compile

Good day!

I'm trying to compile the basic firmware with Ubuntu on Windows Subssystem for Linux, but keep getting this error:

image

I followed the instructions in the Wiki and I'm using the following make command (from MinGW):

image

If anyone could point me in the right direction, that would be great!

Best regards,
Jaro

Request for feature to standardize AudioMoth metadata storage

Hello Maintainers,

I use AudioMoth for long-term bioacoustic monitoring and have recordings from multiple projects. The metadata stored in the WAV header is currently stored in a comment format that changes between firmware versions, making it difficult to parse programmatically.

I would like to request to add feature that stores the metadata in an easily accessible format, such as by using multiple subchunks in the WAV INFO chunk. This would make it easier to parse the metadata and manage AM recordings.

I am a big fan of AudioMoth and I am actively developing a Python package to help parse the metadata from previous versions. I would also be happy to assist in any way I can to make this feature a reality.

Thank you for your time and consideration.

Best regards,
Santiago Martinez Balvanera

Recording failures after firmware update

Hello,

I have quite a few audio moths that were working well, and I upgraded a few to the newest firmware (1.10.1). I am now having an issue where recording fails intermittently (sometimes after a few minutes, sometimes after a few hours), particularly at higher sampling frequencies (>= 92 kHz). None of the devices on the new firmware have lasted the scheduled 48 hours (recording 55-secs ON/5-sec OFF). At first I thought it was an SD card issue, but it even happens with the supported SanDisk Extreme 128GB cards.

I've rolled back those moths to older firmware versions, but the issue is persisting. Is there a way to "hard reset" to older firmware versions? I'm happy to provide more context or other info that you need; just let me know.

Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.