SUPScientist / smart-coasts-bathy-mapping

Low-cost, open-source bathymetric mapping (depth, GPS, angle, datalogging)
MIT License
0 stars 2 forks source link

Integrate RK code with GPS, temperature, datalogging script #2

Closed SUPScientist closed 9 months ago

SUPScientist commented 12 months ago

ISSUE: Likely that RK code (original here https://github.com/rickkas7/JSN-SR04_Gen3_RK/tree/main and our working example here https://github.com/SUPScientist/smart-coasts-bathy-mapping/tree/main/Firmware/depth-sensing-JSN-SR04_Gen3_RK) is more stable than our current ping codes.

TODO: Integrate RK code into our larger GPS, temperature, and datalogging script, e.g., https://github.com/SUPScientist/smart-coasts-bathy-mapping/tree/main/Firmware/depth-sensing-ping-SD-GPS-temp

SUGGESTED APPROACH: Examine this line https://github.com/SUPScientist/smart-coasts-bathy-mapping/blob/404d663c443a780127cf3abc0e150b12e25ee1ac/Firmware/depth-sensing-JSN-SR04_Gen3_RK/src/depth-sensing-JSN-SR04_Gen3_RK.ino#L19

Use the result object combined with the stuff in void setup() and void loop().

SUPScientist commented 9 months ago

Closing with https://github.com/SUPScientist/smart-coasts-bathy-mapping/pull/6