Abstract
Students run code directly without any modification when doing programming experiments. They do not care about the process and do not understand the results. It has always been the pain of the electronic information experiment teaching mentioned by. This article, combines the previous teaching experience, proposes an artificial serial port interruption in the code. The result data returned by the interrupt upload to computer or mobile phone, combined with the experimental principle to allow students to explore the relationship between input and output, so that students can fully participate in the modification of code parameters, and verify the intermediate results. Students connect to the WIFI hotspot configured in the experiment box through their mobile phones, and lunch the online commissioning APP serial port configuration interface to complete the basic serial port settings. The slave MCU needs to download the firmware code compiled in C language in advance. The code contains the serial port output function to calibrate the running position of the code and upload the specified operation results. This article briefly describes the hardware functional chart and the functional flowchart of the interrupt code; focusing on the interface design and interrupt implementation method of online commissioning APP, as well as the test environment setup and specific test results with serial port tools.
Highlights
According to the situation of students doing experiments in the experimental class of "RFID Principles & Application Experiments", the classroom experiment time is limited
Students input FF FF 0A through the serial port tool or RFID online commissioning APP, the serial port output window will display the following content, of which 07 00 77 B6 9A in hex is the ID card number
Because the general serial port assistant only supports HEX or ASCII display, and the serial port output itself contains both character strings and 16-bit data, so in this article, 16-bit data convert to ASCII before the data is output
Summary
According to the situation of students doing experiments in the experimental class of "RFID Principles & Application Experiments", the classroom experiment time is limited. The unified experimental content cannot meet the learning needs of different student objects. In this way, some students complete the experiment in advance and do nothing in rest time. The teacher fails to provide these students with improved or expansive experiments in time, so that they cannot be motivated to master the principle better. The students actively explore the practice and lose their enthusiasm for the experimental course, because they feel that the experiment was too simple. The student will feel frustrated (Moira Fallon, Zhang Jie, Eun-Joo Kim, 2011), which will hurt their enthusiasm for learning
Published Version (Free)
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.