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.

Example of auto addressing nodes implementation in C

Status
Not open for further replies.

dpechman

Advanced Member level 4
Joined
Mar 12, 2002
Messages
102
Helped
3
Reputation
6
Reaction score
1
Trophy points
1,298
Location
Brazilzil
Activity points
555
Auto addressing nodes

Im trying to develop an network using picmicro over rs485. some one have some example of implementation (in C) of auto-addressing of the nodes? node 0 will be master and 1 to 31 slaves...
my ideia:
put one button in the devices to reset address and change it to 32, so the master scan can ask for "32" at every scan end and if some response is maked change it again to some avaliable address...
my question is, how shoud be the timeout value to dont make my network slow?
How to treat the timeout of address 32 and or any address with problems?
tks,
Daniel
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top