Make an Activity Reminder with micro:bit

Make an Activity Reminder with micro:bit

Joshua Lowe
Joshua Lowe

POST BY Muzaffer Yağız Yasak. Will update author info when server is fixed :)

Today we will make an activity reminder with micro:bit. We often forget most things in daily life. We will make an activity reminder so we don't forget about the work we will do.

What do you need?

Installation

Open a command-line window. Type the following:

git clone https://github.com/codermyagiz/MicroReminder

Navigate to the MicroReminder folder in your command line window using the 'cd' command - you may need to change the path, depending on how you've configured git on your computer:

cd MicroReminder

Next, install the required modules:

pip install -U -q -r requirements.txt

You can also download it directly from the following link: Here

Installation Video

Setting up the bitio library

  1. Download the David Whale's bitio library on this link.
  2. After downloading, unzip the folder.
  3. Flash the bitio.hex file onto your micro:bit by dragging and dropping it onto the MICROBIT drive that appears when you plug in your micro:bit. The bitio logo will appear on the display to show you that it has loaded correctly.
  4. In the folder where bitio-master is, open a command prompt and type the following:
    python -m pip install src\.
  5. Done, you have successfully installed the bitio library!

Usage

  1. First, connect the micro:bit to the computer with a USB cable.
  2. Write python MicroReminder.py on the open command line.
  3. Now the "tick" will appear on the LEDs of the micro:bit. This means that it was successfully installed.
  4. Now, MicroReminder will ask you what you want to remember. Then it will ask you how long it should alert you after.
  5. After answering these questions, hold down B button on the micro:bit. MicroReminder will start working and when the time comes, it will send a notification to the desktop reminding you to work.
  6. If you want to stop the reminder, you can hold down the A button on the micro:bit.
  7. Done!

Usage Video

Command Line Video