Resources

Use Python to add Multiple Servos to Your Self-watering Plant

BBC micro:bit BBC microbit v2 micro:bit accessories microbit tutorials MicroPython mu editor radio tutorial

Use Python to add Multiple Servos to Your Self-watering Plant

This project will let you add an servo motor controller to your self-watering micro:bit project. The servo can be used to raise a flag or some sort of sign to indicate the status of your plant, and can even be located a few metres away from your self-watering plant!

The project can be run as a group activity, with one person programming the first micro:bit and their lab partner programming the second micro:bit. Alternatively, one person could program both micro:bits by having separate code in tabs within mu or Thonny editors.

Read more →


Program a micro:bit with Python to Control a Water Pump

BBC microbit Kitronik microbit plant microbit tutorials moisture sensor pump python soil moisture

Program a micro:bit with Python to Control a Water Pump

In this project, you will learn:

  • how a relay works;
  • how to use code to control a relay to turn a water pump on and off; and
  • how to automate the pump based on sensor readings.

You will need:

  • To have completed our previous tutorial for calibrating a moisture sensor, with the following:
    • a micro:bit, computer with mu editor Thonny editor, and microUSB cable for programming the micro:bit
    • a moisture sensor
Additional hardware required for this tutorial:
  • 1 x submersible pump and hose to fit
  • 1 x MonkMakes relay
  • 5 x crocodile leads to connect everything up
  • 1 x old water bottle or similar container to hold water

Read more →


Project Tutorial: Make a number base Converter

BBC microbit BBC microbit v2 button kitronik mathematics microbit tutorials programming python

Project Tutorial: Make a number base Converter

In this project, you will learn:

  • What number bases are
  • How to connect and program buttons on the BBC micro:bit (works on V1 and V2)
  • How to program the micro:bit in Python, to convert between different number bases

Read more →


Use Python to calibrate your Kitronik Prong Moisture Sensor

BBC microbit Kitronik MicroPython moisture sensor mu editor Thonny

Use Python to calibrate your Kitronik Prong Moisture Sensor

 In this tutorial, you'll learn to:

  • Use Python to read the output from a moisture sensor
  • Use mu or Thonny editors to debug your micro:bit code
  • Calibrate your code to detect the right amount of moisture

Read more →


Quick Tip: Assembling the Kitronik Prong

Kitronik moisture sensor

Quick Tip: Assembling the Kitronik Prong

Sometimes, assembling things before class can be fiddly. Here’s a quick and easy method for fitting the Kitronik Moisture Prong to a bunch of micro:bits..without dropping parts and chasing them all around the floor!

Read more →