Re: Multiplexing USART lines

Hi!

> > I'm working on an autonomous mobile robot using a atmel mega128 mcu. This > device has 2 usarts but i have 3 serial devices i want connect to. So my > question is has anyone an idea or a shematic on how to multiplex the usart > lines to connect two devices to one usart? > > tnx, > Andreas

On a PIC, I used its own comparators as a crude multiplexer, but it needs a few more PIC pins to do this, but few external parts are needed. How fast do you want to go? And do you need three full duplex ports? And what, exactly, do you mean by serial devices? A device like a PC or RS-232 type peripheral? Because I2C is a serial interface that you can use to connect many devices to one serial port.

Reply to
A E
Loading thread data ...

a few

115200 full duplex (bluetooth module) 19200 half duplex (gps module) 9800 half duplex (compass module)

all of the devices are rs-232 type with ttl voltage levels

to

yes i will connect other devices trought i2c. do you know a i2c to ttl rs232 converter ic?

tnx, Andreas

Reply to
Andreas Trenkwalder

Reply to
Shawn

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.