Skip to Main Content
A microcontroller control system of PIC18F4520 for the control of soil moisture and sunlight illumination of a vertical garden is designed and implemented in this work. The sensors of the implemented control system including the Zinc-Copper battery and the photodiode are selected from the conventional low-cost soil tester. The input resistance of the receiver circuit is designed to be as low as possible to keep the weak signals of the measured moisture and illumination from noise interference. The embedded functions of the micro-controller such as the analog-digital conversion, the low power precision timer and the sleep mode, are key factors in this application.