With an alarming increase in obesity levels, even among children and adolescents, there is a need to take steps for increasing their motivation and overall physical activity levels. This paper proposes a way for concerned authorities in a school, to easily keep track of each student's physical activity during school hours and give feedback accordingly. The system uses a portable pedometer that includes a MPU6050 sensor module that uses an accelerometer and gyroscope to collect movement data from each student and stores it, via Wi-Fi communication on to the Thingspeak server. The system implements a k-NN algorithm that classifies the data for each student into activities of sitting, walking, running and cycling. The results of the analysis and feedback for each student are accessible through a web portal, hosted locally on a server located in the school premises. © 2018 IEEE.