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,
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