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

Multiple OneWire Sensors Multiple Pins

Home Forums Environmental Sensors Multiple OneWire Sensors Multiple Pins

Viewing 0 reply threads
  • Author
    Posts
    • #17096
      KBR Kings River
      Participant

        I would like to monitor temperature, of water, ground and air.  I was thinking of building one wired sensor to the water, then another wired sensor to ground and air.  Thus I would need two OneWire Bus Pins, .and the one  OneWire Bus pin would have two sensors attached.

        Using a few Arduino Example sketches I can get this to work and read, multiple sensors on multiple buses, using unique addresses.

        However in the ModularSensors a_la_cart example it just has 1 sensor on 1 bus.  I have tried adding an changing some of the const but but cant get to compile.

        How do I change the code to have multiple sensors…   and

        How do I change the code to have multiple OneWire Buses

        Thanks Ron

         

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