1、 1 毕业设计(论文)毕业设计(论文) 题目题目基于单片机红外线发送系基于单片机红外线发送系统设计统设计 系系 别:别: 电子信息工程系电子信息工程系 专专 业:业: 通信技术通信技术 班班 级:级: 通信通信 09-2 班班 姓姓 名:名: 学学 号:号: 指导教师:指导教师: 日日 期:期: 2012 年年 2 月月 29 日日 2 摘摘 要要 很多电器都采用红外遥控,那么红外遥控的工作原理是什么呢?本文将介绍 其原理和设计方法。红外线遥控就是利用波长为 0.761.5m 之间的近红外线 来传送控制信号的。常用的红外遥控系统一般分发射和接收两个部分。红外遥控 常用的载波频率为 38kHz,
2、这是由发射端所使用的 455kHz晶振来决定的,在发 射端要对晶振进行整数分频,分频系数一般取 12,所以 455kHz1237.9 kHz 38kHz。也有一些遥控系统采用 36kHz、40kHz、56kHz 等,一般由发射端晶 振的振荡频率来决定。接收端的输出状态大致可分为脉冲、电平、自锁、互锁、 数据五种形式。 “脉冲”输出是当按发射端按键时,接收端对应输出端输出一个 “有效脉冲”,宽度一般在 100ms 左右。一般情况下,接收端除了几位数据输 出外,还应有一位“数据有效”输出端,以便后级适时地来取数据。这种输出形 式一般用于与单片机或微机接口。 除以上输出形式外,还有“锁存”和“暂存”
3、 两种形式。所谓“锁存”输出是指对发射端每次发的信号,接收端对应输出予以 “储存”,直至收到新的信号为止;“暂存”输出与上述介绍的“电平”输出类 似。 关键词:关键词:80c51 单片机、红外发光二极管、晶振 3 Abstract: Very many electric appliances all use the infrared remote control, then what the infrared remote control principle of work is? This article will introduce its principle and the design
4、 method.The infrared remote control is uses the wave length is 0.761.5 m between near-infrared line transmits the control signal.The commonly used infrared remote control system divides generally launches and receives two parts.The infrared remote control commonly used carrier frequency is 38kHz, in
5、 the transmitting end which this is which uses by the transmitting end the 455kHz crystal oscillator decided must to the crystal oscillator carry on the integer frequency division, the frequency division coefficient generally takes 12, therefore 455kHz1237.9 kHz38kHz.Also has some external guidance
6、system to use 36kHz, 40kHz, 56kHz and so on, decided generally by the transmitting end crystal oscillator oscilation frequency. The receiving end output condition may divide into the pulse, the level, the self-locking approximately, locks, the data five forms mutually.“The pulse” the output is when presses the transmitting end pressed key, the receiving end correspondence out-port outputs one “the effective pu