摘要
为提升课堂考勤与学生签到打卡效率,帮助任课教师快速获取精准的课堂出勤率信息,文章开发了基于STM32单片机和MAC地址定位的教室打卡与人流实时监测微信小程序。该小程序通过STM32单片机串口与TZ-1002 Wi-Fi探针模块进行数据交互,从而使得微信小程序能实时控制移动设备与单片机蓝牙完成信息采集与上行处理,其数据处理的基本思路是通过Wi-Fi探针实时监测教室内同学的唯一MAC地址[1],若与服务器内MAC地址吻合则可视为同学进入教室从而实现打卡功能,而当MAC地址消失后则可视为同学已离开当前教室,实现智能化的高效打卡功能。此外,该小程序还在打卡功能外引入课表查询、实时人流检测等功能,方便用户在校园内完成精准定位与信息交互,经实践证明,该小程序具有整体架构简洁、定位监测准确、可延展性高的特点。
In order to improve the efficiency of classroom attendance and student attendance,and help teachers quickly obtain accurate classroom attendance information,this paper develops a wechat applet for classroom clock in and flow of people real-time monitoring based on STM32 single chip microcomputer and MAC address positioning.The small program interacts with tz-1002 Wi-Fi probe module through STM32 single chip microcomputer serial port,so that wechat small program can control mobile devices and single chip microcomputer Bluetooth in real time to complete information collection and uplink processing.The basic idea of data processing is to monitor the only MAC address of students in the classroom through Wi-Fi probe in real time.If it matches with the MAC address in the server,it can be regarded as students entering the classroom to realize the card punching function,When the MAC address disappears,it can be seen that the students have left the current classroom,realizing the intelligent and efficient punch in function.In addition,the small program also introduces functions such as class schedule query and real-time flow detection in addition to the punch in function to facilitate users to complete accurate positioning and information interaction on campus.Practice has proved that the small program has the characteristics of simple overall structure,accurate positioning and monitoring,and high scalability.
作者
宫雨欣
蒿特祺
史清
贾味明
张家俊
GONG Yuxin;HAO Teqi;SHI Qing;JIA Weiming;ZHANG Jiajun(Shanghai University of engineering and technology,Shanghai 201620,China)
出处
《数字通信世界》
2022年第9期71-73,共3页
Digital Communication World