Soil Moisture Sensor

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 SCHEMATIC: CODE: #!/usr/bin/python import RPi.GPIO as GPIO import time #GPIO SETUP channel = 21 GPIO.setmode(GPIO.BCM) GPIO.setup(channel, GPIO.IN) def callback(channel): if … Read moreSoil Moisture Sensor