Re: Positional/physical addressing

Liste des GroupesRevenir à e design 
Sujet : Re: Positional/physical addressing
De : liz (at) *nospam* poppyrecords.invalid.invalid (Liz Tuddenham)
Groupes : sci.electronics.design
Date : 25. Jun 2025, 11:14:49
Autres entêtes
Organisation : Poppy Records
Message-ID : <1rehchv.1icqpl5msm4iiN%liz@poppyrecords.invalid.invalid>
References : 1 2 3
User-Agent : MacSOUP/2.4.6
Don Y <blockedofcourse@foo.invalid> wrote:

[...]
 My goal
is just to "run wires" between devices and let the devices sort
it all out.

I must admit this problem is a long way outside my comfort zone, but if
we postulate that all the devices are truly identical then the contoller
has no way of initially setting up the system.  If it sends out a
request for a response,  all the devices will respond virtually
simultaneously and there will be no way of sorting out the resulting
'pile-up'

Even if the controller is clever enough to detect the nearest device on
the line, because its response arrives first, it has no way of telling
that device to assume a particular identity because the same identity
command will be picked up by all the other devices too.  The problem
isn't one of which system to use, but whether an overall strategy can be
developed to solve a problem that appears to be logically insoluble.

Having said that, there is one feature that could be used to distinguish
between the devices before any address allocation has taken place, they
are all different distances from the controller. 

If the controller sends out a pulse and every device responds
instantaneously, the first response received back can trigger a second
pulse from the controller.  The first device on the line will receive
the second pulse after a time which corresponds to twice its distance
from the controller and this can generate a number which the device
stores.  The controller polls through the numbers sequentially from zero
until the first device responds, the controller now tells the first
device to shut up and repeats the entire sequence so that the second
device is now the first one to respond.

This is repeated until each device along the line has a unique number
and has been muted..  The controller sends out a command to re-activate
all the devices and polls through the numbers again, listening for each
device to respond individually.  When a device responds it is allocated
a proper address and the network is gradually set up in this manner.

--
~ Liz Tuddenham ~
(Remove the ".invalid"s and add ".co.uk" to reply)
www.poppyrecords.co.uk

Date Sujet#  Auteur
24 Jun 25 * Positional/physical addressing25Don Y
24 Jun 25 +* Re: Positional/physical addressing8Martin Rid
24 Jun 25 i`* Re: Positional/physical addressing7Don Y
24 Jun 25 i `* Re: Positional/physical addressing6Don Y
24 Jun 25 i  +* Re: Positional/physical addressing4Jeroen Belleman
25 Jun 25 i  i`* Re: Positional/physical addressing3Ian
25 Jun 25 i  i +- Re: Positional/physical addressing1Don Y
25 Jun 25 i  i `- Re: Positional/physical addressing1Jeroen Belleman
24 Jun 25 i  `- Re: Positional/physical addressing1Don Y
25 Jun 25 +* Re: Positional/physical addressing11Liz Tuddenham
25 Jun 25 i`* Re: Positional/physical addressing10Don Y
25 Jun 25 i `* Re: Positional/physical addressing9Liz Tuddenham
25 Jun 25 i  `* Re: Positional/physical addressing8Don Y
26 Jun 25 i   +* Re: Positional/physical addressing4Liz Tuddenham
26 Jun 25 i   i`* Re: Positional/physical addressing3Don Y
26 Jun 25 i   i `* Re: Positional/physical addressing2Liz Tuddenham
26 Jun21:48 i   i  `- Re: Positional/physical addressing1Don Y
26 Jun 25 i   +* Re: Positional/physical addressing2bitrex
26 Jun21:50 i   i`- Re: Positional/physical addressing1Don Y
26 Jun 25 i   `- Re: Positional/physical addressing1bitrex
25 Jun 25 +* Re: Positional/physical addressing4Ian
25 Jun 25 i`* Re: Positional/physical addressing3Don Y
25 Jun 25 i `* Re: Positional/physical addressing2Dennis
25 Jun 25 i  `- Re: Positional/physical addressing1Don Y
25 Jun 25 `- Re: Positional/physical addressing1john larkin

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal