Using android phone as GPS for Arduino and Raspberry Pi projects