Close

We have Pumps, Lights and Fans

A project log for Smart Grow Room

Smart grow room. Fully automatic, Watering, lighting, temperature control. Self adjusting light height and remote control

dannyritchiedannyritchie 08/09/2014 at 12:230 Comments

Well here is the current state of my project which to say the least i am very happy with how this is turning out. Since the last main project log in which i added an RTC and light timer I have now started to make an enclosure. I've started the front panel which at the moment consists of the main lcd, 2 push buttons and 4 potentiometers. If i hold the left button i can then see the light timer menu I can then adjust the left POT for on time and the right pot for off time. The second button brings up the watering pump timer, I select the on time with the left POT and duration is set with the right POT. I've set it up so pump one waters first then pump two will water one minute later. 

Here is a vid of the pump timer in action.

Heres a video of the Temperature controlled fans.

heres the code for the pump timer.

            //PUMP TIMER

{ if

(((myRTC.minutes) == pump_on_hours)

(((float)myRTC.seconds) < pump_on_secs))

{

digitalWrite(pump1, HIGH);

lcd.clear();

lcd.setCursor(4,1);

lcd.print("TIMER");

lcd.setCursor(4,2);

lcd.print("WATERING POT ONE");

}

{

if

((myRTC.minutes == (pump_on_hours +1) )

(((float)myRTC.seconds) < (pump_on_secs -21)))

{

digitalWrite(pump2, HIGH);

lcd.clear();

lcd.setCursor(4,1);

lcd.print("TIMER");

lcd.setCursor(4,2);

lcd.print("WATERING POT TWO");

}

}

Close up of front panel, 


Rear of front panel,

Discussions