You know you get the dumb look on your face and is this damn thing working? Ethernet has activity indicators, you know the two lights on the RJ45 socket.
Well, we can do the same for Serial Ports remember that Arduino's are only 2 pins (rx and tx).
So grab you an RJ45 Breakout Socket without magnetics from the web. So we have four (4) pairs to play with. BTW pairs are a good thing.
WAIT, YOU SAY: How is this supposed to work? The LED is connected between two outputs (Rx & Tx); Duh?
Well get this, both Rx and Tx are never both High or Low at the same time. So if Rx is high and Tx low then you get flow through one of the diodes, and when Tx is high and Rx low you get flow through the other diode.
THE BEST, NO SOFTWARE!
Neat huh? So this is pure win-win.
|Serial 0||Serial 1||Serial 2||Serial 3|
|Arduino||pins 0 (RX) and 1 (TX)|
|Leonardo||USB||pins 0 (RX) and 1 (TX)|
|Mega||pins 0 (RX) and 1 (TX)||pins 19 (RX) and 18 (TX)||pins 17 (RX) and 16 (TX)||pins 15 (RX) and 14 (TX)|
|Due||pins 0 (RX) and 1 (TX)||pins 19 (RX) and 18 (TX)||pins 17 (RX) and 16 (TX)||pins 15 (RX) and 14 (TX)|
Stay Tuned In. More To Come
~~ Cris H.
Back to the Index