Dstroy's NEW grow journal

dstroy

Well-Known Member
1/26/18

day 29 of flowering for the BB

day 23 since sprouting for the grape ape

aero res
pH 5.7
ppm 800 <==increased concentration
temp 68f

Still been steadily working on my user interface, it's got another solid day or three of work left to do on it before I can graft it into my other code. I've got to remove all the existing calls to serial.print in the greenhouse ino after setup. Then test it to make sure it doesn't "break" while I'm away.
 

Attachments

SSGrower

Well-Known Member
1/26/18

day 29 of flowering for the BB

day 23 since sprouting for the grape ape

aero res
pH 5.7
ppm 800 <==increased concentration
temp 68f

Still been steadily working on my user interface, it's got another solid day or three of work left to do on it before I can graft it into my other code. I've got to remove all the existing calls to serial.print in the greenhouse ino after setup. Then test it to make sure it doesn't "break" while I'm away.
That's how I ended up with a second complete control unit, needed a prototype board for testing. Too many oops, fuck, that didn't work, reload old program, back to drawing board.
 

dstroy

Well-Known Member
That's how I ended up with a second complete control unit, needed a prototype board for testing. Too many oops, fuck, that didn't work, reload old program, back to drawing board.
Prototyping is hardest for me, I like to make too many revisions. I try to keep testing and maintenance in mind when creating things.

I use my "test" mega, and make sure the loop keeps running even with everything disconnected, with certain things disconnected etc.

If all else fails the WDT resets the controller.

Next on my to do list after this is panic mode code, like if the power goes off right now it keeps spraying like if the lights are on (extended feeding times) which isn't necessary. My power failure solution is very simple.
 

SSGrower

Well-Known Member
Prototyping is hardest for me, I like to make too many revisions. I try to keep testing and maintenance in mind when creating things.

I use my "test" mega, and make sure the loop keeps running even with everything disconnected, with certain things disconnected etc.

If all else fails the WDT resets the controller.

Next on my to do list after this is panic mode code, like if the power goes off right now it keeps spraying like if the lights are on (extended feeding times) which isn't necessary. My power failure solution is very simple.
Dont the solenoids default to closed when powered down? Or are they mechanically latched?

Edit thinking about your set up this is probably it - your battery backup powering them?
 

dstroy

Well-Known Member
Dont the solenoids default to closed when powered down? Or are they mechanically latched?

Edit thinking about your set up this is probably it - your battery backup powering them?
Yes battery backup. No, they’re NC. But if the lights aren’t on, there’s no reason to spray them for as long as when they are, because the vpd is usually lower because temperature decreases after lights out. I could write some code that controls feeding times based off of vpd but I don’t want to do that because I would rather have some code that detects power loss and then does minimal survival stuff.
 

SSGrower

Well-Known Member
Yes battery backup. No, they’re NC. But if the lights aren’t on, there’s no reason to spray them for as long as when they are, because the vpd is usually lower because temperature decreases after lights out. I could write some code that controls feeding times based off of vpd but I don’t want to do that because I would rather have some code that detects power loss and then does minimal survival stuff.
Although I have gone more than 24 hrs without power before, it hasent happened in a few years, since excel replaced a major line in the area, but it still flickers and knocks the power out for a second then comes back on, thats the point behind those delays I wrote into my code.

Guess I lied when I saidmI wasnt going to be upgradidng system, need to work on code for hacked humidifier so the arduino can control thanks to another user that posted their homemade nebulizer.
 

dstroy

Well-Known Member
Although I have gone more than 24 hrs without power before, it hasent happened in a few years, since excel replaced a major line in the area, but it still flickers and knocks the power out for a second then comes back on, thats the point behind those delays I wrote into my code.

Guess I lied when I saidmI wasnt going to be upgradidng system, need to work on code for hacked humidifier so the arduino can control thanks to another user that posted their homemade nebulizer.
Have you looked at “blink without delay”? I use code like that extensively to “fall through”(?) my code. I’ve got v2 of my program mostly done, be been running it since yesterday. Just going through and reformatting the indents and such to make it easier to read.

I learned something yesterday that I didn’t know, when you declare an integral ie a “number” ex thisnum = 1000 * 60; the compiler assigns 1000 and 60 to the int type. This will overflow and return a negative number even if thisnum is an unsigned long. You have to force the compiler to treat it as a long by including “L” after the integral ex 1000L.
 

SSGrower

Well-Known Member
Have you looked at “blink without delay”? I use code like that extensively to “fall through”(?) my code. I’ve got v2 of my program mostly done, be been running it since yesterday. Just going through and reformatting the indents and such to make it easier to read.

I learned something yesterday that I didn’t know, when you declare an integral ie a “number” ex thisnum = 1000 * 60; the compiler assigns 1000 and 60 to the int type. This will overflow and return a negative number even if thisnum is an unsigned long. You have to force the compiler to treat it as a long by including “L” after the integral ex 1000L.
I was having troubles getting some of my calculations to speed up and slow down time to work, the math was right on paper but something caused it not to work. When I Changed the variable type from int to float, the functions worked but the info output via serialprint only updated every 7 seconds or so (would repeat the same time several cycles through the loop then update). I get the sense if I try this L thing and go back to int it will correctly resolve the issue.

Looking at blink without delay now, I think I saw this when I first started, thanks for bringing me back to it.
 

dstroy

Well-Known Member
I was having troubles getting some of my calculations to speed up and slow down time to work, the math was right on paper but something caused it not to work. When I Changed the variable type from int to float, the functions worked but the info output via serialprint only updated every 7 seconds or so (would repeat the same time several cycles through the loop then update). I get the sense if I try this L thing and go back to int it will correctly resolve the issue.

Looking at blink without delay now, I think I saw this when I first started, thanks for bringing me back to it.
yeah it's pretty nit picky (the compiler using int type for integrals) but it does it to save program space I think? I noticed a decrease in program space after I changed them, and that's all I did.
 

dstroy

Well-Known Member
1/31/18

day 34 of flowering for the BB

day 28 since sprouting for the grape ape

aero res
pH 5.7
ppm 720 <== diluted
temp 68f

Diluted on purpose, res change today

GA#6 has female preflowers (hopfully not a herm)
GA#1,2,4 have identical structure to GA#6 so I hope they're female too

GA#4 is a dude, waiting a couple days for it to get bigger so I can take a pic

I emailed aurorawindsbotanical but have not heard back from them, so if I were you I'd stay away. These grape ape were supposed to be fem seeds.

popped one DVG humble pie that I got from GPS, currently in a paper towel. Soaked it overnight and then put it in the towel, this is day 3 and the taproot popped out, I’ll put it in a netcup and wait for the taproot to get long enough for me to put it in a seedling collar

I got two more packs comin, orange blossom special and night rider
 

Attachments

Top