dpohanlon / pico_water

Automated plant watering with the Raspberry Pi Pico

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pico_water

Automated plant watering with the Raspberry Pi Pico. This runs a monitoring loop on the second RP2040 core to obtain moisture from an external moisture sensor, and temperature from the built in temperature sensor on the Pico board. Below a given moisture threshold, a pump is periodically engaged until the threshold is reached again. Your mileage may very with the default thresholds!

Build instructions

mkdir build
cd build
cmake ../
make -j4

Inputs / Outputs

PIN 0 : Output to the pump (HIGH on, LOW off).

PIN 26 : ADC moisture sensor input.

USB serial : Sends moisture (ADC voltage) and temperature (Celcius) every 10 seconds.

About

Automated plant watering with the Raspberry Pi Pico

License:MIT License


Languages

Language:CMake 58.2%Language:C 41.8%