DESIGN AND ANALYSIS OF A SMART IRRIGATION CONTROL SYSTEM