成 绩批阅老师日 期桂林电子科技大学 实训报告2025-2025 学年第一学期学 院 海洋信息工程学院 课 程 基于单片机综合应用设计实训 姓 名 学 号 分 组 指导老师 日 期 摘 要本设计题目是光敏电阻测量光照强度,用光照的强弱来改变光敏电阻的阻值大小,从而使输出电压值改变,通过测量输出电压值的大小就可以间接的测量光照的强度了。本设计有光照强度报警控制系统和光照强度等级显示电路以及光照亮度的显示。本设计采纳了 STC 单片机为主控制电路,用数码管显示光照强度值,用绿、黄、红 LED 来显示光照亮度等级,用蜂鸣器来做报警电路。本设计电路各个部分电路的设计原理及功能都能实现,要求对各种基本的电子元器件,电阻、电容、二极管、三极管等熟悉,掌握 Proteus 仿真软件的运用、Protel 99 SE 工具软件等绘图软件,并加以运用。用单片机内部的 AD 转换实现模拟转化为数字量,通过编程控制各个外围电路并实现其功能。本设计具有有线路简单、结构紧凑、价格低廉、性能优越等特点。关键词:光照强度;光敏电阻;单片机 Abstracts This design is entitled to the photoresistor to measure light intensity, the strength of the light to change the photosensitive resistor size, so that the output voltage changes, by measuring the size of the output voltage value can be indirectly measuring the light intensity. The design of the light intensity alarm control system and the light intensity level display circuit and illumination brightness of the display. This design uses the STC microcontroller-based control circuit, digital display light intensity, light green, yellow, red LED display brightness levels, to do with buzzer alarm circuit. The design of the circuit design principles and functions of various parts of the circuit can achieve, requiring a variety of basic electronic components, resistors, capacitors, diodes, transistors and other familiar and master the use of Proteus simulation software Protel 99 SE software tools such as mapping software and use of them. AD of ...