Accountabilibuddy

by dangsapril in Circuits > Wearables

53 Views, 0 Favorites, 0 Comments

Accountabilibuddy

Screen Shot 2023-10-17 at 11.22.39 AM.png

We are going to make Accountabilibuddy, which is a step counter pair with with accountability component.

One Micro:bit will be use as step counter. The another Micro:bit will be use as receiver, given to your accountable buddy.

Supplies

Screen Shot 2023-10-16 at 10.34.57 PM.png
  • 2 Micro:bits
  • 1 breadboard
  • LED (yellow and Green)
  • 2 Resistors
  • 3 Wire clamps

Build Breadboard

Screen Shot 2023-10-17 at 11.01.54 AM.png

Add LEDs and resistors to the breadboard as shown in picture.

Build Micro:bit Receiver

Screen Shot 2023-10-17 at 11.03.46 AM.png
Screen Shot 2023-10-17 at 11.05.25 AM.png

Attach one end of wire clamps to the LED and resistor as shown in picture. Attach the other end of clamps to the Micro:bit as shown in the picture.

Coding for Receiver Micro:Bit

Screen Shot 2023-10-17 at 11.08.49 AM.png
  • Write code on https://makecode.microbit.org/#
  • Attach the micro:bit and download the data.

Coding for Pedometer+Transmitter Micro:Bit

Screen Shot 2023-10-17 at 11.16.26 AM.png
  • Write code on https://makecode.microbit.org/#
  • Attach the micro:bit and download the data.


How to Use the Accountabilibuddy?

https://youtu.be/xDEDN_OxLfA

Go to there to watch how the Accountbilibuddy work.


  • Shake the micro:bit to count step. Put micro:bit in the jean pocket while walking will count your steps.
  • Click B to sent number of step to the receiver.
  • Click A and B to reset the micro:bit transmitter.


The receiver will receive different message based on the number of steps received.

If less than 10 steps, little heart will show, sound will make, and yellow LED will light up.

Steps between 10 and 15, big heart will show, sound will make, and green LED will light up.

If more than 15 steps, smiley face will show, music will play, and green LED will flash a few times.



The number of steps can be adjusted in the code for micro:bit step counter/transmitter.