Soil Moisture Sensor (Raspberry Pi)

by piddlerintheroot in Circuits > Raspberry Pi

104903 Views, 27 Favorites, 0 Comments

Soil Moisture Sensor (Raspberry Pi)

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

Parts

RPI 3 - https://amzn.to/2VA9pQY

4 Amp Power Adapter - https://amzn.to/2CTptWu

16GB micro SD - https://amzn.to/2SFMwd3

120 pcs jumper cable: https://ebay.to/2VAb9cY

Soil Moisture Sensors: https://amzn.to/2DfX5hs

Setup

VCC -> 5V

GND -> GND

SIG -> GPIO 21

Code

1. Copy script to raspberry pi

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

Downloads

Additional Info