Counting Leg Extensions
by torrescf in Circuits > Microcontrollers
993 Views, 5 Favorites, 0 Comments
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
Transmitter Code
Use this code for the transmitter microbit
Receiver Code
Design Brief
- Client
- People with LOW mobility that needs to exercise to better their health, but can't go to a gym
- Designer Team
- Carlos Torres
- Opportunity Statement
- Making exercising accessible to people that don't have much mobility
- Design Statement
- Micro:bit will count the number of repetitions of leg extensions. The user will be alert every time 5 repetitions are completed.
- Constraints
- Micro:bit will not keep track of sets. It will automatically reset to zero when it reaches 5 repetitions.
Reflection
- What kind of Project did you do? How did you decide what to pick?
- 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.
- How does your project use external equipment to your Micro:bit, like LEDs and radio communication?
- 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.
- Describe something in your project that you are proud of.
- I am proud to have put together the code that makes this project work.
- Describe a difficult point in the process of designing this program, and explain how you resolved it.
- 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.
- What feedback do you hope to get from other students during the in person class?
- I would like to know if my peers find it useful and easy to use.
Video Demo
This video shows you the project in action. Enjoy!