Website in the process of migration. Original site located at https://sites.google.com/site/ryanpatricksnyder0
My code was initially setup to read the humidity value from the DHT11 sensor (humidity and temperature sensor) and if it was above 75% relative humidity I would activate the solenoid in the 4-channel relay to switch 'on' the fans. This seemed to work well enough to at least keep water from sitting on the leaves of the plants and to dry areas of the rocks that would otherwise sprout algae. It was very difficult to actually reduce the humidity of the air because there is really no where for the air to go so it just re-circulates around inside the greenhouse. Using the DHT11 sensor I was able to find a dew point temperature so a future project is to make a condensing unit to recycle some of that water and reduce the humidity. A very primitive idea was to run a PVC tube outside the greenhouse that I could circulate air through with long bolts running through the PVC. The bolts would theoretically act as heat sinks that could condense some water out of the greenhouse air, though I doubt it would be substantial and I haven't done any calculations.