Log XYZ

Hi,

I have a cataloging mobile phone app (in progress) where labels are put on containers with a QR code encoding the id of the container. As I scan the QR Code I would like to get the relative (to a named point) XZY coordinates to centimeter accuracy. The Geolocation API (of the mobile app) does not have this accuracy. I think I need an external (Arduino based) sensor that gets the location at the point of the QR scan and communicates with the phone this information. I think I am looking for an IMU. Is this correct? Are there abstractions doing this sort of thing "off the shelf"? Are there any examples of the "location grabbing" and "communicating with mobile phonegap application"?

If I'm not on the right track please dont hold back...

Thanks,
Nic

An IMU can be used to keep a helicopter in the air.
I don't know if it would be useful for you.

Could you explain how and what you need at the moment you are scanning the QR-code ?

Connecting Arduino to a mobile phone can be done with Bluetooth.

how and what you need at the moment you are scanning the QR-code ?

an x y z location value to centimeter precision.

The origin can be arbitary.