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 4 8051 using UART and AT89S52?

Status
Not open for further replies.

torana

Member level 2
Joined
Sep 11, 2011
Messages
51
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,683
hello,

i am trying to connect three 4Nos 8051 each other by UART. AT89s52 is my micro controller.
my controller is having one UART. for communication i am using MAX 232 IC.
i know that on this is a point-to-point communication.
is there any way that i can connect 4 micro controller.
in my place only AT89C51/C52/S51/S52 available. so i have to select micro controller from these.
MAX 232 IC is also available. So Pls help.
 

Re: problem in 8051 UART

Your question is not very clear. are you want to connect 3 89s52 with each other and 1 89s52 to control other 3? or you want to connect it to PC serial port?
if you are not using PC serial port for connection, you don't need max232. I think there is a better way to connect 4 controllers is IIC protocol. search it on google.
where are you staying?
 

Re: problem in 8051 UART

Your question is not very clear. are you want to connect 3 89s52 with each other and 1 89s52 to control other 3? or you want to connect it to PC serial port?
if you are not using PC serial port for connection, you don't need max232. I think there is a better way to connect 4 controllers is IIC protocol. search it on google.
where are you staying?

Thank you. i want to communicate from first mcu to other three mcu. and my distance will be around 7 meter. I think it is possible by RS485, but i donot have knowledge on rs485. i am very friendly with RS232. pls follow two FIG.1 and FIG.2. i just want to connect 4 mcu.

i am from orissa
 

Re: problem in 8051 UART

if you only need one master and 3 slaves then figure1 and if you need low speed baude rate (up to 9600baud) you can wire direct with resistor loading!
If you havan't noise enviroment there will work without problems!
 

Re: problem in 8051 UART

You can use null modem connection to connect the controllers or else you can try to do SPI... search about SPI and let me knw....
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top