My team and I, students from Nanyang Polytechnic Singapore, were assigned the task of identifying a problem and implementing a solution using the M5Stack kit set. Our lecturer presented the problem statement: "How can we design a sustainable technology solution in retail, urban farming, smart factory, or healthy lifestyle?" We opted to address the healthy lifestyle aspect, utilizing the M5Stack, Angle sensor, RFID unit, ToF unit, and a Heart Pulse Rate sensor.
Our project is intended for secondary schools, aiming to assist both teachers and students. Specifically, we focused on the NAPFA pull-up test, which is conducted for secondary 2 and 4 students. Further details about our project will be provided in the next paragraph.
We, as a team, discussed how we can address a healthy lifestyle. We decided to create a healthy lifestyle device that can scan a student’s card to identify them, count the number of pull-ups the student can do, and measure their pulse rate simultaneously.
Firstly, we utilized the RFID sensor (Figure 2), which enables us to identify the individual performing pull-ups by reading the admin card data and matching it to the data in the system. If there is no admin card on the RFID sensor, the entire circuit will not function.
Secondly, we incorporated the heart rate sensor (Figure 3). After the user places the admin card on the RFID sensor, they must place their finger on the heart rate sensor, and the heart rate will be displayed on the M5 stack.
Thirdly, we employed the angle sensor (Figure 4) as a switch to turn the circuit on and off. When the angle sensor is turned to 1024, the circuit will be activated, and when it is turned to 0, it will be turned off.
Finally, we used the TOF sensor (Figure 5) to measure the number of pull-ups the user has done. When the user ascends 10 cm, the sensor will increment by 1, indicating that 1 pull-up has been completed. This process continues until the user is unable to perform more pull-ups or the time limit is reached.
Once the user has completed the pull-ups, they need to press the buttons on the M5 stack to indicate how many pull-ups they have done. Button A represents less than 2 pull-ups, Button B is more than or equal to 3 pull-ups but less than or equal to 5 pull-ups, and Button C is more than or equal to 6 pull-ups. When the user presses the button, the LED will change from pink to blue and then to grey, signifying that the data has been sent to Google Sheets, which will update a graph displaying statistics for all individuals who performed pull-ups. If the LED turns red, it indicates an error, and the program must be restarted.
In conclusion, our team has successfully developed a comprehensive and innovative solution to tackle the challenge of promoting a healthy lifestyle, with a specific focus on the NAPFA pull-up test for secondary school students. Our healthy lifestyle device, tailored for the NAPFA pull-up test, not only meets academic requirements but also serves as a testament to the potential of technology to positively impact education and foster healthier living habits among the youth.
You may access my team's presentation as well as how the coding was done here!
Comments
Please log in or sign up to comment.