Some logging strategies use a specific heartbeat message that can be used to correlate the timing of other log entries.hi,
When data logging you must consider how you are going use and analyse the raw data.
tagging every Depth data message with the Date and Time is not necessary.
To know the position where the depth data was recorded is important.
You are using a GPS device which sends out a $GPS position message every precise 1 second.
So you have a very accurate timing signal for the position, the $GPS string is recorded to the SD card.
The 10 or so Depth messages that are recorded to SD must have been logged during that 1 second GPS period. It does not make any sense to tag them with a Date.Time to mSeconds.
Also if you record the GPS position message and Depths to the same datafile, it makes sense when you start to plot and analyse the logged data.
|Thread starter||Similar threads||Forum||Replies||Date|
|I||Clubbing ultrasonic and sonar sensor together||Sensor Design & Implementation||4|
|L||Arduino code to generate a 40 khz for sonar transducer||Programming & Languages||8|
|Sonar sensor||Sensor Design & Implementation||18|
|Up for Review: Measuring Distance with a Sonar Sensor on an Arduino||Sensor Design & Implementation||4|
|Help in US 100 Ultrasonic Sonar Codes||Microcontrollers||2|
by Ikimi .O