Introduction: Counting Leg Extensions

This project keeps track of the number of leg extensions while exercising using two micro: bits. One micro: bit (transmitter) is tied to the front part of the shoe or foot to do the counting while the other micro: bit (receiver) is held in your hand to see the number of repetitions.

Supplies

2 micro: bits boards

battery pack (optional)

something to sit on comfortably

something to attach the micro: bit to your shoe or leg – string, tape, or Velcro

Step 1: Transmitter Code

Use this code for the transmitter microbit

Step 2: Receiver Code

Step 3: Design Brief

  1. Client
  2. People with LOW mobility that needs to exercise to better their health, but can't go to a gym
  3. Designer Team
  4. Carlos Torres
  5. Opportunity Statement
  6. Making exercising accessible to people that don't have much mobility
  7. Design Statement
  8. Micro:bit will count the number of repetitions of leg extensions. The user will be alert every time 5 repetitions are completed.
  9. Constraints
  10. Micro:bit will not keep track of sets. It will automatically reset to zero when it reaches 5 repetitions.


Step 4: Reflection

  1. What kind of Project did you do? How did you decide what to pick?
  2. I decided to do a radio project that can be used during exercising/ working out. The goal of the project it to count the number of leg extension repetitions. I like to exercise, so I thought it would be cool to use the micobit in something I like.
  3. How does your project use external equipment to your Micro:bit, like LEDs and radio communication?
  4. The sender microbit counts the number of leg extension repetitions and then sends the signal via radio to the receiver microbit. The receiver micobit displays the number of reps and then resets every 5 reps to start a new set.
  5. Describe something in your project that you are proud of.
  6. I am proud to have put together the code that makes this project work.
  7. Describe a difficult point in the process of designing this program, and explain how you resolved it.
  8. It was difficult to figure out which input would work best for this project. I resolved this by trying different inputs such as shake, tilt, force, etc, screen up input was the one that worked best.
  9. What feedback do you hope to get from other students during the in person class?
  10. I would like to know if my peers find it useful and easy to use.


Step 5: Video Demo

This video shows you the project in action. Enjoy!