Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of WikiWatershed, an initiative of Stroud Water Research Center designed to help people advance knowledge and stewardship of fresh water. New to EnviroDIY?Start here
Shannon I am using const uint8_t logging interval and as you changed I can change it to a different logging interval….I wonder if is there is code to collect every 5 min but send every hour or so to mmw to populate all values in the last hour
The data is not being stored on the memory card. I think my code is incorrect is there a MaxBotix example that anyone successfully was able to run and pass data to the SD Card and MMW that I can look at? In my code I think I need to do something else to get output from Sensor to this SonarSerial … I simply gave the PIN number here … it might be the issue
1
2
3
4
5
6
7
constint8_t SonarSerial=5;// The Sonar Data pin
constint8_t SonarPower=-1;// Excite (power) pin (-1 if unconnected)
constint8_t Sonar1Trigger=-1;// Trigger pin (a unique negative number if unconnected)
constuint8_t sonar1NumberReadings=3;// The number of readings to average