版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、电子课程设计:光学微重测量摘要生活中我们需要知道很多东西的重量才能知道它的价值,如多少克药品,多少克黄金。但大物体的重量容易检测,而如何去测量一些微小的物体的重量呢。在工业生产中,时常需要测量一些贵重物品的重量,但一些贵重物品的重量又比较轻。那么我们应该怎样测量微小物品的重量呢,下面我们就以光纤传输原理,设计一个光学微重测量。在光学测量微重时关键是测量变化的光强,本设计采用AT89C51单片机组成光照强度测量显示系统,可以实现对光强的测量和显示。光强传感器采用光敏三极管,对光照强度进行实时采样。设计传感器放大电路,将太阳的强弱转变为电信号,并将强度值显示出来。将光敏三极管接入电路,受光照度不同
2、时光敏三极管的集电极电流发生相应的变化,将采集的信号接入运算放大电路,再输入到ADC转换器,将模拟信号转换成数字信号输入单片机中,通过数码显示器显示出在不同光照强度下电路电压的变化值。关键词: 89C51单片机、 A/D转换器、 数码管AbstractIn life, we need to know a lot of things weight to know its value, such as how many grams of the drug, how many grams of gold. But the weight of the object is easy to detect,
3、 and how to measure the tiny object weight. In industrial production, often need to measure the weight of some valuables, but some valuables and lighter weight. So how should we measure the small weight of the goods, we have the following to the principle of the optical fiber transmission, design of
4、 a optical micro gravity surveying.In the optical measurement of micro heavy when the key is the change of light intensity measurement, this design uses the AT89C51 SCM light intensitymeasurement display system, can realize the measurement of the lig
5、ht intensityand display. Light intensity sensor using photosensitive triode, the light intensityof real-time sampling. Amplifying circuit design of sensor, the change of thestrength of the sun into electrical signals, and the strength&
6、#160;values are displayed.The photosensitive triode access circuit, by the illumination of different timesensitive transistor collector current changes, the signal acquisition accessoperation amplifier circuit, and then input
7、 to the ADC converter, the analog signalis converted into digital signal input microcontroller, through the digital displayshows in different light change circuit voltage strength the value of the.Keywords: 89C51 MCU, A/D converters, d
8、igital tube目 录第一章1.1摘要·························11.2单片机STC89CC51RC简介 ················· 41.3
9、光纤接收光强随光纤端面与反射镜距离d变化原理·····4第二章 硬件设计方案 ···················62.1 数码管 ·················· 62.2
10、 A/D转换器 ·················· 72.3电路的设计 ················ 8 第三章软件设计方案 ··········
11、3;······ 9 3.1程序流程图 ·····················9 3.2 程序设计 ··········· ·······
12、83; 9 第四章 应用系统实现··················10 4.1硬件连接 ··················· 10 4.2程序下载 ······
13、83;···········11总结 ··························· 11致谢 ·········
14、3;················ 11附录1 程序清单 ··················· ···12 附录2实物图 ········
15、;··········· ··13参考文献 ························· 131.2单片机STC89C51简介2.3电路的设计第3章 硬件设计方案3.1设计流程图总原理图3.2程序设计本例使用Kei
16、l uVision2进行C语言编译。总结: 在本次课程设计中,通过在小组分工合作的方式,把课程设计完成。小组成员一起参与讨论,研究,又互帮互助,增强了同学之间的友谊。课程设计还存在着光线测量的敏感度和微重测量的转换问题,希望能更加优化设计。附件1 最小系统仿真程序: #include<reg52.h> #define uchar unsigned char #define uint unsigned int uchar code LEDData= 0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f ; sbit OE=P10; sbit EOC=P11; sbit ST=P12; sbit CLK=P13; void DelayMS(uint ms) uchar i; while(ms-) for(i=0;i<120;i+); void Display_Result(uchar d) P2=0x08; P0=LEDDatad%10; DelayMS(5);
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026年停车场收费测试题及答案
- 那个总是指甲咬得光秃秃的孩子心里在想什么焦虑情绪释放和应对措施
- 2026年绿鬣蜥阅读测试题及答案
- 初中心理成长说课稿2025
- 初中2025年说课稿郑和贡献主题班会
- 2022安全生产的演讲稿-3
- 2023年药学基础知识精彩试题库
- 公司资产经营稳定承诺函(6篇)
- 企业资料归档与信息管理系统
- 交通运输行业驾驶员紧急培训指南
- 悬挑式卸料平台监理实施细则
- 加油站公共安全风险评估报告
- 铸件(原材料)材质报告
- 提货申请单表
- 脑与认知科学概论PPT(第2版)完整全套教学课件
- 【初中化学】中国化学家-李寿恒
- 镭雕机作业指导书
- 生管指导手册(什么是PMC)
- 历届全国初中数学联赛真题和答案
- 国家义务教育监测八年级模拟试题(音乐)
- GB/T 8685-2008纺织品维护标签规范符号法
评论
0/150
提交评论