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

Mayfly I2C Address

Home Forums Mayfly Data Logger Mayfly I2C Address

Viewing 2 reply threads
  • Author
    Posts
    • #16313
      Zeke Holloman
      Participant

        @srgdamiano @shicks @neilh20

         

        Hi there! Does the Mayfly have an I2C address associated with it? I’m trying to use Wire.h to transmit data between two Mayflys. If it does, where could I find it, for both the 0.5b and the 1.0. Thank you!

      • #16314
        Shannon Hicks
        Moderator

          The Mayfly board is not a I2C slave device so it does not have an I2C address.  The easiest way to transfer data between Mayfly boards would be to use UART like serial or NewSoftSerial.

        • #16315
          neilh20
          Participant

            @zeke-holloman communications – peer2peer – is a deep subject.

            Many years ago I wrote the code for a comms stack to use the 9bit UART to poll an array of processors. In the end it was 2people for 18months to get it working reliably.  So its not trivial, but i had a fantastic time with it.

            https://forum.arduino.cc/t/uart-with-9-bits/612497/19

            It may that you have a special case and only want to use 8bit communications,  it partly depends on what you want to communicate.

             

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