home security system using c language only

This is a group to discuss all details on home automation, home security technology and related technologies.

home security system using c language only

Postby anjul agarwal on Mon Nov 28, 2005 6:04 pm

i want to build a project on home security system.the thing i had done till is to send current on parallel port.now the problem faced is which sensor is to be used for motion,smoke and to detect fire.
also how to get their acknowledgement back to pc.
plz help me out
anjul agarwal
 

Interfacing detectors to PC

Postby Tomi Engdahl on Tue Nov 29, 2005 2:15 pm

Read this document for information on interfacing to parallell port:
http://www.epanorama.net/circuits/paral ... html#input

Parallel port has five input pins that that can be used to interface switches:

Image

If you select sensors that have free floating relay output contacts, then you can put this contact in place of the switch on this circuit. Should work on reasonably short cables (several meters) very nicely (with long cables there is potential for interference because parallel port os quite sensitive).

If the sensors have voltage output, open collector output or are located some distance away, the safest choise would be to put a relay or optocoupler between he sensor and PC. The sensor signa activates that relay/optocoupler control side, and the output of it goes to parallel port circuit in place of the switch.

Those same idas can be also adapted for use with PC joystick port button inputs) or serial port (modem status inputs).
Tomi Engdahl
Site Admin
 
Posts: 1839
Joined: Mon Oct 20, 2003 6:15 pm
Location: Espoo, Finland


Return to Home Automation

Who is online

Users browsing this forum: No registered users and 1 guest

cron