Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics 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.

[SOLVED] How to connect GSM UART with two different devices

Status
Not open for further replies.

Wajiduddaim

Junior Member level 1
Junior Member level 1
Joined
May 12, 2011
Messages
18
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
darbar-e-Sadria
Activity points
1,464
Hi
i m using GSM Module SIM 808, and i want to connect it's UART with microcontroller and PC but one at a time (PC OR microcontroller), i m designing PCB, and i want some kind of diversion or blocker that when i use microcontroller it will not damage max232 IC

Please see the picture to understand

gsm.png
 

The signal is at logic levels so you can either do it with discrete logic gates or by using a multiplexer, for example a 74LS157 but be careful with the supply voltages if the SIM808 can't handle 5V levels.
It would be wise to use a MAX3232 instead of a MAX232 if the supply is lower then 5V as it will work down to lower supply voltage.

Brian.
 
Hi,

Tx --> multiple Rx is no problem. Just connect them.

Multiple Tx --> single Rx may be combined with AND logic.
This works as long as not two Tx try to send at the same time. In this case nothing will be damaged, but communication will become confused.

For sure a multiplexer is a good approach, too. But it needs an additional control line.
Who/what controls this line? Either PC or microcontroller?

Klaus
 
The best approach is to add UART bridge with two circular FIFO inside to ensure that no data was lost. Simple Atmel Mcu can do the job for you, if there are not enough UARTs inside - make software UARTs
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top