Bitcoin Forum
June 28, 2024, 08:33:09 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Remote farm managment based on RaspberryPi  (Read 1411 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
mobile2004 (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
March 07, 2014, 04:41:36 PM
 #1

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)
https://i.imgur.com/LwACxqqs.jpg
https://i.imgur.com/CyobzBps.jpg
https://i.imgur.com/dXXWtyys.jpg
https://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
kellzy
Newbie
*
Offline Offline

Activity: 52
Merit: 0


View Profile
March 07, 2014, 05:17:53 PM
 #2

Nice write up. I might actually convert my Pi to do this.

I have a APS remote power unit that can control 8 devices. I now have a 9th *sad panda*
At the moment I did a silly hack. I took the a very old nokia phone and wired a capacitor into the connection going to the speaker, I cut the speaker off  and connected the wire with capacitor to the reset on my miner.  Now I just have ring  the number of the old phone and when the "speaker" gets power it reboots the unit.

Using the Pi sounds alot cleaner =)
mobile2004 (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
March 07, 2014, 06:00:40 PM
 #3

I took the a very old nokia phone and wired a capacitor into the connection going to the speaker, I cut the speaker off  and connected the wire with capacitor to the reset on my miner.  Now I just have ring  the number of the old phone and when the "speaker" gets power it reboots the unit.
when using the phone, if it comes advertising SMS and leave the computer to restart Sad

also you may connect USB-camera and you'll have a great cheap IP camera Wink
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!