毕业论文-基于单片机控制的音乐节奏灯设计.docx
文本预览下载声明
基于单片机控制的音乐节奏灯设计摘要随着人类文明的不断发展,人类对生活水平的要求不断提高,越来越追求方便快捷的高质量生活。无线技术的发展无疑是对生产生活的一大便利,无线技术在无线数据传输和无线遥控方面得到了广泛应用。红外遥控技术作为无线技术中的重要的组成部分,凭借其低成本、低功耗、安全性强等特点广泛应用于近距离的无线数据传输。本文所展示的即基于单片机的无线遥控技术的应用,以 AT89C52芯片为核心,搭载IR1838一体化红外接收器,并以继电器作为执行电路,实现对灯的控制。硬件方面,选择AT89C52作为核心芯片,配置1602液晶显示器,搭载IR1838一体化红外接收器,用继电器作为执行电路;软件方面,将C语言写入单片机,对 1602液晶显示器及IR1838一体化红外接收器初始化,IR1838一体化红外接收器对收到的遥控的数据进行解码,实现对投影灯的遥控操作,同时在1602液晶显示器显示写入数据寄存器的字符代码所代表的当前状态。关键词:AT89C52,IR1838,1602液晶显示器The Design of Remote Control Projection lamp Based on Single Chip Microcomputer Electronic Information Science and Technology 11-1 Guizhi SongSupervisor Wang PeiAbstractWith the human progress and the development of human civilization, peoples demands for living standards are improving, they more and more pursue the high quality life of convenient and quick. The development of wireless technology is undoubtedly a great convenience for the production and living. Wireless technology has been widely used in wireless data transmission and wireless remote control.Infrared remote control technology as an important part of wireless technology, with its low cost, low power consumption, security and other characteristics, has been widely used in the short-range wireless data transmission.This article has shown that the application of the wireless remote control technology based on single chip microcomputer, which takes AT89C52 chip as the core, carrys IR1838 integrated infrared receiver, andtakes the relay as the executive circuit to realize the control of the light.On the hardware side, I choose AT89C52 as the core chip, configure 1602 LCD, equipped with IR1838 integrated infrared receiver, with the relay as the executive circuit. In the aspect of software, to write the C language into the single chip microcomputer, to initialize the 1602 liquid crystal display and integration of IR1838 infrared receiver, IR1838 integrated infrared receiver will decode the remote data which received to implement the operation of the remote control pr
显示全部