Tottillo Healthkits
Published © GPL3+

Step Counter + App

Check your everyday activity, get info about recommended norms and share your progress on social networks!

BeginnerFull instructions provided2 hours2,157
Step Counter + App

Things used in this project

Hardware components

Battery Holder, 3 x AAA
Battery Holder, 3 x AAA
×1
BBC micro:bit board
BBC micro:bit board
×1

Software apps and online services

MIT App Inventor 2
MIT App Inventor 2
Vittascience platform

Story

Read more

Schematics

App to upload and analyse the data (in english)

App created by Mit App Inventor to analyze the meaning of the number of the steps and share media files about your progress in the internet

App to upload and analyse the data (in french)

App created by Mit App Inventor to analyze the meaning of the number of the steps and share media files about your progress in the internet

Code for Micro:bit on Vittascience platform

Code

Code for Micro:bit step counter

Python
Code to count number of steps and display it
from microbit import *

steps = None

steps = 0


while True:
  display.scroll(steps)
  sleep(50)
  if accelerometer.current_gesture() == 'shake':
    steps = (steps if isinstance(steps, int) else 0) + 1

Credits

Tottillo Healthkits

Tottillo Healthkits

21 projects • 91 followers
I am e-health engineer Diana. Interested in general wellness and awareness of what parameters affect our well-being and health.

Comments