Things used in this project

Hardware components:
micro:bit BBC micro:bit board
13637 01
SparkFun SparkFun Soil Moisture Sensor (with Screw Terminals)
SparkFun JST Jumper 3 Wire Assembly
SparkFun SparkFun micro:bit Breakout (with Headers)
12002 04
Breadboard (generic)
Software apps and online services:

Custom parts and enclosures

Code for Micro:Bit Makecode
Screen shot 2017 07 09 at 11 09 07 pm h19kjdcbvv


Option A: With breadboad
Connect using a breakout board and bread board
Microbit moisture sensor1 texdwggdb8
Option B: With out bread board/breakout board
Use wires to connect micro:bit to moisture sensor. Use diagram for guidance.
Microbit moisture sensor2 v3rfmtxbrx


Code for MicropythonPython
from microbit import *

while True:
    lightSensor = pin1.read_analog()
    if lightSensor > 200:
        smile = Image(  "00000:"
    elif lightSensor < 200:
        frown = Image(  "00000:"



Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback


Similar projects you might like

Arduino Amiga Floppy Disk Reader
  • 1,993
  • 5

Work in progress

An Arduino powered floppy disk controller and reader for making disk images from old AmigaDOS floppy disks.

3D-Printed, Internet-Controlled, Self-Balancing FPV Robot
  • 1,607
  • 22

Full instructions

Open source telepresence robot that keeps its balance on two wheels. Controlled from UI in the web browser.

Connect Your ESP8266 to Any Available Wi-Fi Network
  • 1,804
  • 17

Full instructions

Establish an Access Point that connects your ESP8266 module to any network making a universal firmware that can be used anywhere.

Interactive European Monuments Board
  • 162
  • 2

Work in progress

3D-printed monumets of Europe, a Raspberry Pi and Makey Makey. Can be connected to any screen and speakers.

  • 77
  • 3

Full instructions

Franzino is a low cost Arduino standalone board

My First Arduino 101 Car Controlled by BLE
  • 560
  • 4

Full instructions

Recently I received an Arduino 101 kit from Hackster. My joy was great because it had a lot to do new projects!

ProjectsCommunitiesTopicsContestsLiveAppsBetaFree StoreBlogAdd projectSign up / Login