摘要
在危急情况发生时,报警器对人们有警醒作用。随着人们安全意识的增强,多用途的报警器已成为研究的重点。以AT89S52单片机为主系统,由电源电路、键盘电路、LED灯电路和喇叭电路等构成整体硬件系统。以C语言作为编程语言,软件部分设计分别包括系统I/O口分配设计、喇叭音调设计等,实现6种危险情况的报警,当某一种险情出现时,对应的1种音频响起,同时对应1种颜色的LED灯亮起,从而起到多音频报警作用。
Alarms put people on alert in critical circumstances. With the enhancement of people's safety awareness,multipurpose alarms have become a key research subject. Using AT89 S52 single-chip microcomputer as the main system,the hardware system is composed of the power circuit,keyboard circuit,LED circuit and horn circuit. Using C language as programming language,the design of the software part includes design of distribution of system I/O and design of the tones of the horn to realize alarm in 6 critical circumstances. When a certain dangerous situation happens,the corresponding audio will be given and the LED of the corresponding color will light up,thus performing the function of multiple audio alarm.
作者
朱艳
喻丽丽
严佳雯
Zhu Yan;Yu Lili;Yan Jiawen(Jinshan Vocational Technical College,Zhenjiang Jiangsu 212200,China)
出处
《电气自动化》
2018年第6期105-107,共3页
Electrical Automation