Skip to content

3.System Design

Hardware Architecture

The system is constructed using an ESP32 micro controller, which is connected to sensors:

1-Digital Humidity and Temperature sensor (DHT11) measures temperature with a range of 0 – 50 C and humidity connected with resistor of 10kΩ.

2- light dependent resistor (LDR) measures the level of the brightness connected with resistor of 10kΩ.

3- Capacitive soil moisture sensor to measure the percentage moisturization of the soil.

4- A 2x16 Liquid Crystal Display (LCD) screen connected to an Inter-Integrated Circuit (I2C) adapter is used to display the readings for the user.

5- System powered by 4.5V battery.

Software Architecture

The hardware components have been integrated with software features using AWS technologies, as shown in Figure 4. AWS IoT Core connects with the hardware via the MQTT protocol using port 8883 to publish data to AWS. The published data is stored in the TimeStream database, which is connected with Grafana Labs to create a visualized dashboard. These dashboards are embedded in a website hosted on AWS Amplify, allowing users to view readings from the hardware sensors.

Web Application

The web application provides users with the capability to view the recent measurement on the home page. Additionally, it includes separate pages for each condition (Temperature, Humidity, Brightness and Soil Moisture). These pages contain historical readings from the respective sensors in the form of an interactive line chart dashboards and tables, displaying the date, time, and readings. Furthermore, the website contains a page that provides the user with tips on taking care of the plant’s health.


Last update: November 4, 2024