Get your Geek on and control your grow room with Arduino!

spek9

Well-Known Member
I've done more work on my grow environment automation/monitoring system.

My basement is a consistently stable 52F, and 75% RH. Flower exhaust stays on low when the light is off. Veg tent light is 24/0. When temp gets above 77F in veg, it enables the exhaust fan until the temp goes back below 76F. The hot air is blown into the flower tent to keep the temp up above 56F.

When the flower lamp is on, the exhaust turns on at 78F, and turns off at 76F, keeping the temp stable at ~77F. I have a little fan running constantly exhausting just a slight amount of air in order to keep a minimum of negative airflow in the flower tent.

Although I have the dehumidifier code tested, I haven't implemented it into this prototype as of yet. Probably tomorrow. For now, it's just the fans that are automated.

Here's the main dashboard of all of the important pieces. Note the "Shroom" widgets. That's a new mushroom cabinet I built... my wife wants to do micro-dosing. I haven't yet added in my main production flower tent yet... the one being tested is my experiment flower tent, where I do breeding and such. If something goes horribly wrong, it's not that big of a deal:

grow_room.jpg

Dashboard for my basement security:

sec.jpg

Here's the dashboard for the important bits of the shroom cab:

shroom.jpg

I've added in some basic emergency alerting as well. So far, all I've added in is if one of the readings from a hygrometer is out of whack, it adds to the issue count of the specific element, and sends me an email and a text. Also, if there's a reading error, it enables the fan for the respective tent as an emergency measure to protect against a runaway heat situation:

issues.jpg

Because everything is logged and can be visualized by graph over short or long periods, it makes it trivially easy to test out changes for efficiency and stability purposes and get immediate and long-term information on what works, and what doesn't. The data is also downloadable in a format that allows for programmatic analyzation and inspection.

One last thing to note... all of the automation is done locally on the microcontroller, and the Internet is not required for any operation. The only role the Internet plays is allowing the storage and visualization of data.
 

Attachments

Last edited:

Mak'er Grow

Well-Known Member
I've done more work on my grow environment automation/monitoring system.

My basement is a consistently stable 52F, and 75% RH. Flower exhaust stays on low when the light is off. Veg tent light is 24/0. When temp gets above 77F in veg, it enables the exhaust fan until the temp goes back below 76F. The hot air is blown into the flower tent to keep the temp up above 56F.

When the flower lamp is on, the exhaust turns on at 78F, and turns off at 76F, keeping the temp stable at ~77F. I have a little fan running constantly exhausting just a slight amount of air in order to keep a minimum of negative airflow in the flower tent.

Although I have the dehumidifier code tested, I haven't implemented it into this prototype as of yet. Probably tomorrow. For now, it's just the fans that are automated.

Here's the main dashboard of all of the important pieces. Note the "Shroom" widgets. That's a new mushroom cabinet I built... my wife wants to do micro-dosing. I haven't yet added in my main production flower tent yet... the one being tested is my experiment flower tent, where I do breeding and such. If something goes horribly wrong, it's not that big of a deal:

View attachment 4502723

Here's the dashboard for the important bits of the shroom cab:

View attachment 4502727

I've added in some basic emergency alerting as well. So far, all I've added in is if one of the readings from a hygrometer is out of whack, it adds to the issue count of the specific element, and sends me an email and a text. Also, if there's a reading error, it enables the fan for the respective tent as an emergency measure to protect against a runaway heat situation:

View attachment 4502731

Because everything is logged and can be visualized by graph over short or long periods, it makes it trivially easy to test out changes for efficiency and stability purposes and get immediate and long-term information on what works, and what doesn't. The data is also downloadable in a format that allows for programmatic analyzation and inspection.

One last thing to note... all of the automation is done locally on the microcontroller, and the Internet is not required for any operation. The only role the Internet plays is allowing the storage and visualization of data.
Show Off !!
Lol...just kidding...its looking great !
I wish I could code this well...I can do what I need to, but this is a few levels up from my ability at this point. :P
 

etruthfx

Well-Known Member
I've done more work on my grow environment automation/monitoring system.

My basement is a consistently stable 52F, and 75% RH. Flower exhaust stays on low when the light is off. Veg tent light is 24/0. When temp gets above 77F in veg, it enables the exhaust fan until the temp goes back below 76F. The hot air is blown into the flower tent to keep the temp up above 56F.

When the flower lamp is on, the exhaust turns on at 78F, and turns off at 76F, keeping the temp stable at ~77F. I have a little fan running constantly exhausting just a slight amount of air in order to keep a minimum of negative airflow in the flower tent.

Although I have the dehumidifier code tested, I haven't implemented it into this prototype as of yet. Probably tomorrow. For now, it's just the fans that are automated.

Here's the main dashboard of all of the important pieces. Note the "Shroom" widgets. That's a new mushroom cabinet I built... my wife wants to do micro-dosing. I haven't yet added in my main production flower tent yet... the one being tested is my experiment flower tent, where I do breeding and such. If something goes horribly wrong, it's not that big of a deal:

View attachment 4502723

Here's the dashboard for the important bits of the shroom cab:

View attachment 4502727

I've added in some basic emergency alerting as well. So far, all I've added in is if one of the readings from a hygrometer is out of whack, it adds to the issue count of the specific element, and sends me an email and a text. Also, if there's a reading error, it enables the fan for the respective tent as an emergency measure to protect against a runaway heat situation:

View attachment 4502731

Because everything is logged and can be visualized by graph over short or long periods, it makes it trivially easy to test out changes for efficiency and stability purposes and get immediate and long-term information on what works, and what doesn't. The data is also downloadable in a format that allows for programmatic analyzation and inspection.

One last thing to note... all of the automation is done locally on the microcontroller, and the Internet is not required for any operation. The only role the Internet plays is allowing the storage and visualization of data.
Nice. I posted mine in another RPi thread before but here it is again. CO2/RH/Temp logging and control all in this 1 sensor. Programmed the relay and sensor myself, has logging capabilities and error detection, Soon to have web functionality but for now I use teamviewer.
Coded myself.
83920807_2744843025595053_2911585791979290624_n.jpg83800331_222140565612435_7183283002414202880_n.jpg
 

spek9

Well-Known Member
Nice. I posted mine in another RPi thread before but here it is again. CO2/RH/Temp logging and control all in this 1 sensor. Programmed the relay and sensor myself, has logging capabilities and error detection, Soon to have web functionality but for now I use teamviewer.
Coded myself.
View attachment 4502740View attachment 4502741
Yeah, I saw that before. Nice!

All of the grow room areas in my basement are controlled with an ESP8266 NodeMCU-12e micro controller.

The shroom cabinet, which operates a single heater to keep the temp between 24-27C is controlled by an Arduino Pro Mini micro controller, which sends all the data to a RPi3b via a USB serial connection, and the RPi uploads the data to the Internet.

I'm building two more devices, one to monitor my nutrient mix tanks (I'll use another ESP8266 here), and one to monitor my cloner tent (temp and humidity, and water temp). I'll probably use an RPi ZeroW for this, with an ADC1115 analog-to-digital converter to read the analog water temperature.
 

etruthfx

Well-Known Member
Yeah, I saw that before. Nice!

All of the grow room areas in my basement are controlled with an ESP8266 NodeMCU-12e micro controller.

The shroom cabinet, which operates a single heater to keep the temp between 24-27C is controlled by an Arduino Pro Mini micro controller, which sends all the data to a RPi3b via a USB serial connection, and the RPi uploads the data to the Internet.

I'm building two more devices, one to monitor my nutrient mix tanks (I'll use another ESP8266 here), and one to monitor my cloner tent (temp and humidity, and water temp). I'll probably use an RPi ZeroW for this, with an ADC1115 analog-to-digital converter to read the analog water temperature.
I think RPi implementation into cloning is a really good idea and been thinking of ways to do it myself. Growing buds is easy, anyone can do it just give them a few nutes and some time and you got buds. But the true art is cloning, duplicating 1 plant and creating more life than before. And that's where the money comes from. So you do not want to play around when it comes to taking clones. You can always add misters, or fans with humidity controllers and see what works best.
 

Mak'er Grow

Well-Known Member
Been wondering about connecting a digital reset pin of sorts for my mega2560 project and wondered if anyone has done anything where say...turning pin 44 high activates a transistor or mosfet or something to short/connect reset pin so arduino resets...like pressing the reset button.
So when errors come up we can software option for a reset.
I looked around for any code and only found info saying the reset is not connected beyond the button basically and in my project its under the LCD and theres no way to press it...I have to unplug and plug in again.
I finally did some code edits for the new multiplexer and sensors and the tests have gone fine so soon I will install them again and have better temp/humidity readings. :P
 

spek9

Well-Known Member
Been wondering about connecting a digital reset pin of sorts for my mega2560 project and wondered if anyone has done anything where say...turning pin 44 high activates a transistor or mosfet or something to short/connect reset pin so arduino resets...like pressing the reset button.
So when errors come up we can software option for a reset.
I looked around for any code and only found info saying the reset is not connected beyond the button basically and in my project its under the LCD and theres no way to press it...I have to unplug and plug in again.
I finally did some code edits for the new multiplexer and sensors and the tests have gone fine so soon I will install them again and have better temp/humidity readings. :P
There are a few ways to reset the board. Here are two. The first is software only, and requires no GPIO pins:

Code:
void(* resetFunc) (void) = 0;

void setup () {
    Serial.begin(9600);
}

void loop () {
    Serial.println(F("Doing nothing but rebooting... la-la-la"));
    resetFunc();
}
The next way requires a GPIO pin. Essentially, connect the RESET pin on the board to another GPIO (eg: 12). digitalWrite() pin 12 to HIGH and then pinMode() it as OUTPUT in setup(). When you want to reset the board, simply set pin 12 LOW.
 
Last edited:

XDabxdoubx

Active Member
If anyone is interested, I got a set up involving a few seperate arduino, a camera, some actuators for the pumps, common EC/PH sensors and some computer vision models that allow you to test n.p.k autonomously. Soil, hydro, or aquaponics(yes computer vision aquaponic models to track fish). Just let me know with a message.
 

Mak'er Grow

Well-Known Member
If anyone is interested, I got a set up involving a few seperate arduino, a camera, some actuators for the pumps, common EC/PH sensors and some computer vision models that allow you to test n.p.k autonomously. Soil, hydro, or aquaponics(yes computer vision aquaponic models to track fish). Just let me know with a message.
I'm just about to start working on 2 little cams I bought about a year ago. What cams are you using?
 

spek9

Well-Known Member
If anyone is interested, I got a set up involving a few seperate arduino, a camera, some actuators for the pumps, common EC/PH sensors and some computer vision models that allow you to test n.p.k autonomously. Soil, hydro, or aquaponics(yes computer vision aquaponic models to track fish). Just let me know with a message.
Is the code Open Source? Is it available on Github?
 

XDabxdoubx

Active Member
Is the code Open Source? Is it available on Github?
It currently isnt open source or on github anymore because I'm working on selling it soon as a grow system and getting the software thoroughly updated. Once that's out there I will open source on github again so other makers can use it out of box. I dont mind helping someone trouble shoot their designs or answer coding/hardware questions.
 

Mak'er Grow

Well-Known Member
Standard usb cameras or raspberry pi IR camera. Though I'm working on adding flir IR phone cameras to the software once I buy one and figure it out.
I picked up 2 OV7670 cams and will be trying to connect at least 1 to my mega 2560.
Waiting on the voltage converter board/chip, but have read a little on them here and there...always looking for new info tho. :P
 

ilovereggae

Well-Known Member
I was about to buy another SensorPush for a new setup I am working on, and decided to see if Adafruit or anyone had something simple for temp/humidity that I could get setup quickly and get into the Arduino world. Most everything I saw would require that I either wire up my own bluetooth or wifi module though in order to capture the data, and I need to get this installed asap.

I stumbled across this one, and it looks pretty awesome for $30! Anyone seen or tried one of these out yet?


It is like their starter / demo 'puck' that showcases what some of their components can do. Think I might grab one just to try it out. Seems like it will give me the temp/rh I need, but also has an ambient light sensor to measure lux (which if you read some of my original posts on this thread was another goal). I figure this gets me up and running with included app on day 1, but I can then extend the functionality or add to it over time. Waiting on your feedback before I pull the trigger.
 
Last edited:

4ftRoots

Well-Known Member
I was about to buy another SensorPush for a new setup I am working on, and decided to see if Adafruit or anyone had something simple for temp/humidity that I could get setup quickly and get into the Arduino world. Most everything I saw would require that I either wire up my own bluetooth or wifi module though in order to capture the data, and I need to get this installed asap.

I stumbled across this one, and it looks pretty awesome for $30! Anyone seen or tried one of these out yet?


It is like their starter / demo 'puck' that showcases what some of their components can do. Think I might grab one just to try it out. Seems like it will give me the temp/rh I need, but also has an ambient light sensor to measure lux (which if you read some of my original posts on this thread was another goal). I figure this gets me up and running with included app on day 1, but I can then extend the functionality or add to it over time. Waiting on your feedback before I pull the trigger.
Check out the SHT31 dev pack on mouser for temp and humidity logging. I use it, works great with Rpi and a usb bluetooth dongle. Should be like 40 bucks I think.

This one really has my interest: https://www.home-assistant.io/integrations/miflora/
Haven't had to time to get and test. but it would be great for working with blumats. and keeping them dialed in
 

ilovereggae

Well-Known Member
Check out the SHT31 dev pack on mouser for temp and humidity logging. I use it, works great with Rpi and a usb bluetooth dongle. Should be like 40 bucks I think.

This one really has my interest: https://www.home-assistant.io/integrations/miflora/
Haven't had to time to get and test. but it would be great for working with blumats. and keeping them dialed in
The SHT31 looks rad. Its only $22 and actually has BLE already so could I just use that to capture data on my laptop?
 
Top