摘要
随着科学技术的发展,单片机技术在产品的人机交互设计中扮演着越来越重要的角。本文对基于单片机的ZH-502时间同步系统显示模块进行了研究。ZH-502是武汉中原华电公司自主研发的时间同步系统,主要应用于电力系统。
本文采用MSP430单片机作为核心器件,设计完成ZH-502时间同步系统的显示显示模块。首先查阅了大量资料,深入了解和掌握了MSP430单片机的内部结构和应用方法。结合常见电路的用法,给出了整个显示模块的设计思路和整体框图;接着重点学习了LM6060CBY液晶模块、EPC-755A编码器和X5043看门狗定时器的原理和控制方法,设计完成了整个电路的原理图和PCB。硬件电路完成之后,使用C语言作为软件语言来控制整个显示块。
本文还介绍了基于MSP430的C语言开发环境,自主完成了程序代码部分,并编译、下载,整个系统的预设功能:显示功能菜单;实时显示由卫星发送的时间;通过按键在菜单中改变时间同步系统输出的波特率,均已调试成功。
关键词: MSP430 LM6060CBY液晶 EPC-755A编码器 C语言Abstract
With the development of science and technology, single-chip technology in the products of human-comp
uter interaction design play an increasingly important role. In this paper, based on single-chip ZH-502 display module time synchronization system is studied. ZH-502 Wuhan, Central China Huadian Corporation is the independent research and development of time synchronization system, mainly used in power systems.
In this paper, single-chip microcomputer as the core of MSP430 devices, the design of the completion of ZH-502 time synchronization system display module. First of all, a great deal of information available, in-depth understanding and knowledge of the MSP430 MCU and application of the internal structure. Combination of common usage of the circuit, given the entire display module and the overall design of the diagram; LM6060CBY then focussed on the study of the LCD module, EPC-755A and X5043 encoder watchdog timer control theory and design to complete the entire circuit schematic and the PCB. Hardware circuit is complete, use the C language as a language to control the software shows the whole block.
This article also describes the MSP430-based C language development environment, self-completed part of program code and compile, download, the entire system default function: display menu; real-time display of time by satellite; through the button in the menu to change the time synchronous system output of the baud rate, have been successful debugging.
Key words: MSP430 LM6060CBY LCD EPC-755A encoder C language
单片机即单片微型计算机(Single-Chip Microcomputer ),是集
CPU ,RAM ,ROM ,定时,计数和多种接口于一体的微控制器。其中51单片机是各种单片机中最为典型和最有代表性的一种,广泛应用于各个领域。
本课题设计了音乐门铃主要由AT89S51单片机控制。该音乐门铃系统是由单片机最小系统及扩展LED显示电路和语音电路组成。使用单片机汇编语言进行编程,实现按下按钮就响铃,并且LED同步显示音符定时中断初始值的功能。本论文主要介绍了音乐门铃的软、硬件部分的设计,以及在设计、调试过程中遇到的问题及解决方案。汇编语言转c语言的软件
本课题设计的音乐门铃系统结构简单,造价成本低,功能完全,具有很强的实用性。
SCM is microcomputer (Single-Chip Microcomputer) is a set of CPU, RAM, ROM, the timing, number and variety of integrated micro-controller interface. MCS-51 microcontroller which is all typical and representative of a widely used in various fields. The planned main topics designed by chip - microcomputer control of the music. The music by the SCM system is the smallest system and the planned expansion of LED display circuit and voice circuit. MCU for the use of assembly language pro
gramming, press the button on Bell. and regularly interrupted LED showed that the initial value of the notes function. This paper introduces the doorbell music software, hardware design, and in design, Commissioning the problems encountered and solutions. The topics designed musical doorbell system is simple, cost low-cost, fully functional, very practical.
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论