摘要
为促进教学信息化和便捷化发展,设计了一套教室使用率自动检测与查询系统,系统对教室现有人数进行实时自动检测并且用户可以在微信小程序查询指定教室的现有人数以及教室总座位数。系统使用E18-D80NK光电传感器模块获取人数信息,ALIENTEK MiniSTM32V3.0开发板和ATK-ESP8266WIFI模块作为通信和处理数据模块。用Python中的Django框架搭建Web服务器,在Web服务器上搭建MySQL数据库存储数据以供更新和查询数据,并且编写人数更新接口和人数查询接口分别与开发板和微信小程序端通信。最后使用微信开发者工具开发用户页面和逻辑功能,实现在微信小程序端查询教室使用率的功能。对系统测试表明检测及查询性能稳定,具有广阔应用前景。
In order to promote the development of teaching informationization and convenience,a set of classroom usage automatic detection and query system is designed.The system automatically detects the current number of classrooms in real time and users can query the current number of classrooms and the total number of classrooms in the WeChat applet number of seats.The system uses the E18-D80NK photoelectric sensor module to obtain the number of people,the ALIENTEK MiniSTM32V3.0development board and the ATK-ESP8266WIFI module as communication and data processing modules.Use the Django framework in Python to build a Web server,build a MySQL database on the Web server to store data for updating and querying data,and write a number update interface and a number query interface to communicate with the development board and WeChat applet respectively.Finally,the WeChat developer tools are used to develop user pages and logic functions to realize the function of querying classroom usage on the WeChat applet.The system test shows that the detection and query performance is stable,and has broad application prospects.
作者
林嘉煌
罗小巧
连城
黄曹
任艺婷
Lin Jiahuang;Luo Xiaoqiao;Lian Cheng;Huang Cao;Ren Yiting(College of Physical Science and Technology,Central China Normal University,Wuhan 430079,China)
出处
《电子测量技术》
2020年第20期42-46,共5页
Electronic Measurement Technology