-
-
Notifications
You must be signed in to change notification settings - Fork 324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Acc Test Connection ERROR #345
Comments
The error message „ Acc Test Connection ERROR!” is unambiguous stating that you have a hardware issue on your board. You need to fix that before you can expect anything to work |
The error message is only called in the method testAccel(), so I assume it has something to do with the MPU6050 board? I have checked all the solder points, but I will make another iSpindel with identical components and see if the error appears on that board too. |
@Nckls78, Did you manage to resolve the issue? Also double check your pin configuration for I2C in the code. I had that wrong as I'm using different pins than the code expects (search for Wire.Begin and change if needed). I'm having the same problem and can I at least read the raw registers just fine and those also correlate to movement but indeed WHOAMI register reports 0x98 as it should report 0x68 back. Seems like the IMU modules I bought from local electronics shop is selling counterfeit goods bought from China. I change the testAccel() method a bit to overcome the acc test connection errors as my IMU reports different WHOAMI register value than chip specification and code expects.
You can also use the following line in for example testAccel() code to check what your IMU is reporting back on WHOAMI register:
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I'm experimenting the same issue, how did you solve it ? |
Same here with three of the boards I recently purchased. Is there any reliable supplier of the GY-521 boards, if this is the issue? |
I had exactly the same issue last weekend with a built, I could connect to the configuration and saw the value of the tilt and the gravity on the info page read: 'nan' so a faulty gy-521 mpu-6050. About 50% of the batch of boards I bought are working fine the rest is garbage. |
@ErikdBr Thanks for the info :) |
@ErikdBr I had exactly the same problem, 50% of the batch did not work, with "NAN" instead of the angle value. |
Guys, please stop posting your serial log; it contains your clear text WIFI SSID and password ;-) |
And unless I know where you live it's completely useless to anyone. |
I have soldered an Ispindel with version 4.0 of the board and with all components from this page: https://www.pcbway.com/project/shareproject/iSpndel_4_0.html
When I connect to it and go to the Info page I get 0.0 in Tilt:
Checked the log through PuTTY:
Ok, it can't connect to MPU6050. Found some issues regarding this: #302
It says the sensor reports wrong address. I set up a Arduino board and connected the sensor and ran the code from this page: https://github.com/ElectronicCats/mpu6050/blob/master/examples/IMU_Zero/IMU_Zero.ino
It uses the same library MPU6050 ant the same method testConnection().
Got the log:
Works just fine.
Trying to check the code in latest release to see what I'm missing, but I really can't understand why it's still reporting a tilt of 0.0. I commented the code as in: #302 (comment), but that doesn't change the result.
Any suggestions? Where should I look?
The text was updated successfully, but these errors were encountered: