The purpose of this study was to control the factors that are responsible for plants growth in hydroponics systems and automate them to reduce the human effort with less space and electricity. In this paper we used a combination of two methods: Deep water culture and Nutrient film technique for the system. In this method plants will have continuous nutrient supply. We used a linear regression method to control EC and pH of the system and the microcontroller will send signals to the system