This is an old revision of the document!
Moad Asehraoui 1220 AF
Count Your Steps
Introduction
Brief presentation of your project:
It will take the power of The Microbit
To make a more accurate step counter,
If the acceleration is greater than (>) 1000, the steps variable is increased to be shown after in the led
Nowadays, automation is needed everywhere, so this project will help to improve your sport activity by counting the duration and the calories burned as well
General Description
The idea is quite simple, the idea is to Turn the micro:bit into a step counter (pedometer) to help you track how active you are.
It counts how many times the micro:bit has been shaken and if the acceleration is greater than (>) 1000, It stores this number in a variable called ‘steps’, every time the micro:bit accelerometer input senses a shake, the program increases the variable by 1, and shows the new number on the LED display output.
Once the steps reache 10 steps, the varibale called 'Calories' will be increqsed by 40.4 and the distance as well with 0.0006.
To restart the game, you press at A, and to stop the program and display the results, you press at B, it starts and stops after hearing a music from the speaker of the microbit.
The conceptual scheme of the project is as follows:
Hardware Design
Here's all about hardware design and components :
Microbit
Buttons
USB for Microbit
Python Microbit editor
Led
Accelerometer
Software Design
Description of the application code (firmware):
Press Button B to restart and to set the counter to 0 while hearing a music(power up)
Once the acceleration is greater than (>) 1000, the variables are increased
Measure the calories burned, the durataon and the speed as well
Results Obtained
What were the results of your project?
Conclusions
Download
An archive (or more if necessary) with the files obtained from the project: sources, schemes, etc. A README file, a ChangeLog, a compile script and automatic copy on uC always make a good impression

.
Files are uploaded to the wiki using the Add Images or other files feature. The namespace in which the files are uploaded is of the type : pm: prj20 ??: c? or : pm: prj20 ??: c?: Student_name (if applicable). Example: Dumitru Alin, 331CC → : pm: prj2009: cc: dumitru_alin .
Journal
You can also have a diary section where the project assistant can track the progress of the project.
Bibliography / Resources
List of documents, datasheets, Internet resources used, possibly grouped on Software Resources and Hardware Resources .
Export to PDF