本设计以ATmega382p单片机为控制中心,由GP2Y1010AU0F光学空气质量传感器测量空气粉尘浓度,通过单片机内置的10位A/D转换将模拟的电压信号转换成数字信号,得到粉尘浓度值,并由LCD1602显示屏显示出来。同时,设置浓度预警值并同测量值一起显示在显示屏上。当测量浓度超过预警值时,仪器就会报警。%Adopts ATmega382p microcomputer as the control center of the design, uses GP2Y1010AU0F optical air quality sensor measuring air dust concentration, then through the 10 bit A/D conversion built in the microcomputer converting the analog voltage signal into digital signal, so that dust concentration can gained and finally showed out by the LCD1602. At the same time, set the warning value of the concentration and showed together with the measured value. When the measured concentration exceeds the warning value, the instrument will alarm.
展开▼