1. The DS2408 should be able to sense 8 pins. I guess week pull-ups with circuit to ground until interrupted.
2. You can wire them all on one 1-wire bus or segment it. 3. Scanning several times a second should be easy. You will have a list of known DS2408's. #!/usr/bin X=/1wire/29.* while : for F in $X ; do s=`cat $F/sensed.BYTE` if !(s=="0") then echo "Alarm at `cat /text/$F` fi done done Paul -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of DeanCollins Sent: Monday, February 27, 2006 9:53 PM To: owfs-developers@lists.sourceforge.net Subject: [Owfs-developers] Help Designing a 1Wire system Hello, I am kinda new to this. I have fiddled for a while but now need some help. I am designing an alarm system for my workplace, it is to put on display items (cd players/dvd players/cameras). I am looking at making a controller unit (WRT54 possibly) that connects to "hubs" accross the shop. These hubs will have 4-8 ports in them, each port connects to a cable that has an open/closed circuit in them, so when the cable is removed from a product it makes an open circuit. I am thinking of using the 2408 to provide 8 inputs (or perhaps 4inputs and 4 outputs for monitoring), so when a cable is removed it will make the input open and then the controller will sound an alarm. Also the alarm will be placed in the network somewhere and will be addressable from the controller. To stop the alarm i also want to use either RFID tags or iButton keyfobs with readers placed in different locations around the shop. Does this sound like a possible project? or should i be looking at another type of hardware for this, also will OWFS be able to cope with this, with a scanning resolution of 1-2 times per second? Thanks -- View this message in context: http://www.nabble.com/Help-Designing-a-1Wire-system-t1197008.html#a3157236 Sent from the OWFS - Dev forum at Nabble.com. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers