From 227b4c2b4721adce054b4a87a4d1e2fb7825260e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Thu, 4 Aug 2022 17:15:19 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=E2=80=9EREADME.md=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index 855ee1d..04a7b02 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,6 @@ enable_uart=0 #i2c Temperaturesensor dtoverlay=i2c-gpio,bus=2,i2c_gpio_delay_us=1,i2c_gpio_sda=2,i2c_gpio_scl=3 -#i2c Moisturesensor -dtoverlay=i2c-gpio,bus=3,i2c_gpio_delay_us=1,i2c_gpio_auot=4 ``` Also you have to enable the i2c devices in the raspi-config menu. If you dont know how to do it you can just google it. From 1f0c3c5f0bf0ed563ae151326f55fdc3f79bad87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Thu, 4 Aug 2022 17:44:15 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=E2=80=9EREADME.md=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/README.md b/README.md index 04a7b02..ddfada9 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,31 @@ # strawberry-pi-greenhouse Strawberry Pi Greenhouse is a little project that i made in my holidays. It's a software that sends sensor data (temperature, water level) to a Homeassistants instance and can receive commands from this HA instace to control a relay. +# Hardware Installation + +GPIO Pin Layout: +| Pin | Kabel | Pin | Kabel | +| --- | ----------------------- | --- | ---------------- | +| 1 | | 2 | Ultraschall VCC | +| 3 | Temperatur SDA | 4 | LED VCC | +| 5 | Temperatur SCL | 6 | | +| 7 | | 8 | | +| 9 | Relay GND | 10 | | +| 11 | | 12 | | +| 13 | | 14 | | +| 15 | | 16 | | +| 17 | Temperatur VCC | 18 | Ultraschall Trig | +| 19 | | 20 | Ultraschall GND | +| 21 | | 22 | Ultraschall ECHO | +| 23 | | 24 | | +| 25 | | 26 | | +| 27 | | 28 | | +| 29 | | 30 | | +| 31 | | 32 | | +| 33 | | 34 | Temperatur GND | +| 35 | Relay 1 | 36 | Relay 2 | +| 37 | Relay 3 | 38 | Relay 4 | +| 39 | Relay GND (for devices) | 40 | | # Software Installation