A few people asked me if they can have the source code files to following project:
http://scientificcomputingco.blogspot.com/2013/02/automatic-greenhouse-control-system.html
The code files can be found here:
https://www.dropbox.com/sh/ip306uavm7jpekg/xQuoUjSmEJ/Green%20house%20control
Unfortunately there comes little to no documentation with the file, thus one have to dig through the source code files to understand the program.
You can contact me for further questions.