Hydrophonitor is a hydrophone array that records audio, gps and depth data.
Go to file
Satu Koskinen 44332972f1
Merge pull request #12 from nordic-dev-net:fix-cron-logging
Fix cron job logging, update setup docs
2023-03-18 15:34:02 +02:00
audio-logger Remove led display script, clean up scripts, fix gitignore 2023-02-21 18:51:14 +02:00
depth-logger Improve logging on setup and startup, make setup scripts idempotent 2023-02-18 23:33:19 +02:00
docs Fix cron job logging, update setup docs 2023-03-18 15:33:22 +02:00
gps-logger Update error print in record-gps.py 2022-10-22 15:55:58 +03:00
pi-config Reorganize config & script files, set HOME_PATH and SCRIPT_PATH in setup-raspberry-pi.sh 2022-10-22 15:54:50 +03:00
scripts Fix cron job logging, update setup docs 2023-03-18 15:33:22 +02:00
.gitignore Added some notes 2022-08-15 22:13:42 +03:00
hydrophonitor-config.txt Improve logging on setup and startup, make setup scripts idempotent 2023-02-18 23:33:19 +02:00
LICENSE Create LICENSE 2022-10-24 17:59:33 +03:00
Makefile Remove led display script, clean up scripts, fix gitignore 2023-02-21 18:51:14 +02:00
README.md Move docs to their own folder, clean up 2022-10-24 18:37:56 +03:00

Hydrophonitor

A software package to record audio and related metadata from a configuration of hydrophones.

For setup instructions, see docs/setup.md.

Overview

Module Description
audio-logger Receive an audio signal from the DAC and write it on disk in .wav format.
gps-logger Record position and time of the device in .csv format.
depth-logger Record depth of the device and save it in .csv format.
*lcd-display Provide information on the device's LCD screen
*device-controls Provide device control using physical buttons.

*) todo, not implemented yet

Data Formats

Type Output file format Output file name Output structure Content
Audio Data .wav _audio.wav Each recorded chunk will be written to its own file in audio folder Wav audio data, configuration defined in XXX
GPS Data .csv _gps.wav All data written to a single file Csv data with following fields: GPS time UTC, latitude, longitude, speed, satellites in view
Depth data .csv _depth.wav All data written to a single file Csv data with following fields: date and time, voltage of depth sensor (V), depth (m)
Log data .txt _log.txt All data written to a single file Text file where each entry contains the following: date and time, process that writes the entry, logged information

Output Locations

The location for the output directories is defined by a configurable value OUTPUT_PATH in hydrophonitor-config.txt. If directories along this path do not exist, they will be created. If an error occurs or the location is not writable, output will be written to the default location (DEFAULT_OUTPUT_PATH in hydrophonitor-config.txt) instead.

SSD card mounting is not yet configured in the setup.

A recording session starts when the Raspberry Pi is turned on or booted, and ends on shutdown. Each session will have its output written in its own directory that will be named _recordings.