I don't know if ATMELs AVR series have this, but I would think a CAN bus would be a good option. The coms bus its self is usually a length of coax lead terminated at the end with (usually) 50ohms to stop reflections, then any additional microcontrollers are just tagged on with (for instance) a BNC T-connector. You have one master (the PC) and loads of slaves (microcontrollers). Might be overkill for what you are trying to do, the protocol is quite complicated, but I would imagine that a CAN bus module within the microcontoller does most of the work for you; however the topology is easy, just a length of transmission line. CAN buses are used in vehicles, including tanks, as well as high end cars such as Mercs.
Cheers,
Gavin
--- On Sat, 9/27/08, Leon <leon355@btinternet.com> wrote:
Show quoted textHide quoted text
From: Leon <leon355@btinternet.com>
Subject: Re: [AVR-Chat] Communication between 2 Atmel microcontrollers
To: AVR-Chat@yahoogroups.com
Date: Saturday, September 27, 2008, 10:25 AM
----- Original Message -----
From: "Yingdan" <yingdanh@gmail. com>
To: <AVR-Chat@yahoogroup s.com>
Sent: Friday, September 26, 2008 6:42 PM
Subject: [AVR-Chat] Communication between 2 Atmel microcontrollers
> Hi everyone,
>
> I am new to here and this is my first post. And I am totally new to
> circuitry.
>
> I only had experience of sending and receiving data between a computer
> and a microcontroller. I want to learn how 2 atmel microcontrollers
> communicate. The scenario is like this:
>
> A microcontroller is connected to my PC, when another microcotroller
> is connected to the 1st one, it can be powered and send its id to the
> computer. Later on, I want to have multiple microcontrollers and my PC
> should be able to figure out the topology
RS-485?
Leon
--
Leon Heller
Amateur radio call-sign G1HSM
Yaesu FT-817ND transceiver
Suzuki SV1000S motorcycle
leon355@btinternet. com
http://www.geocitie s.com/leon_ heller
[Non-text portions of this message have been removed]