Skip to main content

Features

The Kode Dot integrates a 3-axis gyroscope, 3-axis accelerometer and 3-axis magnetometer. Thus, you can know the relative position to itself and its absolute position relative to the Earth. The gyroscope and accelerometer are in the same integrated and have the following characteristics: The magnetometer has the following characteristics:

Connection diagram

6-axis IMU

The IMU is connected to the ESP32-S3 through the I2C bus using these connections:
The IMU has the address 0x6A on the I2C bus.
The interrupt pins are connected to the IO expander.

3-axis magnetometer

The magnetometer is connected in the same way to the I2C bus using these connections:
The magnetometer has the address 0x1E on the I2C bus.
The interrupt pin is connected to the IO expander.

Arduino

ESP-IDF

Example code

6-axis IMU

This code shows the measurement range of the sensors and the sampling frequency. It also shows the temperature, acceleration and angular velocity.
imu_test.ino

3-axis magnetometer

This code shows the magnetic vector in micro-Teslas (uT).
mag_test.ino

Download examples

You can test the example codes using the Arduino IDE or the ESP-IDF IDE or download the codes in our drive: IMU and magnetometer examples