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.

[50pts] Interfacing 2 Led displayer

Status
Not open for further replies.

mouzid

Full Member level 5
Joined
Jun 22, 2007
Messages
248
Helped
9
Reputation
18
Reaction score
0
Trophy points
1,296
Activity points
2,876
interfacing with led

Hello,

How can I send data to two microcontroller based led displayer situated at 150m away from my PC ?
 

interfacing an led

Hi,

you can use a RS485 bus to transmit at that distance.

Just plug the PC to a RS232-to-RS485 converter, and at the other side do the opposite.

You can achieve great distances with a RS485 bus.
 

    mouzid

    Points: 2
    Helpful Answer Positive Rating
asena said:
Hi,

you can use a RS485 bus to transmit at that distance.

Just plug the PC to a RS232-to-RS485 converter, and at the other side do the opposite.

You can achieve great distances with a RS485 bus.

Thank you asena.
But I have two microcontrollers. As far ase I know only one µc can communicate with via the RS232 How to resolve this problem ?

Any other better solution ?
 

With a RS485 bus, you can have many participants together.

Go through the specifications of the RS485 and you'll understand better.

Just Google it.
 

    mouzid

    Points: 2
    Helpful Answer Positive Rating
asena said:
With a RS485 bus, you can have many participants together.

Go through the specifications of the RS485 and you'll understand better.

Just Google it.

Could you please refert me to a nice exemple ?
 

mouzid said:
But I have two microcontrollers. As far ase I know only one µc can communicate with via the RS232 How to resolve this problem ?
Any other better solution ?

What is the problem with communicationg both MCU via one RS232? Just add the diode to Tx line so MCU would not affect each other. at least while they are not sending data at the same time.
Especially if you need only transmit data to displays.
With a normal cable RS232 should work for 150m at 9600bps.
The only thing that you need to add some adressing into your protocol that MCUs could distinguish if the data coming should be displayed or it is for another MCU.

Of course it is better to use anoter physical layer than RS232 for such distances.
As was said, RS485 is differential interface and more suitable for this, but RS232 should work too.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top