This document describes an automatic roof ventilation system for smart greenhouses using Arduino. The system uses sensors like a rain sensor, temperature and humidity sensor to monitor the greenhouse environment and control a servo motor to open and close the roof vents automatically. This helps regulate the temperature inside by balancing heat gain and loss. The system is designed to facilitate automated control and reduce manual labor while keeping costs low by using inexpensive components like an Arduino Uno microcontroller, sensors, servo motor and 3D printed enclosure.