登录

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

注册

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

找回密码

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

基于单片机的自行车智能测速及防盗系统的设计毕业论文

 2022-03-24 10:03  

论文总字数:14659字

摘 要

自行车曾经仅仅是人们代步的工具。随着国内经济的快速发展,人民生活条件不断改善,自行车运动逐渐发展成为人们休闲娱乐、健身锻炼的一种选择。当人们使用自行车作为休闲锻炼的工具时,需要知道自行车的实时速率和已行驶里程,当自行车停放时,人们希望实时监测车辆状态,防止自行车被盗。本论文介绍的具有防盗功能的自习车速度里程表能够达到人们的要求。本文主要介绍一种基于霍尔元件、单片机和数码管的具有防盗功能的自行车速度里程表的设计。以 STC89C52RC 单片机为处理器,A44E 霍尔传感器监测车轮转数,数码管实时显示自行车速度或里程,达到对自行车速度/里程实时测量和显示的要求。使用振动传感器实时监测自行车状况,能够在感应到自行车发生振动时,激活蜂鸣器报警。本文全面阐述了具有防盗功能的自行车速度里程表的硬件电路设计和软件程序设计。硬件设计使用霍尔元件把轮胎每转一周的脉冲数输入单片机内部,接着单片机处理该信号之后送达显示。软件部分进行模块化设计。程序使用C语言编写。本系统硬件电路设计简单,各子程序具有良好的可读性和通用性,切合要求。

 

 

关键词:里程/速度;霍尔元件;单片机;数码管显示

Bike speed system design based on single chip

Abstract

Bicycle once is just people walking tools, With the rapid development of the domestic economy, people's living conditions continue to improve, cycling gradually developed into an option for recreation, fitness exercise. When people use the bicycle as a tool for leisure exercise, you need to know the rate of bicycle and traveled distance in real time, when the bicycle is parked, people want to monitor the status of vehicle in real time, to prevent bicycle theft. Self-study with anti-theft car odometer speed function described in this paper can achieve the requirements of people. This paper describes the speed of the bicycle anti-theft function based on the Hall element, microcontrollers and digital odometer design. In STC89C52RC MCU processor, A44E Hall sensors monitor wheel rotation, digital real-time display bicycle speed or mileage, to bicycle speed / mileage real-time measurement and display requirements. Real-time monitoring using a vibration sensor bicycles situation can occur when the vibration sensor to the bicycle, activate the buzzer alarm. This paper describes the overall hardware design and software design speed of the bicycle odometer with anti-theft function. Hardware design using a Hall element to the number of pulses per revolution of the tire input internal microcontroller, then microcontroller processes the signal after the service display. Software part of a modular design. Program using C language. The system hardware circuit design is simple, each subroutine has good readability and versatility to meet the requirements.

Key Words: Mileage/speed; Hall element; Single chip microcomputer; digital display

目录

摘 要 I

绪论 1

概述 1

智能自行车发展现状及前景展望 1

第一章 系统方案论证与分析 3

1.1主要任务及内容 3

1.2 任务分析与实现 3

1.3硬件方案论证及元器件选择 4

1.3.1测速传感器选择 4

1.3.2振动传感器选择 5

1.3.3处理芯片选择 5

1.4 软件方案设计 6

第二章 硬件电路设计 7

2.1 概述 7

2.2 系统总电路图 8

2.3 单片机简介 8

2.3.1 单片机的引脚功能介绍 9

2.4单片机外围电路的设计 10

2.4.1 时钟电路的设计 10

2.4.2 复位电路的设计 11

2.5霍尔检测电路设计 12

2.5.1 双电压比较器LM393 12

2.6 振动检测电路设计 13

2.7 显示电路的设计 14

2.8报警电路设计 16

第三章 软件程序设计 18

3.1 概述 18

3.2 总体程序设计 18

3.3 显示子程序的设计 19

3.4 中断子程序设计 20

3.5 布防按键子程序设计 21

3.6 报警子程序设计 22

第四章 系统的软硬件调试 24

4.1 硬件系统调试 24

4.2软件系统调试 25

结 语 26

参考文献 27

致 谢 29

附录 1 硬件实物图 30

绪论

概述

二百多年前人类发明了自行车并将其投入使用,人类在这二百年间不断的探索和尝试,昔日玩具式的木马车发展为今日样式新颖、功能多样地休闲运动自行车。自行车也由原先的代步工具转变为休闲运动、锻炼健身的工具[1]。最近几年,电动车风靡全国,走入千家万户,已经成为老百姓家里不可或缺的交通工具。

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

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

企业微信

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