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

Reply To: Serial datalogger RS485

Home Forums Other Data Loggers Serial datalogger RS485 Reply To: Serial datalogger RS485

#13195
Sara Damiano
Moderator

    You’ll need an RS485 to 3.3V TTL adapter. I *strongly* recommend getting one with built-in flow control. I also highly recommend hooking your doppler up to the Mayfly’s Serial1 unless you have good reason not to.

    Once you have the connector you should be able to transfer data from the doppler to an SD card using a library like SdFat and a simple sequence like:
    while (Serial1.available())
    {
    SdFile.print(Serial1.read());
    }