摘要
针对便携照度测量系统存在的问题,本文采用STC89C52单片机为主控制模块,采用BH1750进行照度测量,并通过LCD1602液晶显示屏显示数据以及测量阈值,同时可以通过对比阈值以及实际测量值来进行报警。首先,针对上述设计了硬件电路,包含单片机最小系统、照度检测电路、显示电路和报警电路,在此基础上,进行了软件的编写和仿真。本文设计方案具有报警范围可调、测量范围广、精度高、体积小、成本低廉的特点。
For the problems of the portable illumination measurement system,in this paper,STC89C52 single—chip microcomputer is used as the main control module,BH1750 is used to measure illuminance,and displays data and measurement threshold through LCD screen of LCD 1602,and alarm can be made by comparing the threshold and actual measured value.Firstly,the hardware circuit is designed for the above,including the minimum system of the single—chip microcomputer,the illuminance detection circuit,the display circuit and the alarm circuit,on the basis of which the software is written and simulated.The design scheme has the characteristics of adjustable alarm range,wide measurement range,high precision,small volume and low cost.
出处
《日用电器》
2023年第4期133-136,140,共5页
ELECTRICAL APPLIANCES
基金
吉林省发展与改革委员会创新能力建设科研项目,项目编号:2022C045。