===== WateringPi ====== \\ ==== About the Project ==== This Project can control eight Gardena or Rainbird 24V solenoid valves (maybe other vendors too). It is possible to cascade in the next release two boards to control up to 16 solenoid valves.\\ \\ ==== Requirements ===== - "Raspberry Pi Zero W" or "Raspberry Pi 3"\\ - Rasbian Release Jessi (or higher)\\ - RTC Modul (fe. ZS-042)\\ - "The Board"\\ - [[http://www.banggood.com/9V-35V-To-5V-5A-25W-DC-DC-Buck-Synchronous-Rectification-Step-Down-Power-Supply-Converter-Module-p-1060637.html?rmmds=myorder|DC-DC Downstepper]]\\ - female-female jumper cable\\ - mircoUSB connector\\ - some other cables :)\\ - 8 LEDs (optional)\\ - 9 Switches (optional)\\ \\ for initial Internet Access on RPI Zero (W):\\ - OTG Adapter + USB Ethernet Adapter\\ or\\ - microUSB Ethernet Adapter\\ \\ ==== The Board ===== (designed with Eagle)\\ {{ :raspberry_pi:wateringpi_board_v2.zip |Board v2}}\\ {{ :raspberry_pi:wateringpi_board_schema_v2.pdf |Schema v2}}\\ \\ ==== WateringPi Installation ===== **Step1:** \\ \\ - download Rasbian Jessi\\ - install it on a microSD card\\ - startup the RPi\\ - login as user "pi"\\ sudo bash raspi-config - Localisation Options -> set "Timezone"\\ - Localisation Options -> set "Keyboard Layout"\\ - Localisation Options -> set "Wifi Country"\\ - Interfacing Options -> enable "I2C"\\ - "Finish" without reboot\\ \\ \\ **Step2:**\\ sudo bash apt-get update apt-get upgrade reboot \\ \\ **Step3:**\\ sudo bash apt-get install -y hostapd dnsmasq iw i2c-tools libi2c-dev apache2 libapache2-mod-php5 php5 systemctl disable hostapd systemctl disable dnsmasq echo "tmpfs /tmp tmpfs defaults,size=20% 0 0" >> /etc/fstab \\ \\ **Step4:**\\ Download the WateringPi package from here: {{ :raspberry_pi:wateringpi_0.9_full.tgz |}}\\ wget -O WateringPi_latest.tgz https://www.bsosp.de/lib/exe/fetch.php?media=raspberry_pi:wateringpi_0.9_full.tgz Now extract the tgz file. tar -xzvf WateringPi_latest.tgz -C /opt/ cd /opt/WateringPi ./install.sh reboot \\ ==== How to use ===== Connect your mobile device to the Hotspot named "WateringPi" with PSK "1234567890".\\ Open a webbrowser and navigate to the URL "http://wateringpi.box"\\