ADD BMI270 IN A ESP-DRONE

Hey!

I'm new to this field and am working on a college project to build a drone using the ESP32 microcontroller. I'm using esp-drone (https://github.com/espressif/esp-drone).

The Problem:

This repository uses MPU6050 for the IMU, but I want to use BMI270 instead.

I created a discussion on the repository but haven't received a response yet.
https://github.com/espressif/esp-drone/discussions/98

I am trying to add an I2C connection in ESP-Drone, but the BMI270 is not initializing properly. There are self-test functions available as well.

You can find the sensors file in the repository I shared below. You'll get a better understanding once you look at the script:

https://github.com/espressif/esp-drone/blob/master/components/core/crazyflie/hal/src/sensors_mpu6050_hm5883L_ms5611.c

Thanks : /

1 reply