Introduction: Soil Moisture Sensor (Raspberry Pi)

Picture of Soil Moisture Sensor (Raspberry Pi)

Basic tutorial of how to setup a soil moisture sensor with the Raspberry Pi.

Step 1: Parts

Picture of Parts

RPI 3 – https://goo.gl/CdVNoH

4 Amp Power Adapter – https://goo.gl/js4Uc7

16GB Micro SD – https://goo.gl/FDqZal

120 pcs jumper cable: https://goo.gl/FDqZal

Soil Moisture Sensors: https://goo.gl/FDqZal

Step 2: Setup

Picture of Setup

VCC -> 5V

GND -> GND

SIG -> GPIO 21

Step 3: Code

Picture of Code

1. Copy script to raspberry pi

2. Run script by typing "python soil.py" and hit enter to run

Step 4: Additional Info

Picture of Additional Info

Comments

About This Instructable

148views

4favorites

License:

Bio: the Raspberry Pi is Awesome!
More by piddlerintheroot:Accelerometer (Raspberry Pi)Flame Sensor (Raspberry Pi)Soil Moisture Sensor (Raspberry Pi)
Add instructable to: