With the help of a smartphone and a sensor on the cow determine the location of the cow. Smart farming.