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

Help connecting Arduino MEGA with Teros 12 Sensor

Home Forums Other Data Loggers Help connecting Arduino MEGA with Teros 12 Sensor

Viewing 3 reply threads
  • Author
    Posts
    • #14778
      Hugo
      Participant

        Friend … I’m trying to connect the Teros 12 sensor to the Arduino MEGA 2560 … Does anyone have the scratch (wiring diagram) and a code for reading? I’ve worked with the decagon 10HS but with the teros 12 I still couldn’t … Hugs …

      • #14779
        Shannon Hicks
        Moderator

          The 10HS soil sensor has a simple analog voltage output that is easy to measure with an Arduino board by doing an analog voltage measurement.  The Teros 12 has a digital output in either TTL or SDI-12 format.  I’d recommend SDI-12, especially if you’re going to have more than one sensor connected to the same board, since then you can assign a different address to each one.  The simplest library to do all of this is our SDI-12 library. 

        • #14780
          Hugo
          Participant

            Thank you very much … I installed the library, took a look at the examples, but I’m a little new to Teros 12 and I can’t make the connections on the Arduino … Every time I open the serial, it says that it didn’t find any sensor. .. In the research I did, I saw that you will use SDI-12 … I will use several sensors in the project …

          • #14782
            Shannon Hicks
            Moderator

              Meter Group sensors like the Teros 12 come with either bare wires or 3.5mm stereo headphone jack plugs.  Have you already purchased your sensors?  If not, you can choose that option when you order.  You can also request a custom cable length if you need longer cables than the default length, which I think is usually 3 meters on their soil sensors.  Having them manufacture the sensors with extra cable length is highly preferred to splicing your own extensions on them.  So depending on which cable termination you have on your sensor, you’ll need to figure how you want to connect them to your Arduino board.  Are you using this setup indoors in a lab setting, or outside in the weather?  How many sensors do you want to hook up to one Arduino board?  How often are you going to take sensor readings?  Are you going to be logging the data somehow?  When you used the 10HS, did you use that with the Mega 2560, or something else?

          Viewing 3 reply threads
          • You must be logged in to reply to this topic.