光通信系统设计
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
单片机光通信系统设计
Design of Optical Communication
System by MCU
学院:信息科学与工程学院
专业班级:电子信息工程0901班
学号:*********
*******
指导教师:王会民(讲师)
2013年6 月
摘要
LED作为冷光源和节能光源,正在不断发展和普及。所以利用这个新的光源来通信,也变成了目前研究的热门课题之一。LED光传输技术就是利用常见的LED等室内照明设备,发出肉眼感觉不到的高速明暗闪烁的通信信号,以无线通信的方式来传输数据。采用无线光通信最大的特点就是它的波长范围大,可以将可见光讯号用不同的波长来进行信号的传输。可见光还有无电磁辐射、易保密等特点,尤其搭借了照明平台,所以不需要采用另外的传输介质,采用广播方式,受体的数量即容量受到的制约小,但是其缺点是不易实现双向的通信。
这次毕业设计的主要内容是尝试设计并制作一个LED通信试验系统,通过对频率的调制,发出特定的编码信号,接收方利用光电敏感器件接收调制光,解调后还原成数据信号。最后,本次毕业设计完成了基本功能的LED发射管、接收管的发射和接收工作,并且尝试将其时分复用和频分复用。在发送端添加了温度传感器和超声波测距传感器,数码管显示,在接收端用1602液晶屏幕显示出来。两者的对比,反应出通信的正确性。
本设计是基于两个89C51单片机,利用红外led发射装置和HS0038接收装置设计的简单慢速通信。目标是熟悉单片机的编程思路和学习通信的基本原理。基本的慢速光通信在传感器与单片机之间的通信上有着广泛的应用。
关键词:LED;调解;解调;频分复用;时分复用
I
Abstract
As a cold light and energy-saving light source, LED is rapidly developing and being popularization. So using this new light source to communicate has become a hot research topic nowadays. The technology of LED light transmission is to using common LED indoor lamps. Communication signal of high speed light by the naked eye can not feel the flashing, in a way of wireless communication to transmit data. The most special characteristic of light communication is that the light wavelength range is very long, and visible light can be signal transmission in different wavelength. Visible light and no electromagnetic radiation, such as confidentiality, especially a borrowed lighting platform, so do not need to use the transmission medium, the broadcast, the number that is restricted by receptor capacity is small, it is not easy to achieve two-way communication.
The main purpose of this paper is to try to design a LED communication system, through the modulation of the frequency coding signal, the photoelectric sensitive device receives the light modulation, demodulation back into the data signal. Finally, the graduation design, completed the basic function of the LED launch tube, receiving tube emission and reception work, and try to time division multiplexing and frequency division multiplexing. The temperature sensor and the ultrasonic ranging sensor is added in the transmitter, the digital tube display, the receiver with 1602 LCD screen display. The contrast of the two, reflect the correctness of communication.
The design is based on two MCUs, simple slow communication using infrared LED emission device and HS0038 receiver design. The target is the basic principle of the programming ideas and learning communication with single-chip microcomputer. Slow light communication basic is widely used in communication between sensor and MCU.
Keywords: LED; mediation; demodulation; frequency; division;
II