Comments (4)
Which esp32 dev board are you using?
Make sure you are connecting the I2C lines according to the GPIO numbers rather than PIN numbers.
If you try the mpu_i2c example does it work?
from esp32-mpu-driver.
I'm using ESP-WROOM-32 in a ESP32 Core Board V2 / ESP32 DevKitC.
I'm using GPIO numbers correctly as I should.
Tested mpu_i2c with no success, same error ocurring... 1sec delay the same error is printed to monitor
from esp32-mpu-driver.
The error code 0x107 means I2C reading is timing out. So the esp32 might not be receiving from the MPU6050.
Try the following:
- change the SDA/SCL to different GPIOs
- lower the I2C clock speed to 100KHz
- run an I2C scanner to scan all device addresses found in the I2C bus. See this example from I2Cbus library.
The scanner should show a device with address 0x68 or 0x69. If it does not show then you might have to re-check the wiring.
from esp32-mpu-driver.
All problems solved, nothing wrong with your library!!!
Problems were with my 2 MPU-6050 boards. I've tested 2 other new boards and you examples worked well with them.
Don't know why haven't tested the new boards yet! hahah
Thx by answering me, I'll close the issue by now!!!
from esp32-mpu-driver.
Related Issues (20)
- Tilt Angles are updated even no rototion or movement of gyroscope(MPU6050) HOT 5
- Compatibility with the Cmake system in newer esp-idf. HOT 5
- New to ESP-IDF, how to add C++ components? HOT 1
- MPU.hpp library probelm HOT 2
- Is there any way to get this working with arduino/platformIO?
- unable to install using cmake HOT 1
- Easiest way to remove interrupt feature from mpu_real example?
- In \include\mpu\types.hpp line 93
- MPU6050 error=0X105 no readings
- Unable to used in ESP32-S2
- Accel calibration incorrect with mpu_real
- magneto AK89 all zero
- Is DMP Support Not Yet Implemented? HOT 1
- How to use this driver in c project? e.g. an ESP-IDF hello_world example project written in C language HOT 1
- Compiler error in the ESP-IDF ver 5.0.1 platform HOT 1
- mpu_real example not working with MPU9250 HOT 5
- Example mpu_real interrupt isn't working HOT 4
- setAuxI2CEnabled should also get enabled for units with Compass working in I2C mode
- Cannot read data. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp32-mpu-driver.