唐山师范学院学报2024,Vol.46Issue(3) :33-38.DOI:10.3969/j.issn.1009-9115.2024.03.008

基于FreeRTOS的自行车里程表监测系统的设计

Design of Bicycle Odometer Monitoring System Based on FreeRTOS

陶学航 王利双
唐山师范学院学报2024,Vol.46Issue(3) :33-38.DOI:10.3969/j.issn.1009-9115.2024.03.008

基于FreeRTOS的自行车里程表监测系统的设计

Design of Bicycle Odometer Monitoring System Based on FreeRTOS

陶学航 1王利双2
扫码查看

作者信息

  • 1. 唐山师范学院 物理科学与技术学院,河北 唐山 063000
  • 2. 唐山师范学院 物理科学与技术学院,河北 唐山 063000;唐山市新型智能传感技术重点实验室,河北 唐山 063000
  • 折叠

摘要

针对单核CPU需要同时处理多个任务的问题,考虑到以 STM32 F4 单核处理器为核心的自行车里程表的多任务管理需求,采用FreeRTOS操作系统来实现自行车里程表的数据测量任务、LCD显示任务以及两个定时器任务.结果显示,自行车里程表能有效计算并在LCD中显示自行车的速度和里程数,具有良好的交互性.

Abstract

Aiming at the problem that single-core CPU needs to process multiple tasks at the same time,considering the multi-task management requirements of bicycle odometer with STM32 F4 single-core processor as the core,the FreeRTOS operating system is used to realize the data measurement task,LCD display task and two timer task of bicycle odometer.The results show that the bicycle odometer can effec-tively calculate and display the speed and mileage of the bicycle in the LCD,and has good interactivity.

关键词

FreeRTOS/自行车里程表/多任务管理

Key words

FreeRTOS/bicycle odometer/multi-task management

引用本文复制引用

出版年

2024
唐山师范学院学报
唐山师范学院

唐山师范学院学报

影响因子:0.204
ISSN:1009-9115
参考文献量2
段落导航相关论文