rtlopez/esp-fc

Esp32 not detecting gyro

Shally1986 opened this issue · 8 comments

I have flashed the esp32 firmware to esp32 nodemcu and wired up mpy6050 as per the image on the docs . But in betaflight there is no gyro .

I think the image is for spi connection and mpu6050 is i2c . Where do I connect mpu6050 on esp32 ?

mpu6050 use i2c only..
esp32 | mpu6050
D22 | SCL
D21 | SDA

Thanks it works . I'm using esp 32 wroom . Pid loop is fixed at 1K how to make it 8K

use mpu6500 or mpu9250 support spi

Issues closed

Hi @Shally1986 @AutoPlantBali,

actually not quite, I checked it and I2C does not work on esp32. So I prepared fix and just merged to master branch. If you want to test it, flash device directly from this branch, I'm going to prepare new release soon.

MPU6050 works only on I2C bus.

Also keep in mind that wiring for esp32 might not be up to date, werify your pinout with CLI output command get pin, especially motor output. On ESP32 you can remap most pins according to your needs too.

@Shally1986 I forgot, you can try this build https://github.com/rtlopez/esp-fc/actions/runs/5679139675

RP2040 is experimental, and because of lack FPU, do not perform fast. I have not yet prepared the upload process without the development environment.