Here are my first (and only, yet) PIC project. It's a Car Alarm with a 16F84.
This page is just a beta version yet so if here are something you don't understand it mustn't mean that you are stupid, it's just me who forgot to write everything out. I know the picture quality sucks with black background, but they are better in my .zip file. A .zip file? Yep, I have all schemes and layouts in a .zip file to download here:
caralarm.zip

Background
Function
Scheme
Layout
Picks
Thanks
Links
Contact



Background:

It started with that should make a work at my school, so I decided to make a car alarm but I didn't know how to make it first, but after I've been thinking a while I decided to make it with a PIC. Why I chose PIC is because I wanted to more about micro controllers and the program can easily be changed if I want to have an other function in my alarm. I looked at several other micro controllers too, but I found out that PIC16F84 would be my best choice, cheap and simple to program. Next are the functions, but if someone want my whole work (about 15 pages in Swedish) so send me an E-mail, but you'll better have a good reason, because I don't want anyone to steal my whole work, but at least I'll give you the code and the layout of the circuit board. Just if someone is interested how good this alarm is, I can tell you I got B5 for it, and that's the best you can have so it must be good :). But I couldn't have made it without help from some people in the PIC mailing list, but more thanks later...



Function:

The alarm works so, when you turn off ignition the LED will be turned on. When you close and lock the doors the alarm will be activated and is waiting for a door to be opened. The LED will start to blink too. When you open a door you'll have 10 sec. to turn ignition on until the siren will beep. When ignition is turned on the program will start over from the beginning and wait for ignition off and doors closed and locked. But if it was a thief witch opened a door the relays will pull, Relay1 for 1 minute and Relay2 for 2 minutes. The LED stops to blink and starts to light when a door is opened. Because of that this is in a program it is simple to change the times if you want them shorter or longer.


Scheme:

First are the scheme over the alarm and a component list. Unfortunately the text is just in swedish but if many people complain maybe I'll make an english version. But now just mail me and ask what you don't understand.

Here comes the scheme over the relay card:

I know this isn't the best quality but the picks in the .zip file is little better but they isn't the best... I would like to know if someone have a good idea of how to export from Auto CAD to .gif files and get perfect quality. Please mail me for info.


Layout:

Here are the layouts, to the alarm and to the relay card. Unfortunantely this isn't the vary best quality but I think it's good enough. In the .zip file is my original layout available, but just for Auto CAD.

Here are the alarm:                                                                            And here are the relay card:


 


Picks:

This is how it looks... The relay card to the left and the alarm to the right.


Thanks:

I want to thanks all people in the PIC- mailing list who helped me with this project but a special thanks to Stan Ockers who gave me a lot of help with the program.


Links:

Microchip


Contact:

a.nyholm@agrolink.fi
Please mail me if you make this car alarm so I know if someone is interested.
Or mail me if you have some problem with this project or want to complain on my text or have something else that you thinks I should know about.