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 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