|
|
|
Bookmark this page:
Yahoo!
Windows Live
del.icio.us
digg
Netscape
|
|
||||||||||||||||||||||||||||
|
Posted by on May 31, 2009, 4:25 pm
Please log in for more thread options
1. I can use contact closure from a Home Depot style motion sensing light fixture to provide a 120vac relay with contact closure-not illumination. 2. With that contact closure on the relay I can use ________________ to inform a program running on my computer that the contact closure has occurred. It doesn't have to be wireless. It could be serial (distance ~60' to PC). 3. With contact closure sensed at the computer, a program running on the computer would sense the signal, and act. I can write for Linux or Windows, with .NET the preferred solution due to graphics for monitoring. I want to trigger actions on my audio port on the computer based on an interim program that is listening for a signal/state to occur. Simple. There are Rube Goldberg solutions out there with wireless, web, etc. but this really doesn't need to be. Most every sstem-including the risky/noisy X10 are designed to _send_ contact closures, not _receive_ them. - I can solder a relay into a disassembled driveway motion detector in 2 minutes. - I can run a contact closed pair to the PC. - I _cannot_ convert that contact closure right next to the PC into a signal that a running program/daemon can use as a trigger to act upon. How can I convert a contact closure into a signal that a running program can use? TIA! :) | ||||||||||||||||||||||||||||
|
Posted by Robert L Bass on June 1, 2009, 9:42 am
Please log in for more thread options Here's one of several products that you could use to make the connection between a dry contact and your PC. http://www.geovision.com.tw/english/product/GV-netiocard_V3-1.htm That said, you might want to consider an alternate approach if the overall system is to be responsible for the security of the property. There are simple to install alarms, both wired and wireless, which can provide security and/or varying degrees of lighting and automation control available for DIY. Models like Napco's P9600 and P3200 systems can include an RS-232 port with real-time status reports to the PC. I'm a bit biased in this area since I sell Napco, but they do make reliable systems. ELK Products and a few others also offer ways to integrate their systems with a PC. Elk is pricier than Napco but it's a full-blown home automation system whereas Napco is an alarm with HA integration options. -- Regards, Robert L Bass ==============================>
Bass Home Electronics
DIY Alarm and Home Automation Store http://www.bassburglaralarms.com Sales & Service 941-870-2310 Fax 941-870-3252 ==============================>
| ||||||||||||||||||||||||||||
|
Posted by =?UTF-8?B?QuKYvGd1cyBFeGNlcHRp on June 2, 2009, 11:21 am
Please log in for more thread options Robert,
Thanks for writing. wrote: >
> Here's one of several products that you could use to make the connection > between a dry contact and your PC. > > http://www.geovision.com.tw/english/product/GV-netiocard_V3-1.htm This is $89, and way outside the budget. > That said, you might want to consider an alternate approach if the overal=
l
> system is to be responsible for the security of the property. =A0There ar=
e
> simple to install alarms, both wired and wireless, which can provide secu=
rity
> and/or varying degrees of lighting and automation control available for D=
IY.
Well, that might help in certain scenarios, but mine is not security. My purpose is to create a "mosquito" (see: http://en.wikipedia.org/wiki/The= _Mosquito). I have a ..."neighbor" problem. In short, they are up all night partying outside our bedroom window. So I have all the components, except for that one link that will allow a program of my own design on a PC to sense/react to a contact closure right next to the computer. Thanks for the advice, and any other advice that comes my way! pat :) | ||||||||||||||||||||||||||||
|
Posted by Petem on June 2, 2009, 4:50 pm
Please log in for more thread options
cb8bf644-7163-4593-8e10-bf2403f1a1ff@n21g2000vba.googlegroups.com... > I have this crazy idea that...
> > 1. I can use contact closure from a Home Depot style motion sensing > light fixture to provide a 120vac relay with contact closure-not > illumination. > > 2. With that contact closure on the relay I can use ________________ > to inform a program running on my computer that the contact closure > has occurred. It doesn't have to be wireless. It could be serial > (distance ~60' to PC). > > 3. With contact closure sensed at the computer, a program running on > the computer would sense the signal, and act. I can write for Linux or > Windows, with .NET the preferred solution due to graphics for > monitoring. > > I want to trigger actions on my audio port on the computer based on an > interim program that is listening for a signal/state to occur. Simple. > > There are Rube Goldberg solutions out there with wireless, web, etc. > but this really doesn't need to be. Most every sstem-including the > risky/noisy X10 are designed to _send_ contact closures, not _receive_ > them. > > - I can solder a relay into a disassembled driveway motion detector in > 2 minutes. > - I can run a contact closed pair to the PC. > - I _cannot_ convert that contact closure right next to the PC into a > signal that a running program/daemon can use as a trigger to act upon. > > How can I convert a contact closure into a signal that a running > program can use? > > TIA! > > :) You have a cheap and dirty way of doing this... if you have a simple joystick connected to your computer you could use the trigger button to trig a action in a software.. cheap usb joystick are sold below 5$ use a 110 volt relay connected in place if the 110 volt light bulb in the detector system and use one of the contact of the relay (n.o.) as the signal to close the trigger button in the joystick i am sure you can find ready made routine in .net to monitor a joystick... | ||||||||||||||||||||||||||||
|
Posted by =?UTF-8?B?QuKYvGd1cyBFeGNlcHRp on June 2, 2009, 10:00 pm
Please log in for more thread options Petem,
This is fiendishly simple... Perfect! I was already doing all the rest (110vac relay and all), but shorting a 'Fire' button is really clever. Nobody else thought of that! :) pat :) >
e
> You have a cheap and dirty way of doing this... > > if you have a simple joystick connected to your computer you could use th= > trigger button to trig a action in a software..
nal
> > cheap usb joystick are sold below 5$ > > use a 110 volt relay connected in place if the 110 volt light bulb in the > detector system and use one of the contact of the relay (n.o.) as the sig= > to close the trigger button in the joystick i am sure you can find ready
> made routine in .net to monitor a joystick... | ||||||||||||||||||||||||||||
| Similar Threads | Posted |
| Contact closure | May 31, 2009, 4:25 pm |
| Contact closure of 120V power outlet | October 13, 2005, 9:26 pm |

Contact closure
Yahoo!
Windows Live
del.icio.us
digg
Netscape 









>
> How can I convert a contact closure into a signal that a running program can
> use?