[AVR] Two RX lines for Atmega32

Status
Not open for further replies.

ark5230

Advanced Member level 3
Joined
Jun 29, 2009
Messages
862
Helped
163
Reputation
324
Reaction score
140
Trophy points
1,323
Location
India
Activity points
6,187
I am using Atmega 32
Application needs 2 Rx lines.
In fact using GSM modem and GPS module.
It needs communication with both, but I need one at a time only.
GSM needs both Rx and Tx, : so giving the serial port to this.
One more Rx is needed for GPS module.
I wish to use 74LS257 multiplexer to select one of the two inputs (from GPS or GSM) under program control.
I wish to connect 74LS257 between port pins and Max232.

Is there any issue in connecting 74LS257 between Atmega32 and MAX 232 for selecting input Rx line.
Any help, suggestion or link to guide further is welcome.
 

Hi,

as far as i see the 257 should work.

you could use an analog multiplexer with rail to rail IO,

or you could use an ATMEGA324 with 2 UARTS.


Klaus
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…