Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

[AVR] Two RX lines for Atmega32

Status
Not open for further replies.

ark5230

Advanced Member level 3
Joined
Jun 29, 2009
Messages
858
Helped
163
Reputation
324
Reaction score
140
Trophy points
1,323
Location
India
Activity points
6,143
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.
 

KlausST

Super Moderator
Staff member
Joined
Apr 17, 2014
Messages
18,077
Helped
4,054
Reputation
8,108
Reaction score
3,968
Trophy points
113
Activity points
119,292
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.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top