摘要
以红外感应语音警示系统为平台,以AVR单片机为核心控制器件,介绍了系统的硬件设计及软件实现。系统利用红外感应系统感应附近有无有害气体,当有害气体接近时,送出持续一段时间的高电平。单片机通过开启中断,启动语音芯片,把单片机通过串口通信,从上位机提取的有害气体参数提示给附近人体,并经过与安全值的比较判定当前环境是否安全。整个系统设计非常友好、方便,给人的信息也更加直接。
The system hardware design and software realization are introduced which takes infrared sensing, voice warning system as platform, and uses AVR chip as key control element. The system makes use of infrared sensing system to sense whether there is harmful gas or not, in the vicinity sents out high level in a sustained period of time. When harmful gas is present. The chip starts voice warning chip by opening interruption. Then the harmful gas parameters extracted form the superordination machine which are serial-port communication and gives warning to the nearby person. Meanwhile the safety of the environment is made known by comparing with safe value. The entire system designed is very friendly, convenient and the information given to person is also very direct.
出处
《电子工程师》
2008年第10期74-76,共3页
Electronic Engineer
关键词
警示控制系统
单片机
串口通信
中断
warning control system
chip
serial-port communication
interruption