用普通LED灯做传感器及数据传输的方法研究.doc
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 普通 LED 传感器 数据传输 方法 研究
- 资源描述:
-
1、摘 要随着科技技术日新月异的发展,无线技术,例如红外和蓝牙,越来越得到人们的重视,在各个领域都有广泛应用。但由于成本的问题不能得到很好的普及。随之,一种新型的传输方式诞生了利用普通LED用于数据传输。本设计主要要求实现LED用作传感器和数据传输方法的设计,在深入研究LED发光特性后,经过比较,决定利用红色高亮LED和ATMEGA16单片机来实现数据传输,利用ATMEGA8单片机和透明高亮LED来实现触摸键功能。数据传输系统是基于ATMEGA16单片机来进行设计的,主要包括PC机连接模块、主控制器模块、数据发射模块、数据接收模块及一些辅助电路等。设计时PC机和单片机之间进行串口通信,利用ATME
2、GA16单片机的ADC端口连接红色高亮LED实现数据的按位传输。数据传输原理在本质上和8-N-1 RS232是相似的,0和1代码是根据调制后的光脉冲宽度来传递的。经过调试,可实现大约5厘米之间的数据准确通讯。LED正向偏置和反向偏置后,根据半导体的特性,光线越强,内阻越小,内阻越小,放电越快,以此LED可感应周围环境光照强度,从而实现触摸键功能。由于普通LED灯在生活中被广泛运用,所以可以解决人们生活中因缺乏数据传输设备带来的不便,如果完善了逻辑后,还可以应用于路灯自动开关,智能楼宇等场合。关键字:串口;普通高亮LED;ATMEGA16单片机;ATMEGA8单片机 AbstractWith t
3、he rapid development of science and technology,more and more people pay attention to the wireless technology. The wireless technology are used widely in various fields,such as IrDA and Blue tooth.But due to cost problem,it can not get good popularity.Then a new kind of technology is born- common LED
4、 used for data transmission.The design mainly requires to realize the method of LED used for sensors and data transmission.After the deep research of LED characteristics, I decide to use ATMEGA16 SCM and red high-light LED for data transmission.Besides, I determine to use ATMEGA8 SCM and transparent
5、 high-light LED for touch key.The data transmission system is designed based on ATMEGA16. It mainly includes PC connected module, the main controller module, data launch module, data receiving module and a few auxiliary circuit and so on.When designing, serial interface is used to connect the comput
6、er and SCM.To realize data transmission,the ADC port of ATMEGA16 should be connected with red high-light LED.The principle of data transmission is essentially highly similar to 8-N-1 RS232.And MARK and SPACE symbols are sent as pulse-width-modulated light pulses instead of as voltage levels. After c
7、ommissioning, the distance of data transmission can reach approximately 5cm.Whats more the data transmission is quite accurate in this distance.Due to the characteristics of semiconductor, the stronger light, the smaller resistance.While the smaller resistance, the faster discharge.After positive bi
展开阅读全文
图海文库所有资源均是用户自行上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作他用。


潞安司马矿3.0Mta新井设计(CAD图纸+说明书).zip

