- 1、本文档共21页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
摘 要
在电子电路设计过程中,在使用光敏电阻时,常需要知道光敏电阻的亮电阻和暗电阻的阻值范围。因此,本文设计了一个简易的具有数字显示功能的光敏电阻的阻值测量装置。
该光敏电阻的阻值测量装置主要由STC12C5A60S2单片机和LCD1602显示屏组成。系统主要由测量电路、单片机接口电路和LCD1602显示屏电路组成。在本系统中,光敏电阻的阻值随光强的变化而变化。首先,将被测光敏电阻的电压传送到单片机,然后通过单片机处理后,最后在液晶显示屏上显示被测光敏电阻的阻值。
总之,通过对电路的设计和实际调试,最终实现了基于单片机的光敏电阻的阻值测量功能,可以确定光敏电阻的亮电阻和暗电阻的范围。
关键词:单片机;光敏电阻;LCD1602
ABSTRACT
In the process of electronic circuit design, when we use the photosensitive resistance, we often need to know the photosensitive resistance’s resistance value range of the light resistance and dark resistance. Therefore, this article designed a simple digital display function of photosensitive resistance’s resistance measurement device.
The photosensitive resistance of the resistance measurement device is mainly composed of STC12C5A60S2 microcontroller and LCD1602 display. The system is mainly composed of measuring circuit, single chip microcomputer interface circuit and the LCD1602 display circuit. In this system, the photosensitive resistances value is changed along with the change of light intensity. Firstly, the voltage of photosensitive resistance measured is send to the microcontroller, and then through single chip microcomputer to process it, finally the photosensitive resistance’s resistance value can be displayed on the LCD screen.
In a word, through the circuit design and the actual debugging, finally achieved the measurement function of photosensitive resistance’ resistance based on the single chip microcomputer, both of photosensitive resistance’s light resistance and dark resistance can be determined.
Key words: SCM; Photosensitive Resistance; LCD1602
目 录
TOC \o 1-3 \h \z \u HYPERLINK \l _Toc409035732 引言 PAGEREF _Toc409035732 \h 1
HYPERLINK \l _Toc409035733 1 系统方案的选择与论证 PAGEREF _Toc409035733 \h 2
HYPERLINK \l _Toc409035734 1.1 设计方案一 PAGEREF _Toc409035734 \h 2
HYPERLINK \l _Toc409035735 1.2 设计方案二 PAGEREF _Toc409035735 \h 2
HYPERLINK \l _Toc409035736 1.3 方案综合比较和选择 PAGEREF _Toc409035736 \h
文档评论(0)