Heltec-Aaron-Lee / WiFi_Kit_series

Arduino source codes and toolchain for WiFi_Kit_series made by HelTecAutomation.
GNU Lesser General Public License v2.1
766 stars 308 forks source link

Can not interface I2C MPU6050 Accel/Gyro on Wifi Kit V2 ESP32 Board #133

Open tonyvr4 opened 4 years ago

tonyvr4 commented 4 years ago

I am trying to interface with an MPU-6050 accel/gyro on a Heltec ESP32 WiFi V2 Development board The board pinout shows SDA as Pin 21 and SCL as Pin 22

If I run the I2C scanner from the Heltec Examples it finds the MPU6050 at address 0x68

If I run any of the example sketches that came with the MPU6050.h library and have tried various examples from the web it does not get data from the MPU-6050

It is an issue with the ESP32 board The MPU-6050 works fine using any example sketch on my Arduino Nano but not the ESP32