Arduino Questions

Budget Buds

Well-Known Member
Ok guys and gals, I'm totally ignorant when it comes to these things but I see posts about people using arduinos to control there grow rooms, Is it possible to use one for individual temp readings for 4 cobs, one room, One humidity , One timer for the cob light, one for the 730mn flower initiators and one co2 meter? A total of 9 sensors one one board?
 

goofy81

Well-Known Member
Sure, but if the sensors use too much power, you might have to use external 5v (not sure how much mA the 5pin can provide).
Also, are you planning to plot or anything?
For individual heatsink readings, that's a lot of wires and will get messy..
Where do you want to have the readings displayed? Oled, computer screen? Etc..
For light timers, I actually prefer analog/mechanical electrical timer relays. Easier to use, faster to set, fun to put in enclosure boxes and looks
 

Budget Buds

Well-Known Member
Sure, but if the sensors use too much power, you might have to use external 5v (not sure how much mA the 5pin can provide).
Also, are you planning to plot or anything?
For individual heatsink readings, that's a lot of wires and will get messy..
Where do you want to have the readings displayed? Oled, computer screen? Etc..
For light timers, I actually prefer analog/mechanical electrical timer relays. Easier to use, faster to set, fun to put in enclosure boxes and looks
No I didnt plan on any data logging, Just want to be able to have a one stop shop for info on my room. An lcd type screen is all I was thinking:) I have no idea about how to go about doing this at all, I mean baby just born type inexperienced. As for all the wires for the cobs, Isnt there just a sensor that only has one lead that I can mount to my heat sinks or is it two/three plus? Any help is a big plus and I really appreciate it
 

MeGaKiLlErMaN

Well-Known Member
Sure, but if the sensors use too much power, you might have to use external 5v (not sure how much mA the 5pin can provide).
Also, are you planning to plot or anything?
For individual heatsink readings, that's a lot of wires and will get messy..
Where do you want to have the readings displayed? Oled, computer screen? Etc..
For light timers, I actually prefer analog/mechanical electrical timer relays. Easier to use, faster to set, fun to put in enclosure boxes and looks
Goofy did you post your setup/how to make it? At least the controller side of things
 

dstroy

Well-Known Member
Ok guys and gals, I'm totally ignorant when it comes to these things but I see posts about people using arduinos to control there grow rooms, Is it possible to use one for individual temp readings for 4 cobs, one room, One humidity , One timer for the cob light, one for the 730mn flower initiators and one co2 meter? A total of 9 sensors one one board?
Cozir makes a sensor that does temp, humidity, and co2. That sensor is expensive, $119. Regular humidity and temp sensor made by dallas semiconductor are cheap. You only need the CO2 sensor if you are enriching with CO2, knowing how much CO2 is in your room without enrichment isn't going to help you. You can buy an arduino, a display, and the sensors for temp/humidity for under $100. I posted code in my grow journal that you can copy if you want. I didn't know how to code before I started building a control box for my grow room, it's kinda relaxing researching and figuring all this stuff out.
 

goofy81

Well-Known Member
Each sensor requires at least 3 wires, 2 for power and 1, sometimes 2 for the data reading.
If it's just for having a look (no logging) then id just get the cheap eBay hygrometers

Here's a photo of how my arduino was setup (a lot more wires now).

I was going to build a pump feed timer with arduino, hooked up to a pot scale. But for now, I'm really liking cycle timers.

They just look so cool and are super fast to setup. I actually bought two so I can have one mix and aerate my nutrient tank a minutes before it starts feeding!
 

Attachments

Budget Buds

Well-Known Member
I want to learn about how to do it but I also would like to be able to have one thing for all of it , I would make an exception for the timers I suppose . I guess the best thing to do would be just buy one and start playing with it then, What one would you guys recommend for me to do what I wanted it to?
 

dstroy

Well-Known Member
Each sensor requires at least 3 wires, 2 for power and 1, sometimes 2 for the data reading.
If it's just for having a look (no logging) then id just get the cheap eBay hygrometers

Here's a photo of how my arduino was setup (a lot more wires now).

I was going to build a pump feed timer with arduino, hooked up to a pot scale. But for now, I'm really liking cycle timers.

They just look so cool and are super fast to setup. I actually bought two so I can have one mix and aerate my nutrient tank a minutes before it starts feeding!
I use my arduino as a regular timer for my lights, and as a recycling timer for my HPA solenoids and accumulators. It controls everything.
 

goofy81

Well-Known Member
I recommend everyone to definitely get some type of pot scale if you're going arduino (cheap digital scale + HX711 is all you need). So easy to see runoff and get the right amount of juice in. As you can see, either my plants are drinking lights off, or it's just slow evaporation.
And the dip straight after feed shows the runoff nicely. Would be interesting to
Screenshot_2016-12-15-16-46-46.png
 

qballizhere

Well-Known Member
I want to learn about how to do it but I also would like to be able to have one thing for all of it , I would make an exception for the timers I suppose . I guess the best thing to do would be just buy one and start playing with it then, What one would you guys recommend for me to do what I wanted it to?
There is a lot of info on beginning with arduino and you can get a small kit to start playing with under $100 and that will have a few things you could use in the controller. Start with the uno and go from there.
 

sixstring2112

Well-Known Member
I want to learn about how to do it but I also would like to be able to have one thing for all of it , I would make an exception for the timers I suppose . I guess the best thing to do would be just buy one and start playing with it then, What one would you guys recommend for me to do what I wanted it to?
@VegasWinner may be able to help here
 

VegasWinner

Well-Known Member
Ok guys and gals, I'm totally ignorant when it comes to these things but I see posts about people using arduinos to control there grow rooms, Is it possible to use one for individual temp readings for 4 cobs, one room, One humidity , One timer for the cob light, one for the 730mn flower initiators and one co2 meter? A total of 9 sensors one one board?
The arduino has a max of 8 pwm channels. The cobs will need four, the CO2 sensor gets one plus input pins, you can use a dht22 for temp/humidity that uses input pins too. your biggest hold back is memory. You may have to go to a mega to get additional memory and pins. there is a thred on billies hydroponic controller and he uses a mega. I have an 8 channel controller, but I use just an uno. I also did a freebie of a 6 channel pwm driven unit. check it the code on my github page AvidLerner/GrowGreen.ino hope thisi helps. namaste
 

VegasWinner

Well-Known Member
throw your arduino in the trash, get a raspberry pi 3 and hack in python. check out openHAB like @VegasWinner is using.
true. here are some screen shots with just an rpi3, a 250GB HDD and three GPIO pins running three relays that each can run 8 relays for a total of 24 relays, to run 3 banks of 8-200w 1600w per bank for a total of 4800w
 

Attachments

dstroy

Well-Known Member
true. here are some screen shots with just an rpi3, a 250GB HDD and three GPIO pins running three relays that each can run 8 relays for a total of 24 relays, to run 3 banks of 8-200w 1600w per bank for a total of 4800w
cool, I use regular 5v relays controlled by the arduino to switch 4 2-pole 30A contactors (they control the lights and environmentals). I have another program that isn't as stable as the one in my grow journal that uses the arduino to control the garden and an rpi3 as a webserver. I also have a gsm module that I've got working on my test platform and some pressure sensors to add to the box (texts me if there's a problem).
 

Budget Buds

Well-Known Member
The arduino has a max of 8 pwm channels. The cobs will need four, the CO2 sensor gets one plus input pins, you can use a dht22 for temp/humidity that uses input pins too. your biggest hold back is memory. You may have to go to a mega to get additional memory and pins. there is a thred on billies hydroponic controller and he uses a mega. I have an 8 channel controller, but I use just an uno. I also did a freebie of a 6 channel pwm driven unit. check it the code on my github page AvidLerner/GrowGreen.ino hope thisi helps. namaste
So I would need a mega to run what I wanted to? I'm going to x the co2 meter , I decided against running co2 in the tent since I'm going to be using a new light and I dont know if I'm going to need it yet.
 

dstroy

Well-Known Member
So I would need a mega to run what I wanted to? I'm going to x the co2 meter , I decided against running co2 in the tent since I'm going to be using a new light and I dont know if I'm going to need it yet.
If all 4 cobs are powered by one led driver, or even two, you only need an uno. In my grow journal there is a schematic for a dimmer that turns pwm into analog 0-10v (works great for meanwell drivers that have a "b" at the end (3 way dimming circuit)). And that's only if you want to DIM them (even then an uno is fine), if you just want on/off an uno will work fine. You'll need some relays and a couple contactors (contactors are just special relays designed for switching high current mains). You'd still be able to monitor the temp of all 4 heatsinks with an uno, and control your lights and more if you want.

EDIT: the reason you don't want to use those tiny arduino relays even though they're rated for 10A at 120v is because the traces on the PCB get really hot if you're switching mains above 2A, it's pretty well documented. So you use those relays to switch a larger contactor, preferrably one that is UL or CE listed for safety.
 
Top