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

Analog-to- Digital Converter Port on Mayfly Data Logger

Home Forums Mayfly Data Logger Analog-to- Digital Converter Port on Mayfly Data Logger

Viewing 4 reply threads
  • Author
    Posts
    • #13174
      Rachana
      Participant
        Hello @shicks,

        I am trying to connect the OBS 3+ of Campbell Scientific(turbidity sensor) to the Mayfly Data Logger using the ‘Auxiliary 16-bit, 4-channel Analog-to-Digital Converter’ por

      • #13175
        Shannon Hicks
        Moderator
          Are you referring to the two Grove ports in the lower left corner of the Mayfly? All of the Grove ports (and the Sw3 and Sw5 pins in the headers) are designed to only be powered when you set pin D22
          • #13176
            Rachana
            Participant
              Thank you for the information. But I am unable find the D22 pin on the board. I am using ver 0.5b. I checked the schematic and tried locating the TOSC1/D22 but could not. Could find all the resistors
          • #13181
            Sara Damiano
            Moderator

              You set pin 22 high in whatever program/sketch you’re using.

            • #13182
              Shannon Hicks
              Moderator
                Mayfly D22 is not a physical pin on the board, it’s processor pin 22, which means you set it high or low using digitalWrite commands in your sketch, just like you would with pin 8 or 9 to turn t
              • #13222
                Rachana
                Participant
                  Thanks for the guidance. I went through the examples in the git repo and found the following piece of code (abridged for Campbell OBS3+ turbidity sensor). I have a couple of questions. Could you pleas
              Viewing 4 reply threads
              • You must be logged in to reply to this topic.