- Command
/opt/vc/bin/vcgencmd measure_temp
- Script
#include <LiquidCrystal_I2C.h> | |
/* | |
Automatic chili & tomato plant watering | |
Analog humidity sensors connected to A1 and A2 | |
Mini 3V pumps connected to relay | |
Relay inputs connected to Digital pins 1 and 2 | |
Relay ground connected to Arduino if not externaly powered (5V), if yes connect ground of external power supply (+ on JD-VCC, - on GRD) | |
Humidity sensory values: | |
+-580 and more completely dry, |