The goal of this project is to create an automated system that uses the Internet of Things (IoT) to monitor and regulate greenhouse conditions. This technology has been growing rapidly in many areas and is used to control various automated systems. The project is divided into three sections. In the first section, we install an Arduino Mega 2650 development board and a range of sensors, including temperature, humidity, and light sensors. Additionally, we incorporate various actuators, such as those for ventilation, servo motors for the doors, light, a hotplate, and LEDs, to fulfill the project requirements. In the second section, a NodeMcu development board is augmented by adding the soil moisture sensor and ultrasonic sensor, as well as a water pump as an actuator, to automate the irrigation system. Finally, an online IoT platform is used to develop a dashboard to remotely monitor and control the greenhouse parameters and actuators, such as light, ventilation, hotplates and water pump, in automated or manual mode. The proposed model has been created and tested, and the results reveal that the detected parameters have improved significantly. The Arduino Mega 2650 and the NodeMcu V3 used in this project are configured to regulate the environmental conditions according to the specified values.