The Yocto-3D 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 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. 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 interference from other devices. Note that contrarily to the newer Yocto-3D-V2, this product CANNOT be calibrated to compensate for magnetic interference.

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.

To Pokemon GO users: Yoctopuce products work only with applications specifically designed to use them. On an Android phone, the Yocto-3D does not appear as a generic embedded gyroscope. If your Android phone doesn't feature any embedded gyroscope, the Yocto-3D 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

This device can be connected directly to an Ethernet network using a YoctoHub-Ethernet, to a WiFi network using a YoctoHub-Wireless-n and to a GSM network using a YoctoHub-GSM.

Yocto-3D Yocto-3D Yocto-3D

USB cables and enclosures to be ordered separately.

CHF 51.35

   Add to cart


Product ID:Y3DMK001
Product name:Yocto-3D
USB connector:micro-B
Sensor:LSM303D + L3GD20
Gyroscopic attitude estimation:95Hz
Static measures:7Hz
Measuring range (Accel.):16g
Measuring range (Gyro):2000░/s
Measuring range (Magn.):2gauss
Sensitivity (Accel.):0.001g
Sensitivity (Gyro):0.1░/s
Sensitivity (Magn.):0.001gauss
Protection class, according to IEC 61140:class III
Normal operating temperature:5...40░C
Extended operating temperature1:-30...85░C
Supported Operating Systems:Windows (PC + IoT), Linux (Intel + ARM), macOS, Android
Drivers:Driverless, no driver needed
API / SDK / Libraries:C++ Obj-C C# VB.NET UWP Delphi Python Java Android LabVIEW
API / SDK / Libraries (TCP only):Javascript Node.js PHP
RoHS compliance:RoHS II (2011/65/UE)
Suggested enclosure:YoctoBox-3D-Black
Harmonized tariff code:9032.9000
Made in:Switzerland

1 The extended temperature range is defined based on components specifications and has been tested during a limited duration (1h). When using the device in harsh environments for a long period of time, we strongly advise to run extensive tests before going to production.

Accessories and related products

YoctoBox-3D-Black, Enclosure for Yocto-3D, black base.USB-A-MicroB-50, USB 2.0 type A to Micro-B data cable, 50 cmYocto-Inclinometer, High precision USB inclinometer

Related articles and application examples


User manual (HTML)
User manual (PDF)
Product brief
3D file (STEP)
RoHS certificate
Most recent firmware45886 (08/06/2021)
Programming libraries60664 (04/22/2024)
Command line API60664 (04/22/2024)
VirtualHub application59547 (02/28/2024)

Add a comment 14 comments

1 - mr. k Monday,july 18,2016 3H13

Can I get in contact with you somehow? I have some good news for you!

2 - martinm (Yocto-Team)Monday,july 18,2016 5H23

Mr K, You can contact the Yoctopuce support. Since I'm pretty sure of what you are about to ask, no, the Yocto-3D will not work with Pokemon GO because it will not appear as a generic embedded gyroscope on your Android phone. Yoctopuce products work only with applications specifically designed to use them.

3 - harshit kasera Wednesday,july 20,2016 11H36

this will work with our phone for watching 360 and vr videos by cardboard?

4 - martinm (Yocto-Team)Wednesday,july 20,2016 11H55

@harshit kasera: only if your VR player has support for the yocto-3D, which is unlikely.

5 - jordan Monday,december 05,2016 15H36

Is there a way to easily take in compass readings from this device into Matlab?

6 - mvuilleu (Yocto-Team)Monday,december 05,2016 17H56

@jordan: Unfortunately not, so far we don't have any efficient Matlab integration. The best you can do is use our command line library, but that will not be fast.

7 - rg95 Wednesday,january 25,2017 17H43


is there a conda package for the libraries (in my case for cpp)?

8 - seb (Yocto-Team)Thursday,january 26,2017 9H01

@rg95: Sorry, but we do not have any conda package for our libraries.

9 - nrdvana Tuesday,april 16,2019 7H34

Do you have any examples for how to combine Yocto-3D with Yocto-GPS to get higher frequency and better precision GPS coordinates? i.e. using a Kalman Filter?

10 - mvuilleu (Yocto-Team)Tuesday,april 16,2019 9H07

@nrdvana: We have made some experiments offline in a previous blog post: https://www.yoctopuce.com/EN/article/accelerometers-and-gyroscopes-fantasy-vs-reality . We have never tried a live multisensor approach using a Kallman filter, but I suspect it would not be that easy. Augmented GPS navigation in cars is mostly done using odometers rather accelerometer, and there is a good reason for that: integrating MEMS accelerometer values does not add significant precision to a GPS-bases velocity measurement, and is not good enough be used to compensate for the lack of GPS signal

11 - Ludger Mercier Thursday,june 11,2020 0H05

I just got a drone that uses my phone to control it. It needs my phone to have a magnetometer. My phone doesn't. Can my phone use this device to run the compass app ?

12 - mvuilleu (Yocto-Team)Thursday,june 11,2020 5H44

@Ludger: No: the Yocto-3D is not a system compass. It will only work with software designed explicitely for it, using Yoctopuce library

13 - vrgeek22 Monday,december 25,2023 21H54

Can the Yocto-3D-V2 be used as inclinometer for VR glasses on pc-based systems?
Does it need some additional software for that? It would be great if Linux Simula OS could use it for glasses.

14 - martinm (Yocto-Team)Tuesday,december 26,2023 5H30

@vrgeek22 : probably not: the Yocto-3D-V2 will work with applications specifically designed to use it thanks to our programming libraries. But if you have access to your VR glasses software source code, and some programming skills, you be able to make it work.

Yoctopuce, get your stuff connected.