You are on page 1of 1

Discussion

In the coding, delay time for 250 ms is added at the end of the
infinite loop to prevent the output to BJT become high frequency
pulse that cannot active BJT.
Flyback diode is connected parallel with motor to prevent voltage
spike produced when current flow through inductance motor
decreased suddenly to spoil other components.
Motor cannot be connected to PIC because the voltage spike and
back emf will spoil the PIC.
Output of sensor is connected to RA0 because it can convert Analog
signal to digital signal.
After received signal of temperature from ADC, it is need to be
processed by multiplying 0.4888 to get the actual value in Degree
Celsius.

Conclusion
The project build miniature greenhouse that equipped with
automatic monitoring and controlling system. A favourable environment
for the crop in order to reach predetermined results for high yield, high
quality and low costs is created. Lastly, the project is an intelligent method
for greenhouse temperature control considering the environmental
aspects.

You might also like