To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 18687
18686  |  18688
Subject: 
Re: Brainstorms -- A Simple Unique Addressing Scheme
Newsgroups: 
lugnet.robotics
Date: 
Wed, 14 Aug 2002 05:25:33 GMT
Viewed: 
1000 times
  
In lugnet.robotics, Dick Swan writes:
There's been a lot of messages on how to determine unique addressing
for intelligent peripherals.

[snip DCC references]

Each train locomotive or other peripheral contains a smart uniquely
addressable controller. End users initially program the peripheral
address themselves. A simplified view of the procedure is to put the
locomotive on a dedicated  short section of track and then send a DCC
broadcast command to the locomotive to set the new address. The
locomotive is the only device on the track (i.e. signalling bus) so
only one locomotive / peripheral is programmed to this address.
Naturally, in the case of a robot you have to assign the peripheral
addresses before you build your robot.

That might be workable.  I2C does not really have a broadcast
message (General Call is close, but not quite).  However, just
scanning the I2C bus for 1024 addresses to find what the current
address of the module is and then sending a "set your address
to XYZ" command might just work.

This means that when your XYZ module has just decided to
fry itself and you want to borrow one from a friend,
you have to first reprogram its address.  If you accidently
forget this step, it is quite possible that device conflicts
will accidentally occur.  It is not fool proof, but it might
be "good enough".

[snip more DCC stuff]



Message is in Reply To:
  Re: Brainstorms -- A Simple Unique Addressing Scheme
 
There's been a lot of messages on how to determine unique addressing for intelligent peripherals. Model railroading has solved this problem in a fairly easy way. THe NMRA (National Model Railroading Association) defined the DCC (Digital Command (...) (22 years ago, 14-Aug-02, to lugnet.robotics)

53 Messages in This Thread:
























Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR