PIC12F675 PC PROGRAMMABLE SECURITY SYSTEM

This project uses the 12F675, it was chosen because of its low cost, A/D convertor and flash memory. This security system was designed to be used in a simple installation with just a hidden switch and not a keyboard….Β Electronics Projects,Β PIC12F675 PC Programmable Security SystemΒ β€œmicrochip projects, microcontroller projects, picbasic pro examples,

PIC12F675 PC PROGRAMMABLE SECURITY SYSTEM

This project uses the 12F675, it was chosen because of its low cost, A/D convertor and flash memory. This security system was designed to be used in a simple installation with just a hidden switch and not a keyboard. There are several features such as a battery monitor built into the code that also make it good for remote locations just run off a battery. Also all the delays and and other parameters are put into flash memory just by using a visual basic program and the serial port of a PC.

As you can see in the photo there are unused holes in the board, the board was designed for several different variations and future applications. Also the picture shows a optional header. This header connects to a switch on my programmer so that I flip the switch to β€œload” press the program button then switch to β€œrun”. If I need to change the program all I need to do is flip the switch to β€œload” press the program button then switch to β€œrun”, no need to unplug the IC or anything.If the header is to be used the 4 thin traces between the header need to be cut. The ground trace remains intact.

As mentioned above the delays and parameters can be programmed in anytime by the use of a visual basic program and the serial port on a PC. All you need to do is:

– start the VB program.

– connect the PC’s com port TX out pin to the Serial In on TB1 and PC’s com port ground pin to the ground on TB1

– select the correct Com port on the VB program and press Set Defaults.

– change any parameters

– connect 9 to 12 volts to TB1

– within 10 seconds of above press β€œUpload to Pic” , the program puts the PIC in program mode for only 10 seconds at power up

What the above parameters are

Entrance delay – the time you have to disarm the system with the hidden switch after the door switch is opened.

Exit Delay – the time you have to arm the system with the hidden switch and close the door.

Siren Timeout – the length of time the relay is activated after a alarm.

# of chirps ARMED – you may adjust the number of chirps that you get after a exit delay to confirm the system is armed. Enter 0 is you want none.

# of chirps TRIPPED – if the system has been tripped and after the siren timeout when disarm the system you you may adjust the number of chirps that you get. Enter 0 is you want none.

# of chirps LOW BATT- you may adjust the number of chirps that you get when a low battery condition is detected. Enter 0 is you want none.

Chirp time off – you can set the on/off ratio of the chirp here.

Chirp time on – you can set the on/off ratio of the chirp here.

Low Bat Chirp Int – you can set the interval that the low battery chirp comes on.

Low Battery – the level in tenths of a volt that will indicate a low battery ie 110 is 11.0 volts

Spare – not used

Spare – not used

Source: users.picbasic.orgΒ PIC12F675 PC Programmable Security System source code schematic pcb alternative link

FILE DOWNLOAD LINK LIST (in TXT format):Β LINKS-266.zip

Source: PIC12F675 PC PROGRAMMABLE SECURITY SYSTEM


About The Author

Muhammad Bilal

I am a highly skilled and motivated individual with a Master's degree in Computer Science. I have extensive experience in technical writing and a deep understanding of SEO practices.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.