TINKER PIEDESIGN IN INDIA

Motion sensor MPU6050 with TinkerPie

A second accelerometer + gyroscope you can mount anywhere, for example on a robot arm.

TypeSmart sensors (I2C)
Connect toSENSOR port · 0x68
Givesmilli-g and °/s
SimulatorYes: a control appears under the simulated board

How to wire it

Plug into any SENSOR 1-4 port (SDA, SCL, 3.3 V, GND). Each type has a fixed I2C address, so different types can share the bus.

Code

In blocks: Accessories category in TinkerPie Studio. As code:

// JavaScript
sensors.mpuAcceleration(Dimension.X)
sensors.mpuRotationRate(Dimension.Z)

// Arduino C++
sensors::mpuAcceleration(Dimension::X)
sensors::mpuRotationRate(Dimension::Z)

Try it in TinkerPie Studio

Similar modules