-
Notifications
You must be signed in to change notification settings - Fork 42
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
MPU6050 calibration #34
Comments
1st! You need to open the Serial Monitor on Tools. |
That's in theory. |
But what do I send when I open serial monitor. It seems to do nothing regardless of what I send. |
If you configure the right Baud the serial monitor will send you a message like "press any key to continue" and then you press "any key" and the sketch will set up the offsets. In other way, if you don't see any legibly message on your serial monitor, try with other Baud. |
The communication baud in the sketch says 115200. I set it to that and it still does nothing. Not liking the look of this!! |
If you need to recalibrate your MPU, use this one, same as I use to test my DIYino boards: Let us know how it performs for you. |
Ok I'll have a go with that once its downloaded. |
Ok I ran that and it said connecting to DFplayer and then connected to DFPlayer and that was it nothing else. |
Thank you! I will try that one too. |
Well I have still had no life from the calibration program. I also uploaded the fxsaberos sketch to see if that did anything and it doesn't. Whether its because the mpu6950 calibration hasnt run though I don't know. The nano I am using is a cheap copy though with a ch340 serial chip, would that make a difference or is that what others are using? I do get a fare few orange warnings on the fxsaberos sketch when compiling it though. Not sure why. I don't understand why some people can run it and some can't. Surely if we all build the same thing and upload the same sketch it has to work? |
It shouldn't matter. The calibration program is pretty simple from the
user side and should just work, I've used it with nano and pro mini from
various vendors as well as the DIYino boards.
Jason "Kuma" Brinkerhoff
*Mad Science Workshoppe, *proprietor
http://jbkuma.com/workshoppe
…On Thu, Dec 28, 2017 at 11:07 AM, FatherCool ***@***.***> wrote:
Well I have still had no life from the calibration program. I also
uploaded the fxsaberos sketch to see if that did anything and it doesn't.
Whether its because the mpu6950 calibration hasnt run though I don't know.
The nano I am using is a cheap copy though with a ch340 serial chip, would
that make a difference or is that what others are using?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#34 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ATdCMJdgEZ78Y7ACcP-977yYXJUaON_Cks5tE7ykgaJpZM4RNyJt>
.
|
It doesn't run. I have uploaded the simple led blink test sketch to check the board and that runs no problem. I have just put a multimeter across the 3v3 pin and ground and only got 1.84v which is the wire going to the mpu6050. Do you think that that is an issue? I would have thought that the sketch would have just returned an mpu6050 fail. Would you advise that I rebuild with new parts? |
It will definitely need the proper power supplied to it.
Does the script prompt you at all? Something should be showing up in your
serial monitor.
Jason "Kuma" Brinkerhoff
*Mad Science Workshoppe, *proprietor
http://jbkuma.com/workshoppe
…On Thu, Dec 28, 2017 at 12:00 PM, FatherCool ***@***.***> wrote:
It doesn't run.
I have uploaded the simple led blibk test sketch to check the board and
that runs no problem.
I have just put a multimeter across the 3v3 pin and ground and only got
1.84v which is the wire going to the mpu6050. Do you think that that is an
issue?
Would you advise that I rebuild with new parts?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#34 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ATdCMHIRhVPl6MfHMx2-0HOLFCGEwxZcks5tE8kdgaJpZM4RNyJt>
.
|
If the MPU6050 isn't working your serial monitor should look like this:
|
No I don't receive anything through the serial monitor at all. When I ran protonerds other sketch I got a dfplayer connected prompt but still nothing from the mpu6050 part of it at all. |
I just uploaded the calibration sketch to nano with nothing attached to it, straight from the package and got those results. Are you sure you are uploading the calibration sketch to the board properly? |
I believe so. It compiles fine and shows the red RX light and then a little TX light before saying upload done. |
Will it work on a mega as I have one of those spare to use as a test bed? |
Ok update. I have stripped everything from the board to run it naked so to speak. The sketch with nothing attached now runs and talks to the serial monitor correctly. I can only assume that something was causing an issue connected to the board. The bad news is that I have managed to rip off the copper track on the 3v3 pin completely during de-soldering to the board is a dead stick now for purpose in any case. New board required!! |
It seems like something was bad with the board already since the 3v3 line was low, perhaps it was shorted or the regulator was fried. Fortunately Nanos are plentiful and cheap these days! |
Yes indeed. I am just frustrated that I now need to wait to get another!! |
Ok I uploaded the sketch to the arduino. How do I get it to run? The wiki says press any key but that does nothing as far as I can see and I don't get anything to answer yes to.
The text was updated successfully, but these errors were encountered: