Electronic – arduino – Three UART connections to an ATMega328

arduinoatmegauart

I'm looking at the ATMega328p data sheet, and an Arduino Pin diagram, trying to determine if the chip can support three UART connections. I see that PD0 and PD1 are "USART" In and Out. So does that mean the other 10 or so Digital pins can be used for "UART" communications?

I have a need to connect three UART devices through the ATMega chip. The ATMega will forward traffic between two of the devices at a time, depending on which mode it's in.

Best Answer

If you don't have enough hardware serial ports, you can use other IO pins for serial under software control. But, don't expect to get 115200bps...

http://arduiniana.org/libraries/NewSoftSerial/