Home › Forums › Other Data Loggers › Serial datalogger RS485 › Reply To: Serial datalogger RS485
2019-10-02 at 5:27 PM
#13195
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());
}