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

Using two MB7389s via Grove

Home Forums Mayfly Data Logger Using two MB7389s via Grove

Viewing 4 reply threads
  • Author
    Posts
    • #12354
      CECL
      Participant
        I’m attempting to use two MB7389 sonars on one Mayfly. My code works if I connect one sonar via grove to D10/11 and the other to D18/19 on the digital 20-pin header (see code below, derived most
      • #12355
        Sara Damiano
        Moderator
          Short answer: you just can’t use on 7 for the Maxbotix using the libraries and sketch as you have it written.

          Long answer: It’s a pin change interrupt conflict problem. The software seria

        • #12357
          CECL
          Participant
            Thanks for the response. I have looked over the ReadMe but am very new to this all. Do you have any recommendations for which serial input library to use or how to modify to allow two grove connection
          • #12358
            Sara Damiano
            Moderator
              How (physically) are you connecting to the Maxbotix? Are you using a grove-to-male connector into screw terminals on the sensors? Are the sensors being positioned (in the field) in a way that their
            • #12360
              CECL
              Participant
                Thank you very much for the suggestions. I’ve decided to go with 10/6 for one sensor and 11/7 for the other – a very easy solution! I’ve also switched to using the parseInt stream fu
            Viewing 4 reply threads
            • You must be logged in to reply to this topic.