Correct temperature is very important for healthy plant growth. Here is a very useful project from arduinogetstarted.com for a fan controller. Here is the link if you want to make it a heating element controller. The code has a temperature high and low threshold or differential. This prevents the fan or heating element from turning on and off in rapid succession potentially damaging it.

