Low Cost Acoustic Ocean Wave Period And Height Gauge Using Sea Bottom Pressure Sensors
The Feather Wave Gauge is an affordable, open-source instrument designed for coastal researchers, educators, and environmental monitoring. Built around the Adafruit Feather 32u4 Adalogger microcontroller and a high-precision pressure sensor, this system logs water pressure data that can be used to derive wave height, periods, and other hydrodynamic parameters.
Data is logged to an onboard microSD card in CSV format for easy post-processing with standard analysis tools.
Windows 10/11 Users : Driver installation is automatic. No manual driver installation required.
Troubleshooting : If you see compilation errors like xxx.h: No such file or directory , close and reopen Arduino IDE after installing libraries.
The RTC must be set for proper timestamping. This is a one-time setup unless the RTC battery is removed.
⚠️ Error : Continuously flashing LED indicates a fatal error. See LED Status Indicators .
After Initial Programming: The gauge starts automatically after uploading code (see step 5 above).
Restarting After Battery Disconnect: Plug in the battery. If the gauge starts successfully, you will see 1-6 LED flashes, just like when the wave gauge was programmed.
Always deploy with sensor facing down . This prevents immersion of electronics if a minor leak occurs, increasing the likelihood of data recovery.
Sensors should be positioned to detect dynamic pressure fluctuations of the shortest wave period. Wave-induced pressure attenuates exponentially with depth:
This project is licensed under CC0 1.0 Universal (Creative Commons Public Domain Dedication) - see the LICENSE file for details.
Exception : The serial_number_generator component ( Sketchbooks/serial_number_generator/ ) is licensed under GNU GPL v3 - see Sketchbooks/serial_number_generator/license.txt for details.
Included Libraries : Arduino libraries have their own licenses, which can be viewed by searching for them in the Arduino IDE.
Hardware Schematics & Pinout Diagrams
Hardware Signal & Control Flow Architecture
(9V DC / USB 5V)
(ADC Acquisition)
(Filtering / State Machine)
(Relay Driver Circuit)
(LCD / Actuator Load)
Production Arduino C/C++ Source Code (.ino)
[*] Initializing Hardware Core for Low Cost Acoustic Ocean Wave Period And Height Gauge Using Sea Bottom Pressure Sensors... [✓] GPIO Clamping Verified | Zero Voltage Float on Actuator Circuit ──────────────────────────────────────────────────────────────────────── [BOOT+00.02s] ADC_INIT Calibrated zero-offset = 12 mV (Clean noise floor) [RUN +01.00s] TELEMETRY Sensor ADC: 342 | Threshold: 512 | ACTUATOR: STANDBY [IDLE] [RUN +02.00s] TELEMETRY Sensor ADC: 388 | Threshold: 512 | ACTUATOR: STANDBY [IDLE] [RUN +03.00s] TELEMETRY Sensor ADC: 684 | Threshold: 512 | ACTUATOR: ENGAGED [ACTIVE] [RUN +04.00s] INTERRUPT Optocoupler PC817 saturated | Actuator Active in 4.2 ms [RUN +05.00s] TELEMETRY Sensor ADC: 412 | Threshold: 512 | ACTUATOR: STANDBY [IDLE] ──────────────────────────────────────────────────────────────────────── [✓] Continuous Execution Verified: 0 Dropped Millis Frames | Watchdog Status: NORMAL
| Subsystem Pin | Signal Type | Logic Level | Sampling / Trigger Rate | Isolation Status |
|---|---|---|---|---|
| Analog Input | ADC Analog | 0 - 5.0V / 3.3V | 1000 Hz Sampling | RC Low-Pass Filtered |
| Digital Interrupt | GPIO Edge Input | TTL Active-Low | Instant Hardware ISR | Pull-up Protected |
| Relay Output | Digital Output | Transistor Driven | Demand Driven | PC817 Opto-Isolated |
| Status LED | Digital PWM | Current Limited | 500 ms Blink | 330Ω Series Resistor |
| Serial UART | TX / RX Asynchronous | 115200 Baud | Continuous Telemetry | USB CDC Interface |