发生火灾时为了降低乘客伤亡事件的发生率,基于STC12C5A60S2单片机设计了一个车载玻璃破碎器。温度传感器选用DS18B20,烟雾传感器选用MQ-2。单片机输出的脉冲信号通过UNL2003进行功率放大,传送到步进电机28YJ-48。设计了使用1T单片机后传感器所需要的初始化及读写时序的程序。
A automatic glass crusher based on STC12C5A60S2 controller is designed in order to reduce the incidence of passenger casulities.Temperature sensor chooses DS18B20 model,and smoke sensor chooses MQ-2.The output pulse of Microcontroller is amplified by UNL2003 and transmitted to the stepper motor 28YJ-48.The program of initialization and reading and writing sequence for the sensors is designed by using 1T Microconller.