I originally used an old pc-xt for this project. Doubt you will find one now. Anyway, I decided to put the original software back to work. Not only does the system detect openings and closings of doors and windows, the time date stamps are saved to disk for later inspection.  With one joystick port you can have up to 4 entry points. We are only using one entry point with this demo. With advanced programming and electronics, more entry points can be supported. To save electricity, I only use the system when we are gone or when I want to know when my daughter came home last night. Of course the computer needs to be in a secured location.  Try this at your own risk. I will not be responsible for any possible shortcomings. Let me know if you have any challenges.

r = STRIG(1) s/b r = STRIG(0) depending on your system.

Update: you should be able to download the code now if you could not already.

Part II: https://www.instructables.com/id/Security-with-a-old-Pentium-1-Part-II/
Also check out: https://www.instructables.com/id/Computerized-video-security-setup/

Step 1: What's needed.

An old computer with a joystick port, 3 1/2 inch floppy drive,  and a network card. (Cdrom and hard drive not required)
Nearby wall phone plug
Modem (to have th system dial your cellphone or where ever)
Several magnetic alarm contacts. (nc - normally closed)
Lots of almost invisible wire.
DB15 male joystick connector
A shield for same
momentary push button switch for disarming.

Tools :
Soldering iron
Staple gun
MSdos disk with a basic interpreter (i.e. qbasic).

About This Instructable



Bio: computoman.blogspot.com Bytesize articles instead of a trilogy in one post.
More by Computothought:Coffeepot meals Easy sun hat Easy cakes and pies. 
Add instructable to: