摘要:由于社会发展进程的速度加快,而居民生活水平也正不断提高,自行车不再仅仅限于普通的运输、代步的工具,而是成为人们娱乐、休闲、锻炼的首选。而仅仅自行车里程/速度计已然不能够满足人们需求,所以在让人们除了以往的仅仅只能知道速度、里程外就需要对温度,湿度、以及人体耗能等物理量进行收集的设备便随之产生了。本论文主要阐述一种基于51单片机的自行车多功能数据采集计的设计。以STC89C52 单片机为核心,A3144三端霍尔传感器测转数,实现对自行车里程/速度的测量统计,sht10温湿度传感器对实时温湿度进行采集,以及用编程对人体耗能的估算算法进行编程对人体耗能进行输出。采用 24C02 实现在系统掉电的时候保存里程信息,并能将自行车的各项数据用LCD显示器实时显示。文章详细介绍了自行车里程/速度计的硬件电路和软件设计。硬件部分利用霍尔元件将自行车每转一圈的脉冲数传入单片机系统,然后单片机系统将信号经过处理送显示。软件部分用汇编语言进行编程,采用模块化设计思想。该系统硬件电路简单,子程序具有通用性,完全符合设计要求。
关键词:里程/速度 温度/湿度霍尔传感器 温湿度传感器单片机LCD显示 人体耗能
ABSTRACT:As faster development process in the community, and people's living standards are rising, bike is no longer just an ordinary transport of tool, but to become the best choice for entertainment、 leisure and exercises. Just bike mileage/speed meter is not able to meet the needs of the people, so people apart from the only known speed, mileage needed for temperature, physical quantities such as humidity, as well as the energy of the human body to collect equipment attendant. This paper mainly on a bicycle based on 51 single chip design of multifunction data acquisition meter. STC89C52 single-chip at the core, A3144 end Hall sensor measuring speed, enabling the bike mileage/speed measurement and statistics, sht10 temperature and humidity sensor for real-time temperature and humidity collection and estimation program on human energy consumption of human body energy output. When using 24C02 to realize the system power off saves mileage information, and bikes all with LCD monitors can be displayed in real time. Article details the bike mileage/speed meter design of hardware circuit and software. Hardware using Hall element bike number of pulses per turn around passing in single-chip system, then send signal is processed in single chip computer system displays. Software to program in Assembly language, is modular in design. The system hardware is simple, child program has the versatility, fully meet the design requirements.
Keywords: mileage/speed chip Hall sensor temperature humidity sensors of temperature humidity machine LCD displays the human body energy