PROGRAMMED DOOR ALARM CIRCUIT ATTINY24 ATTINY13 CONTROLLED

This simple mini-burglar alarm on the ATtiny 13 microcontroller is designed to protect apartments, offices, summerDOOR ALARM CIRCUIT cottages … When the reed switch opens, the alarm beeps or, with a little refinement, you can send an SMS from a mobile phone. The alarm control is carried out by IR remote controls. Main features: dynamic power supply of the photo-receiver, wake-up from the “SLEEP” mode by interruption from the watchdog timer in the “POWER-DOWN” mode, and as a result low power consumption – about 30 μA.

The schematic diagram of the device is quite simple. IR receiver – TSOP1736. The heart of the device is the ATtiny13 microcontroller. When the reed switch contacts open, an alarm is triggered. Schematic diagram of the burglar alarm (click on the diagram to enlarge):

DOOR ALARM CIRCUIT schamatic

The assembled device looks like this:

DOOR ALARM CIRCUIT (1) DOOR ALARM CIRCUIT (2)

The infrared transmitter for controlling the alarm system is assembled on the ATtiny13 microcontroller and a dozen passive components. Instead of the BC847 transistor, you can use any low-power transistor, for example, a CT 315. The power source is two CR-type lithium-ion batteries. Schematic diagram of the infrared remote control to control the alarm system (installation of security / disarming):

DOOR ALARM CIRCUIT schamatic

Assembled keychain control:

DOOR ALARM CIRCUIT (3)

When using a multichannel (99 channel) IR transmitter on the ATtiny24 microcontroller, you can use a large number of nearby alarms at the same time, controlling them by choice. Schematic diagram of the multichannel IR transmitter:

DOOR ALARM CIRCUIT schamatic

 

Assembled multichannel IR transmitter:

DOOR ALARM CIRCUIT (4) DOOR ALARM CIRCUIT (5)

 

 

Alarm programming

Erasing all key chains

Set the jumper to JP1.
A beep will sound, the indicator continuously flashes in red 0.5 Hz

Adding new key chains

Set jumper on JP2.
The indicator flashes continuously in green 0.5 Hz.
In confirmation of the recording keychain beep beeps 1 time.
If the keyfob memory is full, the indicator continuously flashes red with 0.5 Hz.

Work with the device

Device status – disarmed (green LED flashes at 1 Hz)

Arming with the door closed

Press the button on the key fob for 1-2 seconds, directing it to the security device, a beep will sound 1 time.
The indicator flashes red with a frequency of 1 Hz.

Arming with the door open

Press the button on the key fob for 1-2 seconds, directing it to the security device, a beep will sound 1 time.
The indicator alternately flashes red and green with a frequency of 1 Hz.
After closing the door, the indicator flashes in red with a frequency of 1 Hz.

Disarm

Press the button on the key fob for 1-2 seconds, directing it to the security device, a beep will sound 2 times.
The indicator flashes green with a frequency of 1 Hz.

Alarm removal

Press the button on the key fob for 1-2 seconds, directing it to the security device, a beep will sound 2 times.
The indicator flashes green with a frequency of 1 Hz. After removing the alarm, if necessary, arm again.
source: radioded.ru All hex project, asm, bass have code files and schema drawings alternative link:programmed-door-alarm-circuit-attiny24-attiny13-controlled.rar

About The Author

Ibrar Ayyub

I am an experienced technical writer with a Master's degree in computer science from BZU Multan University. I have written for various industries, mainly home automation and engineering. My writing style is clear and simple, and I am skilled in using infographics and diagrams. I am a great researcher and am able to present information in a well-organized and logical manner.

Follow Us:
LinkedinTwitter
Scroll to Top