Update!
Update!
Hardware
Old Arduino Duemilanove got updated to Arduino Mega 2560. Same power, more space for software (250kB vs. 30kB) and more RAM. But more importantly, whole lot more of I/O pins, meaning, more devices to control, and talk with.
Down are the 8 relays for device control, each rated 250V / 10A. Tested using old CRT monitor and worked nice. Waiting to test on the actual patient. Sadly can't do it yet. Tried connecting wires to relays and it got so HEAVY, some came off. Not good when using 230 Volts.
Piece of Software
Snip of software. Precisely configuration for devices.
Now and Next
So the controller is off the cabinet. Didn't really feel like driving it as messy as it was. And got the new hardware, so had to do some testing and coding.
Now waiting two-three weeks for new parts and then hopefully able to mount it all to action. Should be beautiful.
Most development since last update done in Software department. Old "protocol" was just ugly lines of data, whereas now I get XML. In clean format all the sensory information, all logic results (eg. temperature high), device statuses, device timers etc. Also able to configure most of these. Doesn't save them into memory yet.
I don't know what's wrong with me, but I just want to make something so perfect it can't be bettered any further And for some reason it feels really twisted to have cabinet in which I grow Cannabis, and which is controlled by 16MHz processor, running some C code and outputing data in modern XML format. And me thinking how to best implement fuzzy logic into the equation It just doesn't add up!
That's an interesting topic, btw. Fuzzy logic.
As earlier shown, humidity reversily correlates with temperature. Therefore, more humid, "lower" the temperature. In fuzzy logic this is taken into account when making decision if temperature is high or not. I can run higher temperatures in high humidity environment, and if I had CO2, I could run even higher. Programming this kind of logic is if not too challenging, at least very interesting. Then there are something called neural networks..
But my thoughts are flying again. Well, hopefully somebody enjoyed At least some ideas for possible fellow hardware slash software engineers slash growers.
Ps. Oh, and got my moisture sensor! At the moment giving me a reading of 249! Which means.. absolutely nothing. 0 should be soaking wet, and 1023 bone dry. So, when leaves wilt, I take a reading for too-dry calibration.
Update!
Hardware
Old Arduino Duemilanove got updated to Arduino Mega 2560. Same power, more space for software (250kB vs. 30kB) and more RAM. But more importantly, whole lot more of I/O pins, meaning, more devices to control, and talk with.
Down are the 8 relays for device control, each rated 250V / 10A. Tested using old CRT monitor and worked nice. Waiting to test on the actual patient. Sadly can't do it yet. Tried connecting wires to relays and it got so HEAVY, some came off. Not good when using 230 Volts.
Piece of Software
Snip of software. Precisely configuration for devices.
Now and Next
So the controller is off the cabinet. Didn't really feel like driving it as messy as it was. And got the new hardware, so had to do some testing and coding.
Now waiting two-three weeks for new parts and then hopefully able to mount it all to action. Should be beautiful.
Most development since last update done in Software department. Old "protocol" was just ugly lines of data, whereas now I get XML. In clean format all the sensory information, all logic results (eg. temperature high), device statuses, device timers etc. Also able to configure most of these. Doesn't save them into memory yet.
I don't know what's wrong with me, but I just want to make something so perfect it can't be bettered any further And for some reason it feels really twisted to have cabinet in which I grow Cannabis, and which is controlled by 16MHz processor, running some C code and outputing data in modern XML format. And me thinking how to best implement fuzzy logic into the equation It just doesn't add up!
That's an interesting topic, btw. Fuzzy logic.
As earlier shown, humidity reversily correlates with temperature. Therefore, more humid, "lower" the temperature. In fuzzy logic this is taken into account when making decision if temperature is high or not. I can run higher temperatures in high humidity environment, and if I had CO2, I could run even higher. Programming this kind of logic is if not too challenging, at least very interesting. Then there are something called neural networks..
But my thoughts are flying again. Well, hopefully somebody enjoyed At least some ideas for possible fellow hardware slash software engineers slash growers.
Ps. Oh, and got my moisture sensor! At the moment giving me a reading of 249! Which means.. absolutely nothing. 0 should be soaking wet, and 1023 bone dry. So, when leaves wilt, I take a reading for too-dry calibration.
Last edited: