当前位置>主页 > 期刊在线 > 智能制造 >

智能制造22年20期

STM32 自动抽水系统教学设计
李晖,周唯
(湖南理工职业技术学院,湖南 湘潭 411105)

摘  要:在 STM32 教学中,对自动抽水项目进行设计:低于预定水位则在用电峰谷抽水,抽水到最高水位停止;当用水量较大且没来得及在用电峰谷抽水就已经达到最低水位,则立即抽水,到预抽水水位停止。系统涉及电源参数选择、最小系统设计、人机交互模块、继电器控制单元、菜单设计及超声波模块设计等知识,最后系统经过调试和测试,水位误差在可接受范围内实现了项目要求。该项目设计寓教于乐,培养了学生的系统思维。


关键词:教学设计;超声波;自动抽水



DOI:10.19850/j.cnki.2096-4706.2022.20.044


基金项目:湖南省职业院校教育教学改革项目(ZJGB2019300)


中图分类号:TP368                                             文献标识码:A                               文章编号:2096-4706(2022)20-0187-05


Teaching Design of STM32 Automatic Pumping System

LI Hui, ZHOU Wei

(Hunan Vocational Institute of Technology, Xiangtan 411105, China)

Abstract: In the STM32 teaching, this paper designs the automatic pumping project. If the water level is lower than the predetermined water level, the water will be pumped in the peak valley of power consumption and stopped at the highest water level. If the water consumption is large and the water has reached the lowest water level before the water is pumped in the peak valley of power consumption, the water will be pumped immediately and stopped at the pre pumping water level. The system involves power parameter selection, minimum system design, human-computer interaction module, relay control unit, menu design, ultrasonic module design and other knowledge. Finally, the system is debugged and tested, and the water level error is within the acceptable range, which has realized the project requirements. The project design combines teaching with fun, and cultivates students’ systematic thinking.

Keywords: teaching design; ultrasonic; automatic pumping


参考文献:

[1] 核心素养研究课题组 . 中国学生发展核心素养 [J]. 中国教育学刊,2016(10):1-3.

[2] 王改云,胡志强,王远 . 高精度可调式单端反激开关电源设计 [J]. 电源技术,2015,39(1):127-129+140.

[3] 贺洪江,程琳 . 基于 STM32 与 MODBUS 协议的超声波测距仪设计 [J]. 仪表技术与传感器,2014(11):27-29+33.

[4] 李戈,孟祥杰,王晓华,等 . 国内超声波测距研究应用现状 [J]. 测绘科学,2011,36(4):60-62.

[5] 彭宇,王丹 . 无线传感器网络定位技术综述 [J]. 电子测量与仪器学报,2011,25(5):389-399.

[6] 赵广涛,程荫杭 . 基于超声波传感器的测距系统设计 [J].微计算机信息,2006(1):129-130+149.


作者简介:李晖(1982.07—),男,汉族,湖南衡阳人,副教授,大学本科,研究方向:智能控制、电力电子。