文档介绍:毕业设计说明书
基于MSP430单片机的时钟设计
专业
电气工程及其自动化
学生姓名
班级
学号
指导教师
完成日期
基于MSP430单片机的时钟设计
摘要:MSP430 系列是一个16位的、具有精简指令集的、超低功耗的混合型单片机。说明书介绍了以MSP430F149单片机为核心的时钟系统的设计。在硬件电路方面,采用SPX1117低压差稳压器为单片机提供电源,;用4*4矩阵键盘进行输入;在时间的显示上采用了两种方法显示,即LED数码显示和LCD液晶显示;除此以外,在电路板上还留有供扩展电路应用的引脚接口。在软件设计方面,完成了键盘扫描程序、显示模块程序以及系统主程序的设计。由于采用MSP430为核心,它的超低功耗的特点使得整个系统的功耗非常的低,一个普通的钮扣电池可使用长达10年之久。另外,由于片内具有丰富的外围电路,加之电路板上留有供扩展电路应用的引脚接口,还可以对其增加一些功能,比如整点报时、温度显示等。
关键词:MSP430;时钟设计;矩阵键盘;LCD
The Design of Clock Based on MCU430
Abstract: The series of MSP430 is a 16 bit, with RISC, ultra-low power mixed MCU.
The Brochure introduces the design of clock system with the core of MSP430F149 MCU. In hardware electric circuit aspect, I adopt SPX11117 low press Manos tat to provide electrical source for MCU. It translates 5V press into then provides it to MCU. And it use 4*4 matrix keyboard to input. And in the display of time aspect, I use two ways of showing: LED and LCD. Otherwise, I remain some cite way for extending the use of electro-circuit. In the design of software, I finish the scan process of keyboard, the programmer of display module, and the design of the main process of the MSP430 which is overtake low consume as it is core, so the cost of the whole system is very low, a button batteries can be used for ten years. In addition, because a lot of circuits are in it, and because there are some cite ways remained for extending the use of electro-circuit, we can still add some functions to it, such as give the correct time when it is the full time, the display of temperature and so on.
Key words: MSP430;Clock design;Matrix keyboard;LCD
目录
1 概述 1
2 课题研究背景与意义 3
课题研究背景 3
课题研究意义 3
3 MSP430F149介绍 4
MSP430F149芯片特点 4
MSP430F149芯片引脚 5
MSP430F149芯片处理单元 8
MSP430F149芯片运行模式 8
MSP430F149芯片I/O端口 9
MSP430F149芯片时钟系统 10
MSP430F149芯片存储器结构和地址空间 10
4 系统硬件电路设计 12
系统方案论证与选择 12
13
电源稳压电路 14
LED数码显示电路 14
LED数码管的结构