Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of WikiWatershed, a web toolkit designed to help citizens, conservation practitioners, municipal decision-makers, researchers, educators, and students advance knowledge and stewardship of fresh water. New to EnviroDIY? Start here

Grove 4 pin terminal board

Home Forums Mayfly Data Logger Grove 4 pin terminal board

Viewing 3 reply threads
  • Author
    Posts
    • #17551
      Mary
      Participant

        I am trying to connect an ancient rain logger to the Mayfly. I have a pair of wires that come out of the tip bucket. I need a connector from the wires (each wire contains two wires for a total of four) to the Mayfly. I searched the forum and saw a description for the Grove 4 pin terminal board. But it seems to need to connect a power wire. There is no power on the tip bucket. The board with the 2032 battery died. I thought the battery pack attached to the Mayfly would provide the power. (This is my first project, attended the workshop in October and am just getting started.

      • #17562
        neilh20
        Participant

          Hello Mary, gosh you may have to provide more detail of what you are thinking you are doing. The tipping bucket is typically a pulse count – it needs to translate the mechanical tipping bucket to an electronic pulse.  So you may want to reference this in more detail.

          There is this , never tried it . .. https://github.com/EnviroDIY/TippingBucketRainCounter

        • #17565
          Mary
          Participant

            Thank you for your help. I’ve ordered a ProTrinket. Basically, I am trying to recreate what the rain logger did before it died. Log date, time and a tip, convert the tip to inches and have a running total per rain event. Ultimately, be able to retrieve the data remotely. We have three broken loggers (very old) and one that is still functioning. We are only measuring rain, not temperature. Info on logger:

            https://www.onsetcomp.com/sites/default/files/resources-documents/10241-M%20MAN-RG3%20and%20RG3-M.pdf

            We are a volunteer org located in Upper Bucks County PA. http://bntgroundwater.org/

             

            About

             

          • #17567
            Shannon Hicks
            Moderator

              If you have the original sketch that someone wrote for the logger, then that should give you clues of how everything should be connected.  There are several different ways in which to connect a tipping bucket to a Mayfly logger, some require a circuit in between to do the actual counting (like the Trinket or an ATtiny), but we’ve had good luck with just connecting the two poles of the tipping bucket switch directly to the Mayfly board and using digial pin 10 (D10) which is a hardware interrupt pin to wake the logger and count the tip.  By activating the onboard pullup resistor (using jumper SJ12) you can just connect one wire of the bucket to D10 and the other to Mayfly ground.  There’s a full explanation in this thread (https://www.envirodiy.org/topic/rain-gauge-tip-data-without-rain/) along with the sample code.  However, note the one drawback to using this method (as mentioned in that thread) that tips won’t be counted if the Mayfly is busy doing something else like making a radio or cell transmission, so an occasional tip might be missed during high rain-rate events (and depending on your transmission frequency).  So having a separate counting device report tips to the Mayfly on demand is a more reliable and accurate method, so people use the Trinket, ATtiny, or other small affordable programmable chip for that.

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