Nowadays, an irrigation system in Malaysia mainly uses an irrigation system manually. With this method, water consumption is rather wasted because each soil requires different quantities of water. Similarly, in terms of working on high energy consumption. The purpose of this research work is to upgrade it to the automatic irrigation system using a single board computer (SBC) which is Raspberry-Pi (RasPi). Thus, by upgrading the irrigation system to automatic, there are various pros and recovery can be achieved. Using an automatic irrigation system, farmers can save time and cost. Farmers are also able to control irrigation pumps automatically or by using cell phones or other electronic devices anywhere and anytime through web based. The system also uses soil moisture sensor to detect the humidity of soil. Each soil has a certain moisture level.