基于MSP430出租车计价器的设计与实现

 2023-03-06 09:03

论文总字数:33689字

摘 要

随着城市建设的快速发展,交通出行已越来越成为人们日常生活中不可忽略的重要方面,而交通出行工具的选择也自然而然成为人们出行时必须要考虑的问题。就目前来说出租车是最方便快捷的交通工具之一,而出租车与乘坐人之间最重要的计费沟通工具就是出租车计价器。本课题拟以体积小、速度快、功耗低的MSP430单片机为核心控制部件,完成一款出租车计价器的设计与制作,要求能基本反应出租车计价器的真实工作情况。

本系统以MSP430F149单片机为核心控制部件,主要功能是计价显示、时钟显示、里程显示。霍尔传感器3144的功能是负责测量里程。液晶显示屏负责显示计价、时间、里程等功能。4X4矩阵键盘负责往返单价调整、调整转速、结束等功能。

关键词:MSP430F149单片机;霍尔传感器;液晶显示屏;

Design and implementation based on MSP430 taxi meter

Abstract

With the rapid development of urban construction, transportation has become an increasingly important aspects cannot be ignored in People"s Daily life, and the choice of transportation tools also naturally become a problem must be considered when people travel. For now the taxi is one of the most convenient means of transportation, and between the cab and passenger of the most important communication tool is the meter taxi billing. This topic proposed by small volume, high speed, low power consumption MSP430 single chip microcomputer as the core control unit, complete the design and manufacture of a taxi meter, basic reaction to the taxi meter real working condition.

The system is the core control unit with MSP430F149, the main functions are the pricing display, the clock display, the mileage display. Hall"s sensor 3144 is responsible for measuring the mileage. Liquid-crystal displays are responsible for display pricing, time, and miles. The 4X4 matrix keyboard is responsible for the return unit price adjustment, adjust the speed and the end of the function.

Keywords: MSP430F149;Hall sensors;Liquid crystal display;

目录

第一章 绪论.............................................................................1

1.1 论文研究的背景和意义............................................................1

1.1.1 国内发展现状...............................................................1

1.1.2 国外发展情况...............................................................2

1.1.3 未来发展展望...............................................................2

1.2 论文研究内容....................................................................2

第二章 系统总体结构.....................................................................4

2.1 系统任务规划....................................................................4

2.2 系统结构框图....................................................................4

2.3 系统方案........................................................................4

2.3.1 控制模块...................................................................4

2.3.2 采集模块...................................................................4

2.3.3 显示模块...................................................................4

2.3.4 其他.......................................................................5

第三章 硬件设计.........................................................................6

3.1 主控芯片........................................................................6

3.1.1 msp430f149端口简介.........................................................6

3.1.2 P口........................................................................8

3.1.3 定时器及数模转换...........................................................8

3.1.4 时钟模块...................................................................8

3.1.5 比较器模块.................................................................8

3.1.6 数模转换模块...............................................................8

3.2 采集模块........................................................................9

3.2.1 霍尔传感器3144简介........................................................9

3.2.2 3144传感器特性.............................................................9

3.2.3 参数特性...................................................................9

3.3 显示模块.......................................................................10

3.3.1 液晶显示优点..............................................................10

3.3.2 LCD1602主要技术参数......................................................10

3.3.3 控制指令..................................................................11

3.4 模拟出租车模块.................................................................13

3.4.1 原理图....................................................................13

3.4.2 直流电机工作原理..........................................................13

3.4.3 直流电机PWM调速原理....................................................14

3.5 电源电路.......................................................................15

3.6 按钮控制.......................................................................15

第四章 软件设计........................................................................16

4.1 IAR介绍.......................................................................16

4.2 Protel DXP 2004介绍.............................................................17

第五章 实物调试及总结..................................................................20

5.1 实物测试.......................................................................20

5.2 总结...........................................................................21

致谢...................................................................................23

参考文献(References)...................................................................24

附录一.................................................................................25

剩余内容已隐藏,请支付后下载全文,论文总字数:33689字

您需要先支付 80元 才能查看全部内容!立即支付

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;