Comments (5)
Hello,
You need to connect the interrupt pin (INT) on MPU6050 to Arduino's pin #2
as well. But I imagine that it should not have shown zeros without INT;
should've said "Waiting for first interrupt...".
- Aditya
On Mon, Feb 24, 2014 at 5:14 AM, reut10 [email protected] wrote:
hi!
I connect my arduino to the mpu 6050 in this way:
VDD and VIO of MPU6050 to 3.3V from the Arduino board.
SDA ( Serial Data ) pin from MPU6050 board to Analog pin 4.
SCL ( Serial Clock ) to Analog pin 5.
Ground - ground .
i try to use this libarary: https://github.com/jrowberg/i2cdevlib
and i get zeros!!!
what's wrong!?!?!?
thank you,
reut.Reply to this email directly or view it on GitHubhttps://github.com//issues/61
.
from i2cdevlib.
I use the example of mpu6050 raw,
I still need to use int?
thank you again!!!
from i2cdevlib.
I'm not sure if this will help you but I had a similar problem and setting the PWR_MGMT registers to 0 solved mine ;)
I'm going to dig a bit more and tell you if I find a clean way to do it...
from i2cdevlib.
@reut10
If ever you haven't solved your problem, try adding a delay just before starting initializing the IMU (to find the right time, dichotomy is your friend).
I hope you didn't get a Heisenbug...
May the force be with you!
from i2cdevlib.
Hi,
check this example maybe this will help you.
https://www.youtube.com/watch?v=D5HY_tjW1lc
from i2cdevlib.
Related Issues (20)
- Serial Yaw Roll Pitch example of MPU6050_DMP6 lib HOT 2
- MPU DMP with 250 dps
- Upgrading DIY UAV from mega2560 to esp32 : unsuccessful after weeks of attempts HOT 1
- Yaw or Quaternion w value got unchanged eventhough my MPU6050 is rotating in place HOT 2
- IN YPR R is not changing for variable P HOT 1
- I get no output in Serial Monitor Wesmos D1 Mini HOT 7
- Calculate displacement
- How to get actual g-force values?
- publish platformio registry for MPU9250 package
- Count overflow in Arduino/I2Cdev::readBytes and I2Cdev::readWords HOT 1
- I'm trying to use your ADS1115 library for a current sensor project I'm working on right now. When i use that library it gives this error: HOT 1
- grove IMU 9dof
- Is it possible to use more than 2 adxl345 accel/gyros on an esp32?
- [FR] Project Examples for PlatformIO Registry
- Compilation error about no matching function for call to all writing and reading functions from I2Cdev.cpp
- STM32 HAL \ I2Cdev.h & I2Cdev.c compiler error : "multiple definition of `I2Cdev_readTimeout';"
- ESP32 error: i2c driver not installed
- is OUTPUT_READABLE_YAWPITCHROLL display Euler angles in degrees conversion correct? HOT 1
- Angular Velocity (Gyroscope_X deg/s, Gyroscope_Y deg/s, Gyroscope_Z deg/s,)
- Acceleration Range
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 i2cdevlib.