Computational protocol: Estimating the Underwater Diffuse Attenuation Coefficient with a Low-Cost Instrument: The KdUINO DIY Buoy

Similar protocols

Protocol publication

[…] A firmware is used with the microcontroller Arduino Mega to count the number of pulses received from each sensor during a fixed period of time. Then, the number of pulses of each sensor and the date and time obtained from the RTC are stored in the SD memory card with the name of “datalog.txt”. This process is continuously performed while the electronics are switched on. The firmware, provided in the as “KdUINO_Sensors.ino”, has been developed using the programming framework Wiring with the Arduino IDE v1.5.8. The code needs the additional open-source libraries “SD-master” and “RTClib-master” for the management of the system data logger. They can be downloaded from the web page of the manufacturer [].To determine Kd, the calibration (see ) and data files from the SD card must be downloaded to a computer. This information is post-processed with a software code developed under Python v2.7. The code first computes the calibration factor (see ) and applies it to all the measured values. Finally, the code uses the Beer-Lambert Law Equation (3) and the linear regression to obtain Kd. The software, which can be found in the as “KdUINO_analysis.py”, uses the open-source libraries “numpy” [], “matplotlib” [] and “scipy” []. […]

Pipeline specifications

Software tools Numpy, matplotlib, SciPy
Applications Miscellaneous, WGS analysis