AUTOMATO PROJECT

Inside view
Outside view

Indigo Rose

-
-

-

-

-

-

-

-
-

-

-

-

-

ALL DATA LAST 24H

EVENTS

TEMPERATURE

HUMIDITY

TIME

00:00
Wednesday, July 21

CPU TEMPERATURE

-
-

RAIN

SUNLIGHT

WINDOW

-

DOOR

-

AGG MOISTURE

-

What it is

The AUTOMATO PROJECT is a greenhouse with a built-in Raspberry Pi 3B+ and different sensors, plus a drip irrigation system with Antelco drippers 0–33 l/h and a Comet VIP Plus 1200 l/h water pump.

Digital inputs like switches are fed directly into the Raspberry Pi GPIO, wheras analog inputs like Capacitive Soil Moisture Sensors are using a MCP3008 connected to the GPIO SPI. There is also an LCD Display, communicating over I2C, and a Raspberry Pi V2 Camera Module connected.

Logging and scripting is written in Python3, and API services in NodeJS. PostgreSQL 9.6 is used as storage backend.

Current setup

The analyzer is written in Python3 and currently only has a simple SensorNumericAnalyzer where sensor values can be compared, and joined with other sensor values. For example, close the window if the rain sensor FC-37-0 detects rain AND the window switch SWITCH-1 says the window is open. The analyzer result can be saved to database as a virtual sensor. This might be the start of a recursive AI war. Hmm.

The evaluation of WATER-DRY-PLANTS is stored in db and reported as the average percent of all Moisture Sensors in the tomato plants. When it goes below 60%, it fires drip irrigation (at the moment via IFTTT).

Logic

Commands

Sensors

Read more

Raspberry Pi 3B+ (PDF)
Raspberry Pi GPIO
MCP3008 with Python and Raspberry Pi

(c) 2020 Rolf Johansson <rojo (at) nocrew (dot) org>