What's new
  • Happy Birthday ICMag! Been 20 years since Gypsy Nirvana created the forum! We are celebrating with a 4/20 Giveaway and by launching a new Patreon tier called "420club". You can read more here.
  • Important notice: ICMag's T.O.U. has been updated. Please review it here. For your convenience, it is also available in the main forum menu, under 'Quick Links"!

70W vert + LED + organic + microcontroller madness.

bonsai

Member
This is something I've been tinkering with on and off for over a year, having built and tested a prototype version of the microcontroller setup using CFLs to grow an Arjan's Haze #3 and a Nirvana NLxHaze in mid-2010.
Box is nearly finished, genetics are vegging nicely, so may as well kick off this thread.

There's a lot to cover, so here are the core elements of the grow box:
- 70W HPS, vertical bare-bulb.
- 3x DIY LED bars @ 16.8W each (50.4W total)
- 1.01 square foot of usable space in a U shape. 120W/sqft. woot.
- Organic all the way. <3 haha
- Arduino microcontroller running my own software: controlling scheduling, heating/cooling, monitoring temps and humidity to CSV file on an included SD card
- Configured with four states: sunrise, day, sunset, night. Different target temps, lighting configs and hot/cold tolerances for each state
- LCD readout showing cycle state (day/night/etc), internal temp+humidity, external temp+humidity so I don't need to open the box to get an idea of what's going on.
- extreme budget cabinetry. I suck so bad at anything involving wood.

Genetics
Got some seedlings cooking. Dutchgrown "Select Mix", Sam Skunkman (mixed) x (haze x skunk) freebies, and seeds from a buddy who grows just this strain for his serious back pain. The high is a little uninteresting, but I find it is amazing medicine for anxiety. I have some other genes I'll probably pop later.

picture.php

Here they are vegging in my veg box:

picture.php

As you can see, the LEDs are a decent distance from the plants and there's pretty much zero stretching. So far I'm very happy with the performance of the LEDs and the heating plate that is under the tray.

Progress shots of cab build
front: bedside drawer I found on the side of the road, with a sealed box built on top for electronics/electrical.
Front slides out for easy watering access.

picture.php


Floorplan
6x 1.5L (0.5 gallon) pots, 2x 1L, 2x ~700mL. To get 1gr/watt I'd need to pull 1/2oz. from each 1/2gal pot, 1/4oz from the 4 smaller ones. I reckon that's entirely do-able on a second round once I've got things worked out. Plants will be staked back against the walls so they can grow toward the HPS

picture.php


LEDs
3 of these bars, with 3 red Cree XPE and 4 royal blue Cree XPE, both brightest bin available. Heatsinks aren't breaking a sweat.

picture.php


Back
10" clearance from top of the pots to the bottom of where the LEDs will be. I'm using the LEDs for veg at the moment, they run at maybe 10°C above ambient at the very most. I can hold them and they're just barely warm after running for 20 hours with minimal ventilation, so no dramas when the plants grow into them.
HPS is directly above an low-powered intake fan that will be activated whenever the light is on.

picture.php

update - light it up
picture.php


Circulation fans will go at the top, blowing from the back towards the carbon bed at the front

Heating plate
currently in the veg box, but this is made to fit the slide-out floor of the microvert box

picture.php


Electronics & electrical compartment
Not wired up at all yet, just temp-wired the fan for air-leak testing. Microcontroller and relays will be on a board mounted above the carbon bed. Temperature readings of this space will be logged as well, with humidity absorbtion materials added to prevent corrosion of the electronics.

picture.php

update - finished microcontroller board
picture.php


Every 5 minutes, sensors are logging the following to CSV
- internal temp
- internal humidity
- intake temp
- intake humidity
- control room temp

Device wiring
This diagram shows how grow equipment being controller by the microcontroller are wired up. It doesn't show the various sensors or the SD card reader and independant clock used by the microcontroller.

picture.php


Environmental compensation
The microcontroller is set to attempt to compensate for temperatures that fall outside of a specified range. The "sunrise" period will have the LEDs active but not the HPS, this is to keep early morning temps down and reduce stretching. Sunset is lights out. The following diagram represents my intended flowering temperature ranges:

picture.php


If anyone has any suggested alterations to the above targets, I'm all ears :)

Soil
I've been brewing this soil for more than six months. Feeding it teas, amending it, growing green manure in it. It's partially recycled and absolutely packed with life. Currently growing some alfalfa in it which will get turned in before use. The seedlings are now in this mix and are loving it.

picture.php



Any specific questions or suggestions, hit me! :)

p.s. I will be releasing the source code once the new version has been running for a month or so. If anyone wants help setting up arduino monitoring stuff for their grow I'll help where I can. I'm a software dev for a living, but this is my first and only arduino/C++ project.
 

labtec

Member
This is going to be awesome. I like all of the custom wiring, and of course I love the vert aspect. I'm looking forward to seeing how this progresses.
 

bonsai

Member
Thank you gentlemen for your encouraging words. :tiphat:
As I have no smoke until next harvest, I'm damn keen to get the show on the road!
 

flonmofo

New member
Nice work. Ive wanted to use a one of these controllers (pcb..is that what u call em?) for a while for various things.

Where did you get your sensors from? are they easy to come by? i want to log so many things Im a DBA so i waaant moooore dataaaa! lol.

what info do you hope to pull logging what you are? just to see a general history?

i am literally fizzing at the bum hole thinking about this :D

...love your soil btw. cant wait to see this progress.
 

zymos

Jammin'!
Veteran
Nice! Believe it or not, I was just wondering last nite if any growers were using Arduinos...
 

Sgt.Stedenko

Crotchety Cabaholic
Veteran
Nice work. Ive wanted to use a one of these controllers (pcb..is that what u call em?) for a while for various things.

Where did you get your sensors from? are they easy to come by? i want to log so many things Im a DBA so i waaant moooore dataaaa! lol.

what info do you hope to pull logging what you are? just to see a general history?

i am literally fizzing at the bum hole thinking about this :D

...love your soil btw. cant wait to see this progress.

PCB is printed circuit board
I think you meant PLC (programmable logic controller). Allan Bradley is the major player in that market. Their software is pretty easy to use and understand.
 

bonsai

Member
Where did you get your sensors from? are they easy to come by? i want to log so many things Im a DBA so i waaant moooore dataaaa! lol.

sparkfun.com have all the parts you need. I would recommend the Arduino as your first microcontroller, there is a huuuuuge amount of beginner-focused material out there, and libraries for every sensor you can find. If you've ever used a language with a C-like syntax you'll be fine. 3 pin temperature sensors are very cheap and easy, humidity sensors less so. I've been through three types now, the longest lasted 30 days at one reading every 5 minutes.

I also keep a database of all plants and events (feeding, repotting etc). Plants and primary key which reflects their genetics and cuttings have a primary key that reflects their generation and the parent, starting with the parent's primary key. I know I shouldn't be indexing a varchar but I don't think I'll ever go through enough plants for it to become a problem
:yappy:

what info do you hope to pull logging what you are? just to see a general history?

Pretty much. eg: how much does humidity rise after top watering vs. sub-irrigation with wicks? What's the average difference between ambient temp/humidity and grow room temp/humidity in day and night? What's the temp differential between the control room and the grow space by the end of the day period?
Here's a sample graph from the first version. Please excuse the unix timestamp X-axis ;)

attachment.php



i am literally fizzing at the bum hole thinking about this :D
...love your soil btw. cant wait to see this progress.

Nice! Believe it or not, I was just wondering last nite if any growers were using Arduinos...

this is gonna be good! :lurk:


:thank you:
 
Cool setup! I'm looking forward to seeing how this turns out.

How'd you decide on the mix of red/blue LEDs? Any reason you'd want to run red OR blue but not both?
 

bonsai

Member
Cool setup! I'm looking forward to seeing how this turns out.

How'd you decide on the mix of red/blue LEDs? Any reason you'd want to run red OR blue but not both?

:thank you:

Check out this page regarding wavelength selection: http://hyperphysics.phy-astr.gsu.edu/hbase/biology/ligabs.html

Or for the Executive Summary version...

eye-wavelength-color-chart.jpg


Deep red and deep blue are the peak requirements, as you can see. I'm using these LEDs for veg and as accompaniment my HPS in flower. If you want to see what can be done with the Cree XPE diodes alone on a larger scale, check out "Walking in the Garden" in the Grow Diaries forum.

If I was only using the LED as accompaniment to the HPS and never on their own, I probably would have used a combination of cool white and royal blue alone, but that's not the case. I'm very much a beginner in LED technology, but I'll do my best to answer any questions or at least point you in a better direction if I can't answer. :wave:
 

eviltech

New member
Nice setup! subscribed. I'm planning a similar setup with the new arduino uno ethernet. Only thing holding me back is the programming.. Can't wait for the codes! =)
 
Last edited:

bonsai

Member
Cool man, I considered ethernet but this will live out in a shed and I don't have a computer running 24/7 at home so logging to SD card is more practical for me. The library I wrote for the core of this hasn't changed since the prototype, even though my setup and how I schedule has changed entirely, so I'm reasonably confident my library will be useful for you.

Damn USPS is taking foreeeevvver to ship me my new arduino uno (fried my decimela by drawing too much current from the 5V supply, can't fix as it's SMD. damnit!). Tracking says it's still sitting on the other side of the planet, in Denver.


Here's a preview of the library - http://pastebin.com/ghSXvMJF
And the sketch - http://pastebin.com/ZYrKJpuW
Don't use these yet, but have a read.

What sensors are you planning on using?
 

eviltech

New member
So far just a temp and humidity sensor ... I want to use the arduino to control and log the brightness of the leds. Start with dim light and increase the brightness until the optimal settings. As that happens, I want the fans to increase speed to take the heat out. Are you getting all the sensors from sparkfun?
 

bonsai

Member
So PWM from the arduino feeding a dimmer input on your LED driver(s)? If your talking about logging the brightness with any random LDR, you're going to get pretty hap-hazard results. LDRs aren't very exact in either their scale nor their tolerances. If you do go that route, get a name brand like a silonix NSL series. Not sure why you'd log the brightness when you're already programming the timing of the PWM dimmer. Is it to confirm the dimming is taking place?

Secondly, why make exhaust fan speed a function of light brightness instead of setting it up to respond to temperature rises? Or are the fans part of the LED enclosure?

My sensors are from various places, but all the ones I'm currently using are available at sparkfun.
 

eviltech

New member
Something like that... you think PWM will jack up the LED's life? Yes to confirm the brightness, but that seems like a waste of time now. lol

When you increase the brightness that would generate more heat? so why not just do it as a function.. i mean if temperature rises.. you already playing catch up to level out the temp?

So, I've been putting this led project off for a while. your arduino led cabinet is motivating me. I went out and bought one of these Gotta figure out how many leds i need.
 

bonsai

Member
Something like that... you think PWM will jack up the LED's life? Yes to confirm the brightness, but that seems like a waste of time now. lol
Oh dude I don't want to discourage you from any of your plans, I'm just a problem solving junkie - I always want to explore the details of any theory. RE: LED life, fuck it, go for max output. Who cares if they last 13 years instead of 10 if they're putting out less light.

When you increase the brightness that would generate more heat? so why not just do it as a function.. i mean if temperature rises.. you already playing catch up to level out the temp?

Yes and no. Yes, it will likely increase the junction temp of the diodes. But how much? Probably not a whole lot. More importantly, what about in the cooler months? You'll want every little bit of "free" heat your light can provide, won't you? Hence my suggestion of exhausting relative to the temperature of the space.
What humidity sensor are you planning on using? I used SHT series last time, one died in a week, the other lasted 30 days. I'm trying DHT ones this time.

Gotta figure out how many leds i need.
ALL OF THEM! :headbange
 

bonsai

Member
USPS have now had my replacement arduino in transit for 24 days. PISSED. OFF.

Ten day growth update...

I put in the 3rd LED bar, the seedlings are now being bathed in 50W of pinkish glowing warming glow.

picture.php


picture.php


The DGS plants are really racing ahead. Hopefully not because they're male.

The dutchgrown and the sam skunkman are a week younger than the others (bgaseeds from a buddy's grow), but the others copped some bad abuse early and are stunted as a result. Some of the others are showing some early P def with purple leaf tips, but I think that's more from abuse, cold, and an extra transplant rather than any legit lack of P in the soil so I'm going to leave it.
Besides, this first round is to find good mothers, picky plants can die for all I care.
 

Latest posts

Latest posts

Top