The Yocto-3D-V2-C is a USB 3-axis accelerometer, gyroscope and compass. If you need to detect an orientation, a movement or a magnetic field, the Yocto-3D-V2-C is what you need. This USB device provides a 3D accelerometer, a 3D magnetometer, a 3D gyroscope to measure angular velocity, a 2D inclinometer (tilt sensor), a tilt compensated compass and an inertial estimation of the orientation based on the 3D gyroscope.
All maths required to use this kind of sensors are handled directly by the device. You can mount it in any position, as the reference frame can be configured and taken into account internally by the Yocto-3D-V2-C. The device automatically computes tilt angles and the estimated device attitude (using a quaternion, with an optional conversion to Tait-Bryan angles in the API). No additional computation is required in the application to determine the device orientation.
You can move away the sensor part as required, in particular if you want to avoid electromagnetic interferences from other devices.
Caution: if you intend to use the compass function, you should not use classical Yoctopuce enclosures, as they include steel screws and magnets. Instead, use the YoctoBox-3D-Black/Transp enclosures, which do no include magnets.
If you are just interested in measuring tilt angles, you may want to have a look at the Yocto-Inclinometer
Contrarily to the Yocto-3D, this new version can perform auto-calibration to compensate for hard-iron interference caused by nearby sources of magnetic fields that move along with the sensor.
To Pokemon GO users: Yoctopuce products work only with applications specifically designed to use them. On an Android phone, the Yocto-3D-V2-C does not appear as a generic embedded gyroscope. If your Android phone doesn't feature any embedded gyroscope, the Yocto-3D-V2-C can't help you to play with Pokemon GO.
If you are just interested in measuring tilt angles, you may want to have a look at the Yocto-Inclinometer, which has a much better absolute precision.
USB cables and enclosures to be ordered separately.