About 3 years ago I wired up some voltage comparators and connected them to some motion and door sensors on a home alarm system. I connected the comparators to a PC parallel port using optical isolators and monitored the input pins using a linux parrallel port programming C library: parapin
http://www.circlemud.org/~jelson/software/parapin/ It has good documentation and is pretty easy to use. The library allows for both setting of output pins and status checking of input pins. I wrote a little daemon that would log all the state transitions of the alarm system sensors, as well as the house door bells and alarm siren. If the alarm is triggered, it sends me a text message to my cell phone telling me which alarm zone has problems. (For a while I was having it page me any time the door bell rang. That got annoying fast.) (A lot cheaper than the monthly alarm monitoring service fees). I used the same system to control some relays that control some lawn sprinkers... the sprinkers were controlled by cron. Thats the way to live: sprinkler control by cron. Its been a while since I've said it but: I love Unix. anyway, the parrallel port is a nice way to do custom i/o. -matt On Tue, 1 Jun 2004, Jordan M. Gunderson wrote: > >> I've been toying with the idea of trying to get a robotics group of > some sort > >> together, like I've noticed other places have. Y'all think there > would be > >> much interest? > > >I'd be interested :) > > Me too. > > > ____________________ > BYU Unix Users Group > http://uug.byu.edu/ > ___________________________________________________________________ > List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list > ____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
