Anti-Theft Alert System using ATmega8 Microcontroller

Theft Alert System

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.

Theft Alert System
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 Explanation

Schematic Anti Theft Alert System

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.

Read more: Anti-Theft Alert System using ATmega8 Microcontroller

Leave a Comment

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