内容发布更新时间 : 2024/11/13 4:26:31星期一 下面是文章的全部内容请认真阅读。
自动车窗升降控制器的设计与制作
摘 要:车窗是汽车必不可少的重要部件,早期的汽车采用传统的手动升降车窗。
90年代中期以来,汽车车窗控制器的控制技术发展迅速,电子模块控制形式大量应用于批量装车,并设有安全保护装置。现在许多轿车门窗玻璃的升降使用的是价格低廉、性能稳定的单片机作为集成模块控制器进行控制。据此本次设计也是以STC89C52RC单片机作为核心控制器,L9110芯片为电机驱动,带有温度检测以及状态显示的车窗升降控制器。通过5V小功率电机的正反转、停止以及自动上升功能,模拟车窗的升降以及车辆停车熄火时车窗自动关闭控制功能。采用单片机作控制核心不仅价格低廉而且性能稳定,电路简单。
关键词:单片机;直流电机;车窗升降;温度检测
江苏理工学院毕业设计说明书(论文)
Design and manufacture of automatic window lift controller
Abstract: Windows are important and indispensable parts for automobiles, early
cars used traditional manually lift window. Since the mid 90, rapid development of control technology of automobile window controller, electronic control module forms widely used in bulk loading, and are equipped with safety devices. Now many car window glass lift is used as cheap, stable performance of the single chip microcomputer integrated control module controller. This design is also STC89C52RC SCM as the core controller, L9110 chip for motor drive, with temperature detection and State display window lift controller. 5V low power motor reverse, stop, as well as an automatic rise function, when a simulating movements in the car window and vehicle parking stall window closes automatically control functions. Using single-chip microcomputer controlled core not only low prices but stable performance, simple circuit.
Keywords: microcontroller;DC motor ;window lift;temperature detection
江苏理工学院毕业设计说明书(论文)
目 录
第1章 绪论..............................................1
1.1 选题意义...................................................1 1.2 自动车窗升降控制器的发展历程...............................1 1.3 本文主要研究内容...........................................2
第2章 系统元件选择与论证.................................3
2.1 单片机选择与论证.............................................3 2.2 电机驱动芯片选择与论证.......................................4 2.3 温度传感器筛选与论证.........................................4 2.4 显示器选择与论证.............................................4 2.5 系统方案设计.................................................5
第3章 硬件电路设计.......................................6
3.1 硬件系统总体设计.............................................6 3.2 STC89C52RC微处理器核心电路...................................6 3.2.1 STC89C52RC单片机简介.........................................6 3.2.2 晶振电路...................................................8 3.2.3 单片机复位电路..............................................9 3.2.4 单片机总体硬件电路设计.......................................9 3.3 电源输入电路................................................10 3.4 L9110电机驱动电路...........................................11 3.4.1 L9110芯片.................................................11 3.5 1602液晶显示器电路..........................................12 3.5.1 1602液晶显示器.............................................12 3.5.2 1602LCD电路设计............................................14 3.6 DS18B20数字温度传感器电路...................................15 3.6.1 DS18B20的主要特征..........................................15 3.6.2 工作原理及应用.............................................15 3.6.3 DS18B20数字温度传感器电路设计................................17 3.7 按键模块设计................................................17
第4章 软件程序设计......................................18
4.1 C语言在单片机中的应用.......................................18 4.1.1 文件包含处理...............................................18 4.1.2 单片机引脚定义.............................................19 4.2 主程序流程图设计............................................19 4.3 DS18B20传感器模块程序设计...................................20 4.4 LCD1602模块程序设计.........................................22