How to attach rechargeable battery to PiStorms
Latest posts
-
How to attach rechargeable battery to PiStorms
-
Connect to Wi-Fi Directly from PiStorms!12/02/2017
Connect your Raspberry Pi to a Wi-Fi network directly from PiStorms!
-
Image Recognition Robot with PiStorms and Pi Camera12/02/2017
Image Recognition Robot with PiStorms and Pi Camera
-
-
Rotary Inverted Pendulum with PF-XL Motor and GlideWheel-M12/13/2016
Rotary Inverted Pendulum with PF-XL Motor and GlideWheel-M
-
-
Make Your Own Obstacle Avoidance Robot with SumoEyes12/13/2016
Make Your Own Obstacle Avoidance Robot with SumoEyes
-
-
Check Basic Information of Your I2C Sensors12/13/2016
Check Basic Information of Your I2C Sensors
-
Blog categories
Search in blog

Plant Moisture Monitor: a Grove Sensor Adapter project
The mindsensors Grove Sensor Adapter makes it easy to use a variety of unique Grove sensors with the EV3. Our custom block makes it easy to read the sensor from your program. Here is an example of using it with the Grove moisture sensor.
Here is our plant, and the EV3 using the moisture sensor below!
You can see here the Grove Sensor Adapter is used, with the moisture sensor in the soil.
If we take a numeric measurement, we can see that our plant is already pretty hydrated.
In any case, pouring in more water certainly made the measurement shoot up!
This was running a simple program to play a sound when the soil is too dry. Let's take a look at that now.
It only takes a handful of blocks to make this happen. First we use the Mindsensors GroveSensorAdapter block (default settings) to read the moisture level. Then we compare it with our baseline, 450 in this case. Based on this, the Case statement will play a sound if the plant needs water, and do nothing if it is fine. There is a ten second delay, resulting in a sound you can definitely hear, but isn't obnoxious.
Remember to water your plants! Or let the robots do it for you.
Related posts
-
Line Following Robot with LightSensorArray or LineLeader
Line Following Robot with LightSensorArray or LineLeaderread more -
Attach Mulitple Sensors to a Single EV3 Port
EV3 Sensor Adapter with SPLIT-Nxread more -
Line Tracking Experiments with NXTCam
Posted in: NXT & EV312/02/2015Line Tracking Experiments with NXTCamread more -
Vision for your PiStorms Robot using Pi Camera!
Vision for your PiStorms Robot using Pi Camera!read more -
How to install OpenCV on Raspberry Pi and do Face Tracking
How to install OpenCV on Raspberry Pi and do Face Trackingread more
Leave a comment