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

Interrupt

Home Forums Mayfly Data Logger Interrupt

Viewing 6 reply threads
  • Author
    Posts
    • #2224
      lillquist
      Participant
        I’m trying to use a flow meter that ticks every revolution from a magnet passing a hall effect sensor, equating to some volume of liquid. I need to be sure not to miss a tick so I need the inter
      • #2226
        Shannon Hicks
        Moderator
          The Mayfly has 3 hardware interrupts. They are RXD1 (INT0), TXD1 (INT1), and D10 (INT2). To use the “attachInterrupt” function, you can only use the three hardware interrupt pins, and yo
        • #2227
          Jim Moore
          Participant
            I have been trying to setup the new rev 0.5 boards to run my Atlas Scientific sensors and I have been using the Mayfly_sleep example. I changed J1 to use D10 as the interupt and it didn’t work
          • #2228
            Shannon Hicks
            Moderator
              Because the v0.5 board can now accept an input supply voltage up to 12v, I had to change the onboard voltage divider that’s used for measuring the battery voltage by way of A6. So the formula f
            • #2266
              xama
              Participant

                I’ve the same problem with a rain gauge sensor:
                https://pronamic.com/products/rain-o-matic-small

                I’ve tried with a bridge in sj12 and also in sj1 but nothing happens…

                Any hints?

              • #2270
                Shannon Hicks
                Moderator
                  SJ-12 is for enabling the pullup resistor on D10. SJ-1 is for changing the square wave alarm signal from the RealTimeClock from A7 (default) to D10. As stated on the Jumper Settings page (https://en
                • #2280
                  Sara Damiano
                  Moderator
                    You should also be able to use pin-change interrupts for the tipping bucket, which would allow you to use any pin at all. Using pin change interrupts requires an extra library, though. I’m a f
                Viewing 6 reply threads
                • You must be logged in to reply to this topic.