Greenhouse control apparatus based on microcontroller

A greenhouse control device based on a single chip machine comprises a greenhouse actuating mechanism. The greenhouse control device comprises a ventilation system, a heating system, a sun-shading system, a wet curtain fan system or an irrigation system, also comprises a parameter detection device for collecting the parameter in the greenhouse and a single chip machine for controlling the greenhouse, wherein the parameter detection device includes a temperature sensor, a humidity sensor or a luminance sensor; the single chip machine includes a data base for storing the expert knowledge of special crop growth or livestock and poultry breeding, a man machine operation for setting parameters and selecting crops or livestock and poultry varieties, a greenhouse parameter control module for sending a start command to the actuating mechanism with corresponding parameters according to the control mode of the expert knowledge based on the received signals from the parameter detection device; and the output of the greenhouse parameter control module connects to the greenhouse actuating mechanism. The greenhouse control device of the utility model improves productivity effect with high control precision, reduces cost, and effectively satisfies the demands of greenhouse crop growth or livestock and poultry breeding.