Car Anti theft System Project using Microcontroller PIC16f73
For a while we have been sharing many electronic projects for engineering students and then we found out there was a huge demand for embedded projects, especially PIC microcontroller based projects. After a short break, here is another outstanding one that is not only suitable for electronics engineering but mechanical engineering students too.
Now coming to the project topic, as seen from the title it’s related to security systems which is of main concern these days.
This vehicle anti theft system will lock the wheel when it rotates more than preset cycles whenever the key is in OFF condition. The main component of the circuit is PIC16F73; it’s compatible for PIC16F877A also but I have used PIC16F73 as it’s comparatively small (28 pin). It uses an IR sensor system to detect rotation of the wheel.
Circuit diagram of anti theft system for cars
- PIC 16F73
- Transistor BC 548 X 2
- Zener diode
- IR Led
- Capacitors (33pFx2;10uF)
- Resistors (1k x5; 330 ohmX2)
- An IR LED and photo diode pair is used to detect rotation of the wheel. It’s attached with a disk which has openings; IR rays will pass through these openings.
- When the wheel is rotating, IR rays will be cut by the disk openings which will make a pulse output on the photo diode.
- Output of photo diode is connected to external clock input pin of TIMER0/COUNTER0 of the PIC.
- Pulses from the photo diode are counted by the counter. Each time the counter value is compared against the pre-set value and it will set the RC1 (1st pin PORTC).
- The relay used to control the locking device is connected at RC1. RC0 is used to check the key condition, locking is done only when the key is under OFF condition.
- The input from key can be +12V, it is regulated by a 5.1V zener diode connected in the circuit as PIC can’t connect +12V.
- RC2 is used to indicate that the system is working; here we connect a green LED which will start blinking when the system is ready.
- RC3 is used to connect an LED to indicate that the locking device is ON or OFF; it will set when locking occurs.
- RC4 is used to connect a buzzer to indicate that the preset rotation cycle has reached and system is going to lock the wheel, it will be ON for 1 second and after that it will reset.
- I have used HITECH C compiler to compile the program. Crystal frequency used is 20 Mhz.
For more detail: Car Anti theft System Project using Microcontroller PIC16f73
JLCPCB – Prototype 10 PCBs for $2 + 2 days Lead Time
China’s Largest PCB Prototype Enterprise, 300,000+ Customers & 10,000+ Online Orders Per Day
Inside a huge PCB factory: https://www.youtube.com/watch?v=_XCznQFV-Mw
Current Project / Post can also be found using:
- 16f73 circuit