Smart agricultural machinery and low-cost precision agriculture