Growroom Computer - temp/fan/humidity control

Discussion in 'The Growkind Gallery' started by DXE, Oct 9, 2013.

  1. DXE

    DXE Moderator

    Greetings


    Not sure this is the best place to post this one - mods feel free to move this where it belongs...


    I play with computers for a living so it only seems natural to extend this into my hobby space..


    I am thinking about building a small GP computer based on the Rasberry Pi to provide the following controls and sensors for my grow rooms


    1) temperature input (ambient, flower tent, veg tent)


    2) humidity input (ambient, flower tent, veg tent)


    3) fan speed control (either AC or digital servo) 2 channels needed


    4) wifi connectivity


    The plan is to use the real-time capabilities to set temperature ranges based on time of day for each grow tent. The program will adjust the fan speed to keep the temperature of that tent within the range specified for the time of day. The unit will be capable of sending event notifications (temp changes, alarms, etc) via email or SMS and will be remotely accessable via SSH and possibly via web interface.


    Just wondering if anyone out there has played around with this type of idea.


    The programming should be pretty easy as the Pi runs Linux (and other OS's) and most of the sensors and controllers have easy programming interfaces that work in common languages like PERL or Python.


    I believe I can build this for less then 100$


    Any thoughts??
     
  2. Discorilla

    Discorilla Shining like a Discoball!

    This is a pretty sweet idea here! I know I've been interested in finding out more about this, too.


    It would be nice to only have to worry about the ph of the water.
     
  3. DXE

    DXE Moderator

    Ha - I found a PH sensor for the Rasberry Pi - you can chain up to 16 of them.
     
  4. DXE

    DXE Moderator

  5. ducrider

    ducrider growing your mamas weed

    Great idea for a thread DXE.
     
  6. friendlyfarmer

    friendlyfarmer Rollin' Coal

    This is a great thing. I'd love to monitor/automate the environmental variables to control temps hum etc.


    What I am wondering is what causes the fan to slowly dial back it's power automatically like a fan speed controller and my fingers would?


    I have a temp sensor that throws a switch on or off depending on the temp range you set for it. I used it for heat. It has dials that allow you to set a temp range like between 70 and 80, and then if your temp drops below 70 the power switches on and the heat comes on.


    yield buddy looks freakin awesome. Looks like they did what you were thinking?
     
  7. DXE

    DXE Moderator

    Yield Buddy is a read/only type tool - makes nice charts and graphs and will generate alerts for extremes


    What I am looking to do is more control - with alarming capabilities (lights didnt come on, temp too high, etc)


    I am working on the shoppiing list - looks like all is readily available. Will be ordering hardware prolly later today.


    First order of buisness is build the thing and get it booted up and running and on the network. Then I can start writing some code to see what the temp/humidity/ph sensors look like in code.


    For fan control, there are two ways to do this. One is an AC speed controller - more expensive and would require relays or high voltage handling on the computer. The other way would be to use a servo from an rc car or airplane, put a linkage on it and connect it to my manual speed controller knob. Doing a little programming I should be able to calibrate this setup so I can issue simple commands to move the servo a predetermined distance to increase/decrease fan speed


    I will put some pictures of the hardware once it gets here.


    for those of you interested - this is the guts of the operation:


    http://www.amazon.com/CanaKit-Raspberry-Complete-Original-Preloaded/dp/B008XVAVAW/ref=sr_1_2?ie=UTF8&qid=1381334996&sr=8-2&keywords=raspberry+pi
     
  8. Midnight Garden

    Midnight Garden Excommunicated

    I was just looking at something similar the other day. The hydro store wanted $360.00 for it. Your thing sounds like something that we could sell in the growkind store.
     
  9. DXE

    DXE Moderator

    yeah was looking at one too at the hydro store... Kind of pricey and it didnt do ranges by time - something important to me.


    I run my fans 24x7 and it would be nice to decrease the fan speed at night to a minimum setting then back up to normal when the lights come on.


    Will keep everyone posted on this project - always wanted to do something with the Rasberry Pi - and this is way more useful than a toy that launches a ball for the dog to chase :)
     
  10. nippie

    nippie preachin' and pimpin'

    ok...I'm retarded. I don't see how what why Rasberry Pi is. Someone explain it to me in dumbfucks terms.


    Is it nothing more than a controller? Cause I was wondering how it would run more than one application at a time.


    Also, why don't we take bitcoins at the store?
     
  11. DXE

    DXE Moderator

    The Rasberry Pi is a complete general purpose ARM based computer. It runs varients of the Linux operating system giving it multi-tasking (more than one program) capabilities. Also it has plug-in's for many different sensors and modules making it very flexible as to the application at hand


    http://en.wikipedia.org/wiki/Raspberry_Pi


    Basically for around $50, you get a credit card sized computer that can easily be programmed using just about any programming language to do just about anything a computer can do using tons of add-ons created by the hobby market that developed around it.


    It has no hard disk, limited memory and relies on flash cards for its bootable filesystem - much like your home router
     
  12. friendlyfarmer

    friendlyfarmer Rollin' Coal

  13. DXE

    DXE Moderator

    The "cleanest" method would be an AC programmable speed controller which I can easily do with the Pi. Just not sure I want to make the prototype that complex - digital servos are much simpler as there is no AC wireing needed.


    As for ranges, percents, cut-offs, floating windows, time of day day of week, etc, etc - that is just simple programming - Thats what I do!!!!!


    Also - the unit you sent the link for is a UNI-TASKER - one tent - one room one fan. Using the Pi as a computer - any number or type of inputs are no big deal and the programming can be adjusted for multi-inputs, etc
     
  14. DXE

    DXE Moderator

  15. friendlyfarmer

    friendlyfarmer Rollin' Coal

    super cool


    That iStoof is super cool. If you get something working and then make it user friendly and tailored to the cannabis farmer, you could market that. I can be your first customer :idea:


    I mean what grower hasn't been annoyed by having to manually change the fan speed over and over, etc? Never mind all the other variables.


    I know there are controller boards out there but if you do something with more function less fuss and less cost, it's a better mousetrap.
     
  16. nippie

    nippie preachin' and pimpin'

    That's pretty neat. Seems like a cheap option compared to some of the control systems they have out.


    If/when you do it, would you care taking pictures and explaining shit so we can learn?
     
  17. Psycho D

    Psycho D LEE VAN SPLEEF

    Dig it. The wireless part particularly.


    :popcorn-2:
     
  18. friendlyfarmer

    friendlyfarmer Rollin' Coal

    Yeah you could. It would be freaking awesome to reduce the manual labor aspects of indoor growing by automation, and you could probably stabilize a wonky environment better and improve health/yield too. Less work, less headaches, more bud.


    here's a ph and "nutrient" controller. there are others out there but this is the type of equipment you'd want the raspberry pi to monitor and run. Building the actual pumps and interface from scratch for a PH controller would be a lot of work.


    http://store.amhydro.com/IntelliDose-Intelligent-Nutrient-Controller-p/95031.htm
     
  19. DXE

    DXE Moderator

    well - the bits and pieces will be here Friday - wont be able to get to it till the weekend


    I will take pictures and document everything.


    The basics here is a small Linux based computer called the Rasberry Pi. There are a few different controller units out there that can control motors, solonoids, servos and can read various sensors out there commercially available. The rest is just some simple programming.


    As for FF and his laziness about tending to his hydro :) . The controller I picked up (12$) will control up to 16 servos - these could be connected to valves or a manifold to open/close feed lines or air lines based on input from sensors (you can have 256 sensors on the same controller)


    My approach will be to use off the shelf stuff - stuff we all have laying around like fan speed controllers - think about it - just adding a $10 servo to a perfectly good speed controller is all you need to do - I am not planning on creating a digital speed controller - too complex and would require AC circuitry which I want to avoid. I know some will say that sounds RUBE GOLDBERGish but you put your speed controllers inside a case with all the electronics and servo linkages and youre done!!!


    FF - ask Duc to send you a picture of how nice and neat the inside of one of his airplanes look - lots of servos and linkages - certainly NOT rube goldberg.


    I will share everything about this project - not looking to build something to sell but to build something to make my grow better. Any code I write I can post up here for you guys to play with as well.
     
  20. sallyskims

    sallyskims Germinating

    At one time I was looking at a unit called harvestmaster pro which would perform the tasks you were looking for. Unfortunately it would have really emptied my pocketbook. I think the price on the upper end unit was $1700.00 It would be great to make something similar that was affordable.
     

Share This Page