Post
Topic
Board Beginners & Help
Topic OP
Remote farm managment based on RaspberryPi
by
mobile2004
on 07/03/2014, 16:41:36 UTC
This guide help you to build IP-control system for remote managment motherboard buttons (Power\Reset), 220V load (e.q. PSU), temp monitoring and other (pi can many more)

We need:
1. Raspberry Pi - http://www.ebay.com/itm/Raspberry-Pi-2-0-Model-B-512MB-Linux-System-Board-WORLDWIDE-FREE-SHIPPING-/321226432504?pt=CPUs&hash=item4aca965ff8
2. 5V Relay board - http://www.ebay.com/itm/8-Channel-5V-relay-module-for-Arduino-DSP-AVR-PIC-ARM-For-Raspberry-Pi-/231046849865?pt=Home_Automation_Modules&hash=item35cb772549
    or http://www.ebay.com/itm/Raspberry-PI-5volts-4-Channels-Relay-buy-two-get-2x-5volts-1-CH-Relay-free-/271330709911?pt=Home_Automation_Modules&hash=item3f2c921197
   (depending on how many channels need you)
3. Webiopi framework for Raspberry Pi - https://code.google.com/p/webiopi/
4. direct hands Wink

Guide:
1. Download a Raspbian image - http://downloads.raspberrypi.org/raspbian_latest
2. Use Win32DiskImager for write it on SDcard
3. Install Raspbian, enable SSH with installation
4. Connect via SSH to raspberry (use Putty)
5. Intall Webiopi framework for Raspberry Pi - https://code.google.com/p/webiopi/wiki/INSTALL?tm=6
and don't forget run it & make autostart
6. Connect via Browser to http://raspberyPiIP:8000 username-webiopi, password-raspberry, and you wil see default Webiopi page
7. Download files from here http://rghost.ru/52890896 and put to \ directory (use WinSCP)
8. Restart webiopi & you wil see my example webpage for 2 farms
In example GPIO2, GPIO3 pins used for 220v load
GPIO22, GPIO27 pins used for PowerSW connector
GPIO4 used for 1-wire temperature sensor DS18B20

Warning!!! If you want managment 220V load - be aware, its dangerous. For 10A relay maxload is 5-6A (1000-1200W)
http://i.imgur.com/LwACxqqs.jpg
http://i.imgur.com/CyobzBps.jpg
http://i.imgur.com/dXXWtyys.jpg
http://i.imgur.com/MhQLhGps.png


If you have a questions - ask me
PS. If you want to donate me Wink
BTC - 1JaXcz7YTU5cjLzuhnN33AWjXdej4MZnRn
LTC - LLNPcntyW5zSUykGqtAU1bnzLHKhwBME8W
UTC - UhS7oqsDeM3hJsKBPBY64dxZDihJTGXc1y
Doge - D5fXmiHqf4y42bWJaBDBpwAMTCnjmyaGnH