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

Reply To: XBee Networks of Mayfly Loggers – 900Mhz

Home Forums Mayfly Data Logger XBee Networks of Mayfly Loggers – 900Mhz Reply To: XBee Networks of Mayfly Loggers – 900Mhz


    Thank you so much for your reply. I was just getting ready to try to figure it out. I’ve been having issues with my batteries draining, so this will be a tremendous help.

    Edited 6/8/19:
    After some trial and error, you need to set pin 23 to LOW before transmitting. At least that’s what I could get to work with the xBee’s I’m using.
    digitalWrite(23, LOW); wake up the xBee
    Serial1.print(“some text);
    // more print statements as desired
    digitalWrite(23, HIGH); put the xBee to sleep