Picture No. 1

Goal

The aim of this project is to grow the plants with no worries regarding the light or water.
This is how the procedure is being done;
Soil Moisture receives the data based on the code applied on Arduino UNO board. If the moisture is not enough the buzzer would reacts and rings to alert.
Addition to this, there is a light sensor placed which helps with the lack of light. If the plant did not meet the needed sun, the artificial light will turn on and help the plant to grow.
Overall, this system contains two sensors
of soil moisture and light, a buzzer, RGB
light and a LCD to stream the data.

Picture No. 2

These are some main parts of the code for the Setup:

// LDR pinMode
pinMode(ldrPin, INPUT);

// RGB pinMode
pinMode(redRgbPin, OUTPUT);
pinMode(greenRgbPin, OUTPUT);
pinMode(blueRgbPin, OUTPUT);

// Buzzer pinMode
pinMode(buzzerPin, OUTPUT);

In the loop also, there are many conditions allocated that are shown in the screenshot:

Picture No. 3