登录

  • 登录
  • 忘记密码?点击找回

注册

  • 获取手机验证码 60
  • 注册

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 电子信息类 > 通信工程 > 正文

蓝牙车辆计费系统的设计毕业论文

 2022-06-05 09:06  

论文总字数:53692字

摘 要

伴随着科学技术的发展,蓝牙技术渐渐渗透到了各个学科之中,并且发挥着相当重要的作用。利用蓝牙技术完成远距离(通常要求在3—15米范围内)非接触性刷卡的计费管理系统可以提高车辆的运行速度,一定程度地避免交通拥堵,同时给乘驾人员提供舒适度,故对其研究具有重要的应用意义。

本文设计的蓝牙停车场计费系统由一个主机、一个从机以及一个上位机组成。主机是门禁处的读卡器,从机是车辆上的车载卡,上位机是计费系统的显示界面。主机是门禁处的读卡器,从机是车辆上的车载卡,上位机是计费系统的显示界面。主机的功能是通过触发模块检测到车辆通过时向从机发出请求数据的信号,并将从机反馈回来的数据处理后传给上位机。从机的功能是事先定义好要发送的数据格式,写入ID,当接收到主机的请求信号对其进行分析,确认无误后向其发送数据。上位机的功能是从主机传来的数据中提取ID,然后访问数据库,提取相应ID对应的信息进行显示,并计算、扣除费用。

本文设计着重利用蓝牙作为主机和从机之间的通信工具,传输距离是8米,角度为45度。本文设计的主机和从机均以STC89C52为核心,主机采用realplay红外避障传感器为触发模块,主机和从机均采用HC-05型号的蓝牙模块作为互相通信的工具,通信方式为无线方式。主机和从机的单片机使用Keil编程,采用ISP烧写程序。上位机以个人笔记本电脑为载体进行界面显示,使用Visual Studio编程,利用SQL Server Management Studio制作数据库。

关键词: 蓝牙 停车场 计费 STC89C52 BT-HC05-V1.0

Bluetooth Parking Billing System

Abstract

Along with the development of science and technology, Bluetooth technology gradually infiltrates in various disciplines, and plays a very important role. Using Bluetooth technology to complete distant(usually from 3 to 15 meters) and non-contact card, billing management system can improve the running speed of vehicles and avoid traffic congestion to a certain extent and provide comfort for drivers at the same time. So the research has great value for application.

The Bluetooth parking billing system in this paper is based on single chip microcomputer. The system consists of a host, a slave and an upper machine. The host is entrance guard card reader, the slave is a card in car, the upper machine is a billing system display. The function of the host is to detect vehicles through, send signal to the slave that request data, and deal with the feedback from the slave, send the processed data to upper machine. The function of the slave is for defining data format in advance, writing ID, analyzing when it receives the request signal from the host and sending data when confirming. The function of the upper machine is extracting the ID from the data of the host, and then accessing the database, extract corresponding information and computing according to the ID, deducting fees.

This design emphasizes to use Bluetooth as communication between the host and the slave. The transmission distance is 8 meters, the Angle is 45 degrees. The host and the slave use STC89C52 as the core. The host adopts realplay infrared sensor to trigger the obstacle avoidance module, the host and the slave adopt BT-HC05-V1.0 Bluetooth module as a wireless transmission module. MCU of the host and the slave use Keil to program, ISP to burn. The upper machine uses personal computer as a carrier to display interface, uses the Visual Studio to program, uses SQL Server Management Studio to product database. This design has realized function required by the Bluetooth parking billing system.

Key Words : Bluetooth; parking; billing; STC89C52; BT-HC05-V1.0

摘 要 I

Abstract II

第一章 绪论 1

1.1 课题背景 1

1.1.1 蓝牙停车场计费系统的意义 1

1.1.2 蓝牙停车场计费系统一般结构 1

1.2 国内和国外的研究现状及发展趋势 2

1.2.1 国外发展现状 2

1.2.2 国内发展现状 3

1.2.3 发展趋势 3

1.3 本课题的主要工作 4

第二章 系统设计方案 5

2.1 系统整体功能要求 5

2.2 系统硬件结构设计 5

2.3 系统硬件选型 6

2.3.1 单片机的选择、引脚功能及电路连接 6

2.3.2 蓝牙模块的选择、引脚功能及电路连接 9

2.3.3 触发模块的选择、引脚功能及电路连接 13

2.3.4 上位机的选择、引脚功能及电路连接 15

2.4 系统电路原理图 15

第三章 主机、从机的程序设计 17

3.1开发环境介绍 17

3.1.1 Keil C51 uVision4软件介绍 17

3.1.2 Keil C51工程创建应用 17

3.2 主机程序设计 20

3.3 从机程序设计 23

第四章 上位机的程序设计 23

4.1 开发环境介绍 23

4.1.1 Visual studio 2010软件介绍 23

4.1.2 Visual Studio2010工程创建应用 23

4.2 数据软件介绍 26

4.3 上位机程序设计 28

第五章 调试与验证 31

5.1 主机和从机的调试与验证 31

5.1.1 ISP在线下载操作 31

5.1.2 调试 34

5.2 上位机的调试与验证 35

5.3 系统的联调验证 35

5.4 结果分析 36

总结与展望 39

参考文献 41

致 谢 43

附录一 原理图 44

附录二 硬件PCB图 44

附录三 元器件清单 45

请支付后下载全文,论文总字数:53692字

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

企业微信

Copyright © 2010-2022 毕业论文网 站点地图