Dies ist eine alte Version des Dokuments!
Inhaltsverzeichnis
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“
- 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
Board v2(designed with Eagle)
WateringPi Installation
Step1:
- download Rasbian Jessi
- install it on a microSD card
- startup the RPi
- login as user „pi“
sudo bash raspi-config
- Menu 4 → set „Timezone“
- Menu 4 → set „Keyboard Layout“
- Menu 4 → set „Wifi Country“
- Menu 5 → enable „I2C“
- „Finish“ without reboot
Step2:
sudo bash apt-get update apt-get upgrade 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
Step3:
Download the WateringPi package from here: 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
Users Guide
Connect your mobile device to the Hotspot named „WateringPi“ with PSK „1234567890“ and open a Webbrowser with „http://wateringpi.box„