Home › Forums › Other Data Loggers › Extracting Data Query
- This topic has 3 replies, 3 voices, and was last updated 2021-09-10 at 2:50 PM by neilh20.
-
AuthorPosts
-
-
2021-09-09 at 4:44 AM #15860
Hi all 🙂
I’m using the SDI12 library with an arduino nano. I’ve got 3 SDI-12 Ponsel water quality sensors I’m trying to get working.
One of the issues I have is being able to separate the values into ‘chunks’.
e.g. In the attached screenshot, ideally I’d have:
temperature = 22.036
ph = 7.6794
redox = 302.05
ph_mV = -35.678
I saw there was an example ‘simple_parsing’ but it seemed to freeze when I tried to run it…
Any help would be much appreciated!
Attachments:
-
2021-09-09 at 9:12 AM #15862
Can you post the code for your sketch, or are you using the simple parsing example exactly as-is?
-
2021-09-09 at 11:37 PM #15864
Hi Shannon,
So the screenshot in my first post is using the ‘simple_data_logger’ code with one SDI12 sensor attached (I haven’t connected all 3 just yet), and it seems to work quite well.
The screenshot in this post is when I’m using the ‘simple_parsing’ code with no modifications.
The arduino just freezes after “213P,” and doesn’t write anything else to the serial monitor.
I had a search through the SDI12 library documentation but I wasn’t sure what the timeout value of -9999 means exactly?
The reason why I need to separate the sensor values is because I need to only send certain values over LoRaWAN…
Attachments:
-
2021-09-10 at 2:50 PM #15867
Hello @d_bozza123, the Ponsel sensor looks very interesting.
I’ve interfaced to a SDI-12 sensor Insitu LT500.
My suggestion is you think of breaking up the work into units.
That is first how to read the sensor Ponsel, and 2nd how to store it to the .csv
For my sensors, it required creating a sensor interface to read the parameters from the instrument.
eg https://github.com/EnviroDIY/ModularSensors/blob/master/src/sensors/InSituRDO.h
or similarly in my case https://github.com/neilh10/ModularSensors/blob/release1/src/sensors/InsituTrollSdi12.h
Then in the program file eg “simple_logging.ino” create the sensors
See Variable* variableList[] =Â in https://github.com/EnviroDIY/ModularSensors/blob/master/examples/simple_logging/simple_logging.ino
To  think of LoRa is a great idea, and a number of people are thinking about it. So just curious where it would visualize the data on the internet?.
A smaller step would be to post to MonitorMyWatershed.org over a cellular modem LTE to learn about the flow of data?
One of the issues with LoRa might be how is wall time synced to the mayfly?
-
-
AuthorPosts
- You must be logged in to reply to this topic.