基于物联网平台的自行车多功能表设计
2021-08-09黄秋红王霄张译
黄秋红 王霄 张译



摘 要: 为实时了解骑行者的骑行状态,便于其调整骑行举动,设计了基于物联网平台的自行车多功能码表。选用AT89C52作为主控芯片,结合传感器技术、WiFi技术、物联网平台实现了包含计算骑行速度、单次里程、总里程、时间、所耗卡路里、检测环境温湿度等功能的自行车码表设计。进一步地,通过在LCD显示屏及物联网平台显示所得数据实时监测骑行者的骑行状态,以及时调整骑行举动。运行结果显示本次设计的多功能码表具有使用方便、结构简单、价格便宜等优点,增加的卡路里消耗计算进一步丰富了码表功能。此外,此设计能合理地计算骑行数据并及时将数据传送至物联网平台,更加方便骑行者了解骑行实时信息。
关键词: 单片机最小系统; 卡路里消耗; 物联网平台; LCD液晶显示; 霍尔传感器; 温湿度传感器
文章编号: 2095-2163(2021)03-0052-05 中图分类号:TP29 文献标志码:A
【Abstract】In order to know the status of the cyclists in real time and they can adjust their behavior, this paper proposes a design of bicycle multi-function meter based on the Internet of Things platform. Taking AT89C52 as the main control chip and with the help of sensor technology, WiFi technology, and the Internet of Things platform, this paper achieves the design of bicycle multi-function meter, which includes functions such as calculating riding speed, single mileage, total mileage, time, calories consumed, and detecting environmental temperature and humidity. Furthermore, the status of cyclists could be understood in real time so that they can timely adjust their behavior by displaying those data on LCD and the Internet of Things platform, respectively. The result shows that there are some advantages of convenient use, simple structure, and low price for the multi-function meter designed in this paper. The added capacity of acquiring the calories enriches its functions. Besides, it can reasonably obtain the riding data and transmit these data to the Internet of Things platform in time, making it easier for users to understand the real-time information while riding.
【Key words】 single chip minimum system; calories consumption; Internet of Things platform; LCD liquid crystal display; Hall sensor; temperature and humidity sensor
0 引 言
隨着人们生活质量的不断提高,自行车已经不只是一种简单的交通方式了。在方便日常出行的同时,自行车已逐渐地演变成一种运动方式。而作为自行车最重要的辅助工具之一,自行车的码表系统能尽可能准确反映每位骑行者的状况,方便骑手及时调整自己的骑行举动,也已然得到了迅速的发展及广泛应用。
码表应该在正常稳定的基础上尽可能多地显示骑行者所需信息,方便骑行者调整自身。文献[1]介绍了基于霍尔元件的自行车速度里程表的设计方法,以AT89C52单片机为……
