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

SDI-12 Library

Home Forums Other Data Loggers SDI-12 Library

Viewing 13 reply threads
  • Author
    Posts
    • #13844
      quiqueapolo
      Participant
        Hi:

        I am using this library SDI12. I’m trying to read SRS sensor from De

      • #13845
        Shannon Hicks
        Moderator
          That example goes through the list of available address to see if a sensor is attached that has a corresponding address, so it definitely takes awhile to go through the whole list.  You could rewrite
        • #13846
          quiqueapolo
          Participant

            Could you tell me the lines I need to rewrite to read only my adress. I have 8 sensors with adress from 0 to 7.

          • #13847
            Shannon Hicks
            Moderator
              That demo sketch is just a sample of how to talk to your sensors, there’s lots of stuff in there that you could trim out if you’re actually trying to collect data at a certain rate.  What
            • #13848
              quiqueapolo
              Participant
                I achieve to reduce the time to 8 seconds (see the code attached). I am storing the data in a Micro SD Card. The sensors will be powered continuously. I am using an Arduino UNO board. I am interesting
                Attachments:
              • #13868
                Sara Damiano
                Moderator
                  Is your goal to read all of your sensors and write to your SD card as fast as you possibly can?  You could get faster readings by using concurrent sampling on the Decagons like this:  https://github
                • #13869
                  Sara Damiano
                  Moderator
                    Re-Wrote for you.  I didn’t even test if it compiles, but this should get you going with concurrent measurements:

                  • #13872
                    quiqueapolo
                    Participant

                      Hi Sara:

                      Thank you for your quickly answer. However, when I tried to compile the code several errors were shown (see images attached).

                      Regards, Enrique

                    • #13903
                      Sara Damiano
                      Moderator

                        Delete lines 112-117 of the code I posted.

                      • #13963
                        quiqueapolo
                        Participant

                          Hi again Sara:

                          I deleted the lines that you say in previous comment. However, the problem do not have solution.

                          Thanks in advance

                        • #13967
                          Sara Damiano
                          Moderator
                            My intent was to help you by giving you an example of something you could modify to your needs, not to give you a final working program.

                            This version will compile.  I don’t know if it will act

                          • #17506
                            Rick Vogel
                            Participant
                              Has anyone looked to see if the SDI-12 library could be ported to the new RP2040 chip. Maybe that already works in its existing state, but I haven’t see it mentioned anywhere. This is the new IC
                            • #17508
                              neilh20
                              Participant
                                @vogelrnws I had been looking at porting it to another processor and been using it and digging into the code. I’ve looked at some of the RP2040, but I’m cautious about its ability to go in
                              • #18445
                                Electromechpro
                                Participant
                                  Could you please look at porting the code to the new Arduino R4 UNOs?  They use a different chip (Renesas RA4M1 (Arm® Cortex®-M4)), and I cannot get SDI-12 code to compile for those board definitio
                                  • #18451
                                    merondibia
                                    Participant
                                      I am trying to update a data logger, which was using Arduino Mega+SD reader, and use Arduino GiGA R1 in order to monitor it remotely, but SDI-12 library is not working on the new Arduino GIGA board, I
                                Viewing 13 reply threads
                                • You must be logged in to reply to this topic.