Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] When boyscouts say one for all, all for one

2007-02-28 by Dennis Clark

I have used RS485 to do this as a master/slave half-duplex system 
with one master and 8 slaves.  RS485 is nice in that all you need to use 
is two IO lines to any unit.  Address arbitration is handled by using 
"9th bit" serial which all USARTs support, and many will interrupt on. 
Check that out for your network.

DLC

magzky02 wrote:
> hello guys,
> 
> i have a system that has 1 master microcontroller that communicates to 
> 18 slave microcontrollers. I am going to use a USART in UART mode. 
> Since the master is using only one UART, there are control lines so 
> that the communication b/n slave and master is one at time to avoid 
> corruption. My question is that is this method reliable? When one 
> slave controller transmit (toggling the lines high and low), hows does 
> other slave controller affect the data? will they hold the line high? 
> Any idea?
> 
> consulted mr google and seems rs485 is one solution. 
> 
> rgrds
> 
> mgu
> 
> 
> 
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 

-- 
---------------------------------------
Dennis Clark    TTT Enterprises
---------------------------------------

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.