## Our Goal

Materials


Background


What is a lie detector?

Pre Build Overview

Practical Operation


Hardware Connect


Connect the soil moisture sensor to P1 of the expansion board. Slot the OLED screen into IIC port of the expansion board.

Software


makecode

Programming


Step 1

Note:If there is a hint says some codebase will be deleted because of incompatibility. Don’t worry. You could go ahead as the hint or build a new item in the item menu bar.

Step 2

Step 3

Step 4

Step 5

Step 6

Program

Program link:https://makecode.microbit.org/_FEV9JH1x9KJV](https://makecode.microbit.org/_FEV9JH1x9KJV)

You also could directly download program by visiting website as below:


Result


Think


Questions


More Information