摘要
基于数字照度传感器BH1750实现了一种多功能照度计GZ-100,除照度测量功能外,还具有温湿度测量与无线通信功能。系统采用低电压的STC12LE5A60S2单片机,抗干扰能力强、应用电路最简单的射频收发芯片IA4420,数字照度传感器BH1750和温湿度传感器SHT11。系统根据IA4420内部状态寄存器的值借助外部中断收发数据,以74HC164驱动4个共阴极数码管的动态方法进行显示。最后进行了照度的对比测量,结果显示GZ-100能够满足一般的照度测量要求。
A multiple function illuminance meter was developed based on BH1750, a digital ambient light sensor. Besides illuminance, the meter can measure temperature and humidity, even conduct wireless communication each other. Low voltage and low power Micro-controller STC 12LE5A60S2 was used as processing unit, radio transceiver IA4420 with strong anti disturbance capacity and the simplest application circuit was used as communication element, SHT11 was used as sensor element, besides BH1750. A data Tx/Rx method through nIRQ pin of IA4420 was presented, which do Tx/Rx according to content of status register in interrupt service routine. Illuminance contrast measurement between commercial illuminance meters was done and results were given.
出处
《计算机系统应用》
2012年第3期252-255,共4页
Computer Systems & Applications