>There are solenoid drivers and the like with 1-wire control. There are also >published designs for 1-wire SLAVES based on the PIC micro. Search the >developer's list archives.
http://www.mail-archive.com/[email protected]/msg00667.html http://www.sq-1.com/sctoc.html Yes, but this one has to be more interesting: http://bascom.at.ua/publ/1-1-0-1 >OWFS handles multiple adapters seemlessly. There is no specified limit on the >number, but I haven't tried 10-15. You can also partition the master among >multiple machines, or multiple instances of owserver on the same machine. The >overhead is minimal. So the answer is - yes, OWFS has correct routing between lines? In my opinion, multiple adapters on host 1 can work absolutely different: 1. Software use general BUS 0 (host 1) which is divided by BUS'es 0.1 (usb0) and 0.2 (usb1) outputs from BUS 0 routed to BUS 0.1 0.2 inputs from BUS 0.1 routeed to BUS 0 inputs from BUS 0.2 routeed to BUS 0 2. BUS 0.1 and 0.2 are separete buses outputs from BUS 0.1 routed to BUS 0.1 inputs from BUS 0.1 routed to BUS 0.1 Has OWFS any "routing tables"? How this can be implemented when all usb connections are not permanent? >USB has an issue with enumeration -- the same adapter will be assigned a >different slot. We try to search for the unique ID (family code 81) when >"reconnecting" but it's a fundemental limitation of the operating system. >Probably your code should search through all adapters for known slaves and >make assignments dynamically. Before polling the devices i have to mount owfs line, but to make it correctly i need to know how are corresponding the usb ports and 1W lines among themselves. Probably is necessary to make mountpoint static: 1W-USB #1 -> /dev/usb#unknown -> /mnt/line#static1 -> line 1, set virtually by adapter's unique ID that seems to be really strange :/ Or you are talking about OWFS build-in feature? >Two adapters can be connected to the same 1-wire net as long as only 1 is >active. Can you poll and switch over? Again, I haven't actually tried this. I guess simple parallel connection should work well with software "switch". Only one adapter per line is active. There is a modern solution for adding gpio's, ADC and other devices to PC or embedded device. Most of chips can be connected by i2c which is supported by kernel. 1W PSU can be based on PCA9535, ADS7828, DAC5571 or similar and connected with usb-i2c adapter to server, such adapters are rather widespread and cheap. This gives me powerful control of 1W lines. OWFS is good for long distances (10-100m) where i can check integrity of 1W line by label at end and use optocoupler. Device will stay in last mode until the power is off. But remote controlled switch on 1W data line is unsecure. If there is no possible software trouble with 2 adapters in parallel i will use it. But i dont want to use 1W for PSU control as well as 1W that depends on PSU. Therefore i think to make PSU that is fully managed by kernel and partially by 1W. What about correct wiring? Cat5 has 4 pairs, but most of hobby-board and our Elin's company use only 2 of them. http://www.elin.ru/1-Wire/Support/ (sorry for russian, but there is lot of pdf's with schemes). May be OWFS support more clever wiring than just one long bus with one adapter? Loop, 2 adapters for 1 bus (by one at both ends) and so on. With 2 adapters i can do software splitting of 1 bus when data bus fails. Thank you for great software! No failover for 4 years non-stop on small HVAC: http://crymos.ru/uploads/images/engineering/statistic.txt (current statistic) Was working for 1 month even with dead HDD! ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Owfs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/owfs-developers
