Green house intelligent control system is designed to protect the plants from more cool and hot weather and additional control system is included to save power by making fans and lights automatically turn on and off with the help of intelligent control system. In this project, the intelligent control system is developed using microcontroller and sensors. Green house system has a very important use now a days in the agriculture field.Some plants need the specific amount of water for their proper growth and more productivity, therefore farmer should provide them the proper quantity of water. But it’s difficult for the farmer to get a estimation for quantity of moisture in soil. But in this project moisture sensor is used to to provide this facility with a intelligent control system.
- 0.1 Main functionality of project
- 0.2 Simulation :
- 0.3 Complete circuit diagram :
- 1 Code :
Main functionality of project
Block diagram below shows the main functionality of green house intelligent control system. Four sensors are used to measure different parameters of green house system which includes temperature sensor, light sensor, humidity sensor, moisture sensor. Four relays are used to control four respective loads as given below:
LM35 Temperature sensor :
When temperature becomes greater than 25 degree, respective relay become energize to operate the fan and when temperature becomes lower than 20-degree relay turn off the fan by getting control signals from microcontroller. PIC16F877A microcontroller analog to digital converter module is used to read temperature value and to operate relay which in turn operate the fan. To know more about temperature sensor and its working, go through the following article :
Light sensor :
Light dependent resistor is used as a light sensor. LDR is kind of variable resistor which resistance changes with the change in light intensity. So LDR resistance is converted into intensity of light by using LDR resistance and intensity of light formula. PIC16F877A microcontroller is used to measure intensity of light. When intensity of light fall under a certain limit, microcontroller provide signal to relay to turn on light and when intensity of light raise upto a certain limit , microcontroller provide signal to relay to turn off fan. So light sensor is used to add automatic light switching functionality in the green house system, if you don’t have much money to afford a gardener, then you can use green house intelligent control system to make your green house self-operating.
HS1101 Humidity sensor :
Humidity sensor is used to check level of moisture in air Because greater or less humidity level in air can also effect growth of plants. Humidity sensor HS1101 is used to measure level of moisture in air. HS1101 is a capacitative type humidity sensor, So additional circuit is used to convert change in capacitance of humidity sensor into frequency and frequency is measured with the help of microcontroller. Measured frequency is converted back into humidity using a algorithm in microcontroller programming. To know more about humidity sensor and its working, I suggest you to go through following article :
If humidity becomes greater than a specified limit, microcontroller gives a signal to respective relay to turn on sprinter which is used to maintain a humidity level in the air and when humidity level comes back to a normal limit, microcontroller gives a signal to respective relay to turn off sprinter.
Moisture sensor :
Moisture sensor is used to measure level in soil. A wire strip is used to measure moisture of soil. Wire strip has a specific resistance at specific moisture, but when moisture increases, the resistance of wire strip starts decreasing and similarly when moisture decreases, resistance become higher. PIC16F877A used to measure moisture level and to turn on and off water pump with the help of relay.
Block diagram of complete project is shown below:
For simulation purpose, I have connected four LED’s instead of real load to check project working and code. LCD is used to display digital values of temperature, light , humidity and moisture. LCD also display the status of devices either they are on or off. As shown in the figure below.
Simulation diagram with status of devices :
In simulation I have used variable resistor for wire strip and pulse having different frequencies for humidity sensor.
In above circuit diagrams :
L : for light
S : Sprint
F : for fan
P : for pump
T : for temperature
H : for humidity
M : for moisture
Complete circuit diagram :
Complete circuit diagrams of green house intelligent control system and sensors are shown below :
In above schematic of green house system, blue arrow shows connection for senors and back arrow shows relay and lcd connection point.
PCB diagram of schematic of green house system :
Applications and future advancements :
So this project can be easily used in any green house system to make to self-operated and automatic control of devices. You can also add extra functionality in this project by adding wireless communication to send values of sensors and status of devices to someone which is not at remote location.
Remember this is not a complete code, you can purchase complete code from me by contacting me at firstname.lastname@example.org 🙂