|
|
@@ -62,10 +62,8 @@ The Raspberry Pi cannot directly power the pump, so we use a relay as a “switc
|
|
|
Pump – → Ground
|
|
|
|
|
|
## Step 3: Writing the Python Code
|
|
|
-see sample code: watering_from_nife_io.py
|
|
|
+see sample code: [watering_from_nife_io.py](https://git.vonnordmann.de/es/watering-plants/src/master/watering_from_nife_io.py)
|
|
|
## Step 4: Testing Your Project
|
|
|
-
|
|
|
-
|
|
|
1. Run the script:
|
|
|
`python3 watering_from_nife_io.py`
|
|
|
1. Insert the sensor into dry soil → the pump should start.
|