In today's society, keeping our gardens attractive is complex, especially if you need more time to care for them. This can cause the plant to wilt if it is not watered occasionally to keep the soil moist. In summer, this problem tends to get worse because the temperature tends to rise and reach high degrees. The objective is to design an automatic and manual irrigation system with a humidity detector through hardware programming and free software to solve this. The necessary components will be identified and selected, humidity thresholds will be established, and the adoption of technologies such as internet of things (IoT), Arduino, and humidity sensors will be promoted to solve the problem in automated irrigation systems. The technical specifications of the components are described, and the circuit design is presented. A programming algorithm will be developed to control the frequency and duration of irrigation, as well as the state of the water pump. Implementing the automated system will allow precise water supply control, contributing to the healthy growth of plants and crops in green areas.