Log XYZ

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.