Control Eng Project Finalsss
Control Eng Project Finalsss
VISION: A premier Science and Technology university for the formation of a world-class and virtuous human resource for
sustainable development in Bohol and the country
MISSION: Committed to provide quality higher education in the arts and sciences, as well as in professional and technological
fields; undertake research and development and extension services for sustainable development of Bohol and the
country
CONTROL ENGINEERING
MEMBERS:
BADAYOS, ALDRIN
BENEDECTO, NED RYAN
DELA CRUZ, DAVID
DELFIN HANCEL HENLEY AMMAR
GAMELO, KARLOS GABRIEL
DECENILLA, JAMES
DECEMBER 2024
INTRODUCTION
smart systems that improve crop growth, reduce resource waste, and enhance
sustainability.
to provide a stable and ideal environment for plants. The system is equipped with
temperature and light intensity. When the internal temperature rises above a predefined
threshold, the system automatically activates a fan or blower, ensuring proper ventilation
and cooling to prevent heat stress on plants. Likewise, when natural sunlight diminishes
This integration of automation minimizes the need for manual adjustments, allowing
and optimal conditions, the system not only enhances plant productivity but also
climate change and increasing food demand, innovations like this automated greenhouse
system demonstrate how technology can provide effective and scalable solutions.
MATERIALS AND APPARATUS
Arduino UNO
digital I/O pins, 6 of which can be used for PWM outputs and another 6 for analog inputs;
Jumper wires
prototype/test circuit, or for connecting with other equipment or components without the
yet effective design, which relies on the well-known relationship between an applied force,
SERVO MOTOR
position) to control its motion and final position. The input to its control is a signal (either
in an electronic circuit. Resistors can also be used to provide a specific voltage for an active
EXHAUST FAN
exhaust fan is a mechanical device designed to remove stale, hot, or humid air from
an enclosed space and replace it with fresh air, improving ventilation and maintaining a
amount of moisture (humidity) in the air. It provides data to maintain desired humidity
LCD SCREEN
An LCD screen (Liquid Crystal Display) is a flat-panel display technology that uses
liquid crystals and a backlight to produce images. It is commonly used in devices like
monitors, televisions, and digital displays to present text, graphics, or video with low power
A light sensor is a device that detects and measures the intensity of light in its
controlling lighting systems, and optimizing energy usage in automated systems like
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
#include <DHT.h>
#define DHTPIN 2
#define DHTTYPE DHT11
#define FANRELAYPIN 3
#define LIGHTRELAYPIN 4
#define LDRPIN A0
void setup() {
Serial.begin(9600);
dht.begin();
pinMode(FANRELAYPIN, OUTPUT);
pinMode(LIGHTRELAYPIN, OUTPUT);
digitalWrite(FANRELAYPIN, LOW);
digitalWrite(LIGHTRELAYPIN, LOW);
lcd.begin(16, 2);
lcd.backlight();
lcd.print("System Ready");
delay(2000);
lcd.clear();
}
void loop() {
float humidity = dht.readHumidity();
float temperature = dht.readTemperature();
int lightLevel = analogRead(LDRPIN);
if (isnan(humidity) || isnan(temperature)) {
Serial.println("Failed to read from DHT sensor!");
lcd.clear();
lcd.print("Sensor Error!");
delay(2000);
return;
}
lcd.setCursor(0, 0);
lcd.print("Temp: ");
lcd.print(temperature);
lcd.print("C");
lcd.setCursor(0, 1);
lcd.print("H: ");
lcd.print(humidity);
lcd.print("% ");
lcd.print(lightStatus);
Serial.print("Temp: ");
Serial.print(temperature);
Serial.print("%, Humidity: ");
Serial.print(humidity);
Serial.print("%, Light: ");
Serial.println(lightStatus);
delay(2000);
}}
PROCESS OF THE CONTROL SYSTEM
+--------------------------+
| User Input (Serial Monitor) |
+--------------------------+
|
v
+---------------------------+
| Arduino Microcontroller |
+---------------------------+
|
v
+---------------------------+
| Convert temp to Dispense Time |
+---------------------------+
|
v
+--------------------------------+
| Check if Container is Present |
| (Load Cell Detection) |
+--------------------------------+
|
Container Detected
|
v
+-----------------------------+
| Activate Servo for Fan rotation|
+-----------------------------+
|
v
+------------------------+
| Dispense temperature |
+------------------------+
|
v
+-------------------------+
| Stop Servo After Time Elapsed |
+-------------------------+
|
v
+-----------------------+
| Output: Dispensing Complete |
+-----------------------+
PROJECT DESIGN IN SYSTEM
DOCUMENTATION
SUMMARY AND CONCLUSIONS
The primary goal of the system is to ensure that when the greenhouse temperature exceeds
a predefined threshold, the exhaust fan automatically activates to expel hot air and maintain
a stable temperature. Additionally, as natural sunlight diminishes during the night, an
artificial lighting system automatically turns on to simulate sunlight, enabling uninterrupted
photosynthesis. These automated responses are made possible through continuous
monitoring by temperature and light sensors, which provide real-time data to the Arduino
controller.
To optimize the system's functionality, we focused on designing clear logic for environmental
control. The sensors detect the conditions, the Arduino processes this data, and the
connected devices (fan and lighting) operate accordingly