Introduction: Accountabilibuddy

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

  • 2 Micro:bits
  • 1 breadboard
  • LED (yellow and Green)
  • 2 Resistors
  • 3 Wire clamps

Step 1: Build Breadboard

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

Step 2: Build Micro:bit Receiver

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.

Step 3: Coding for Receiver Micro:Bit

  • Write code on https://makecode.microbit.org/#
  • Attach the micro:bit and download the data.

Step 4: Coding for Pedometer+Transmitter Micro:Bit

  • Write code on https://makecode.microbit.org/#
  • Attach the micro:bit and download the data.


Step 5: 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.