Files
scottp 295abb37ee Initial public release of WII5 Buoy firmware
Firmware for an autonomous wave-measurement buoy (ATmega2560-based
WII5 v2 board). Reads wave motion from a Sparton AHRS-M1/M2 IMU,
samples GPS and battery state, and reports back over Iridium SBD
satellite telemetry. Originally developed 2012-2024.

This is the first public release. Code, documentation, and field-tested
operating modes (Capture, Sleep, Position, ManualTest, SelfTest,
LowBattery) are licensed under Apache 2.0 — see LICENSE and NOTICE.

See README.md for an overview and build instructions, CONTRIBUTING.md
for how to contribute, and DEPLOYMENTS.md for the field-deployment log.
2026-05-07 16:27:18 +10:00

40 lines
856 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Sparton Programming
Standard:
'chan0TriggerDivisor 0 set drop',
'accelrange 2 set drop',
'chan0Enables array[ 0 15 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ]array set drop',
'chan0Format 3 set drop',
'chan0EnableBit cputime dvid@ set drop',
'chan0EnableBit magp dvid@ set drop',
'chan0EnableBit accelp dvid@ set drop',
'chan0EnableBit roll dvid@ set drop',
'chan0EnableBit pitch dvid@ set drop',
'chan0EnableBit yaw dvid@ set drop',
'chan0EnableBit gyrop dvid@ set drop',
'chan0Trigger 6 set drop',
'chanTimerX100us 156 set drop',
// Trigger on delay?
'chan0TriggerDivisor 1 set drop',
Change from 64Hz to 8Hz
Problem with X and Y Data
centripetalCompensation 0 set drop
magAiding 1 set drop
Log some sample Data
name di.
serialnumber di.
VERSION di.
VERSION_M4 di.
gyroSampleRate di.
save_mask d.on
db.print