Electronic – Duplicate RX in uart (two devices listening one of which is data-logging)

gpsmsp430uart

I am not too familial with UART yet, and was wondering if I could some how duplicate the stream of information going to a microcontroller from a GPS. My application will be using a msp430g2553 microconltroler to communicate with a GPS module while data-logging with (OpenLog).

I have read that you should not just simply have 1 sender and 2 receivers,
https://learn.sparkfun.com/tutorials/serial-communication

Any suggestions/advice will be appreciated.

Best Answer

You may be misinterpreting a part of that page. If you look for the text "It can be safe to connect multiple receiving devices to a single transmitting device" the diagram shows a way to connect the two that should be OK for this case:

enter image description here

A few of the warnings on the page like "you can’t pick and choose which device hears what transmission" don't really apply in your case because you do want both devices to hear all communication from the device.

A big no-no with serial communications is attempting to connect two transmit lines together, but generally feeding a transmit line to several receivers is fine as long as you pay attention to voltage levels to make sure they're within range for your microcontroller and for example don't try to connect RS232 levels to a TTL device.