Making a Self-Watering Plant System with Micro:bit
Our plant takes care of itself — with a little help from technology!
What is a Self-Watering Plant?
How Does it Work?
What You'll Need
Sensor:bit
Soil moisture sensor
A BBC micro:bit V2
A USB cable to connect it to a computer
A battery pack
A plant that needs
a high-tech friend!
Relay
2 jumper wires
1 single jumper wire
Screwdriver
What You'll Need
Sensor:bit
Soil moisture sensor
A BBC micro:bit V2
A USB cable to connect it to a computer
A battery pack
A plant that needs
a high-tech friend!
Relay
2 jumper wires
1 single jumper wire
Screwdriver
Connect the Soil Sensor
Soil moisture sensor
Jumper wire
Connect the Relay
Jumper wire
Relay
Connect the sensor bit to the micro:bit
Connect the soil moisture to the sensor bit
Connect the relay to the sensor bit 1/2
Connect the relay to the sensor bit 2/2
We need to connect the pump to the sensor bit
We need to connect the pump to the relay
Connect the micro:bit to the micro B cable
Coding the Self-Watering System
Connect the USB to the computer and...�Let’s Get Coding!
Coding the Soil Moisture
Coding the Soil Moisture�Let’s add avatars!
Coding the Soil Moisture (cont)�Let’s add avatars!
Bring the water to the plant!
put it for 600 000 ms (10 minutes) of even 1 hour.
Water the plant and save the battery!
Plant monitoring & Avatar
Plant monitoring
Plant monitoring
Plant monitoring
Using the data for a plant avatar