Am Montag, 8. Mai 2006 00:10 schrieb Wizard:
> hey guys I am having a few problems (user error i know ) I can get a
> DS2408 to toggle on or off a led   or a relay.  but i cant seem to get
> it to sense weather the door is open or closed.  using magnetic switches
> on the doors to a relay because the door magnets work backward. break
> connection when door open. I was trying to use a relay to take ground to
> pio of ds2408 so it will see door open or closed.
>
Huh? Why don't you connect the switches directly between PIO.n and GND? You 
just have to change the meaning in software - no additional hardware needed.
(Don't forget a 100k pullup between each PIO.n and Vdd)


> Also i have been playing with a ds2406 T0 package  using data line to
> pin 2  ground to pin 1  pin 3 to 250 ohm res and then the negative on
> led +5 volts on the other side.
>
That should let you switch the LED on and off by software.

Kind regards

        Jan
-- 
Be warned that typing "killall name" may not have the desired
effect on non-Linux systems, especially when done by a privileged user.
                -- killall manual page


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to