Anti-Theft Alert System using ATmega8 Microcontroller

In this project we are going to make a vibration alert system with ATMEGA8 microcontroller. This can also be used as a theft alert system, for that we are going to interface tilt sensor with ATMEGA8. A tilt sensor is shown in below figure.

Anti-Theft Alert System using ATmega8 Microcontroller
Theft Alert System using ATmega8 Microcontroller and Tilt Sensor

We can see there is a cylinder in the picture, in that cylinder there will be a freely moving metal ball. At the bottom of the cylinder there will be two metal contacts. So when the sensor is moved the free falling ball makes contact with conductors at bottom making a short circuit. This short circuit will be sensed by op-amp in the control circuit. As a response to the tilt the op-amp shows a high output.

We are going to give the tilt sensor signal to ATMEGA8 for appropriate response.

Components Required

Hardware: ATMEGA8 microcontroller, power supply (5v), AVR-ISP PROGRAMMER, 1000uF capacitor, LED, 220Ω resistor, LDR (Light Dependent Resistor), 10KΩ resistor, 1KΩ resistor, 2n3906 transistor, buzzer, Any motion sensor module (HC-SR501), 1KΩresistor(5 pieces), Buttons (5 pieces), 2WATT LED, TIP122 transistor.

Software: Atmel studio 6.1, progisp or flash magic.

Circuit Diagram and ExplanationSchematic Anti-Theft Alert System using ATmega8 Microcontroller

As shown in circuit, there is no need to connect an external crystal here. Because the ATMEGA works on internal 1MHz, Resistor-Capacitor oscillator on default. Only when the accuracy of clock is needed, as application of high precision counting, external crystal is attaches. When the controller is first bought, it is fused to work on internal crystal by default.

The ATMEGA8 fuse bits are not touched here, as we don’t need accuracy the default 1MHZ internal clock is enough in this circuit.

Once there is vibration the sensor sends high pulse to ATMEGA8. Once high pulse is received the controller will be programmed to send a alert by turning the buzzer ON which makes noise.

After that only the authorized persons can turn off the alarm. There will be 5 keys interfaced to ATMEGA with this there will be 4999 combinations possibility. On all those combinations only one combination can turn off the alarm. This correct code will be programmed in the controller. So only the person with code can turn OFF alarm which was set during vibration.

Hence we will have a THEFT ALERT system by using ATmega8 Microcontroller.

For more detail: Anti-Theft Alert System using ATmega8 Microcontroller


About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

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

Scroll to Top