|
Dear All,
profiting of the winter months and learning about AI, i want to release for the first time - here in exclusivity - one of the projects i've been working on.
Using a 15.5$ device called M5 Stack AtomS3, 0.8x0.8x0.5 inches in size, 21x21x13mm, that has a sophisticated IMU (Inertial Measurement Unit, three acceleration measurements and 3 gyroscope measurements , 200 times a second) inside, i developed a sensor for our boats that measures the waves Period, their Height and Significant Height (1/3 of the largest waves), records the attitude variations of the boat, records the jerks (e.g. sudden accelerations typical of slamming), and also records over time the possible additional shocks from neighbouring boats while mooring (in conjunction with my other project...stay tuned!). Accidentally, it also provides an approximate sea state according to the Beaufort scale...
The code is opensource and available here,
https://github.com/pzucchel/boat-and-wave-AHRS" rel="nofollow - https://github.com/pzucchel/boat-and-wave-AHRS
including detailed documentation on the way to integrate it on your Wifi, allowing any other systems (e.g. my other project...) to collect and store the data 24/24 7/7 365/365 via NMEA0183.
the code has been extensively tested by simulation, being the mathematics quite complex as you can see, and I've also explored other techniques to abandon them after some analysis (read: Fast Fourier Transform), that may be resurrected by real data .
I will hopefully improve it further with real-world experience (i want to have vocal alarms triggering limit situations, in particular slamming: i still remember my bow thruster batteries collapsing in the middle of the atlantic...)
I can provide further info on my boat installation, and maybe a simpler "ready to go" firmware for those not familiar with the arduino IDE...
admittedly , the data are broadcasted: so you need some other system (for example , signalk) to collect the data .
Any limitations? for sure! i am not detecting (yet) the waves direction, so i can't compensate for the doppler effect introduced by the boat motion: so the wave period is the APPARENT wave period and not the one indicated by the meteo services. But the boat slams according to the APPARENT wave period, so it's physically significant...
------------- Hanse588#55
|