Skip to content
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

impossible to calibrate and get IMU signal ABX 00071 #173

Open
samsab1 opened this issue Jul 27, 2024 · 19 comments
Open

impossible to calibrate and get IMU signal ABX 00071 #173

samsab1 opened this issue Jul 27, 2024 · 19 comments

Comments

@samsab1
Copy link

samsab1 commented Jul 27, 2024

hello
Hello everyone

I just flashed my arduino cc nano ble 33rev2 ABX 00071 with headtracker release 2.2. the flashing seems perfectly normal
the calibration phase seems to be going correctly, but I ultimately believe that it is never saved correctly although I ask for this calibration to be saved.

finally, the curves remain perfectly flat and smooth when I move the ARDUINO board. who could give me light?

bluetooth seems to be ok when connecting to https://headtracker.net/v22/
2024-07-25_14h44_20
2024-07-25_14h44_50
2024-07-25_14h45_04
2024-07-25_14h46_01
2024-07-25_14h46_311

2024-07-25_14h55_58

@samsab1
Copy link
Author

samsab1 commented Jul 27, 2024

2024-07-27_13h04_59
2024-07-27_13h04_21

@samsab1 samsab1 changed the title hello impossible to calibrat eand get IMU signal hello impossible to calibrate and get IMU signal Jul 27, 2024
@samsab1 samsab1 changed the title hello impossible to calibrate and get IMU signal impossible to calibrate and get IMU signal Jul 27, 2024
@samsab1 samsab1 changed the title impossible to calibrate and get IMU signal impossible to calibrate and get IMU signal ABX 00071 Jul 27, 2024
@dlktdr
Copy link
Owner

dlktdr commented Jul 27, 2024

Rev2 needs to use the development firmware and gui.

https://github.com/dlktdr/HeadTracker/actions/runs/10010869506
https://github.com/dlktdr/HeadTracker/actions/runs/9124117598

Bottom of each page is the artifacts(binaries)

You can find the most recent ones under actions. To upload the firmware, you have to select local file and use the extracted one from the firmware build

@samsab1
Copy link
Author

samsab1 commented Jul 27, 2024

many thanks for your answer.
so my ABX00071 remains usefull? but with an other firmware; right?

can you be more accurate in your answer, i m a newbie with arduino, and a french guy who is very not fluent in english.
do you mean that i keep the frontoffice software "headtracker 2.2" but i use the firmware
2024-07-27_19h29_31

why did you give 2 links? how can i understand those 2 links?
best regards

@samsab1
Copy link
Author

samsab1 commented Jul 28, 2024

ok Cliff, it was so easy, thanks a lot , it seems to be ok
very best regards

@Aaronsss
Copy link

Aaronsss commented Jul 29, 2024

I have just ran into the same issue but dont seem to be able to resolve it with the above solution
image

It is a brand new unsoldered board but I presume that doesn't matter?

It looks like it's getting no data from the Arduino for the gyro or accelerometer during cal none of the values move for either accelerometer or magnetometer

@dlktdr
Copy link
Owner

dlktdr commented Jul 30, 2024

I have just ran into the same issue but dont seem to be able to resolve it with the above solution image

It is a brand new unsoldered board but I presume that doesn't matter?

It looks like it's getting no data from the Arduino for the gyro or accelerometer during cal none of the values move for either accelerometer or magnetometer

When you flashed it you picked the firmware labelled rev2?

You have the same abx00071 as well?

@Aaronsss
Copy link

Yes to both

@dlktdr
Copy link
Owner

dlktdr commented Jul 30, 2024

Could you program a basic Arduino test program to it to see if the IMU is actually working on your board or if it's an issue on my end.

It might also help if you could put the a copy of what the serial monitor shows after a reboot of the board. Then put it in a text file and upload it here.

@Aaronsss
Copy link

I tried this script and get the following message over serial port https://docs.arduino.cc/tutorials/nano-33-ble-rev2/imu-gyroscope/

Started
Failed to initialize IMU!

Output from the serial port with the headtracker code
serial boot.txt

Broken board?

@Aaronsss
Copy link

A bit of further testing if I use Arduino_BMI270_BMM150 1.1.0 it gets a bit further but still does not enter if (IMU.gyroscopeAvailable()) {

Im guessing better checks were introduced from 1.1.1 onwards. It doesnt seem to want to come to life

@dlktdr
Copy link
Owner

dlktdr commented Jul 30, 2024

Hmm yeah didn't detect it in this software either
[00065693] <err> htmain: Sense_Init failed according to that log.

  • Also I guess I should add some more details to that error 😉. It's pretty vague

Kind of sounds like the baord. Can you post a close up photo of the board.

@Aaronsss
Copy link

Aaronsss commented Jul 30, 2024

IMG_20240730_234021
IMG_20240730_234011

Which ic is the imu? There is a part near the xyz logo that looks chipped. At first I thought it was an inductor but looks like a bga

@dlktdr
Copy link
Owner

dlktdr commented Jul 30, 2024

The one near the xyz is the magnetometer, BMM150. and yeah it sure does look chipped. If it's broken and holding the I2C lines in a low state would cause the IMU(BMI270) to not work too
image

@Aaronsss
Copy link

I will try getting the picoscope on the i2c tommorow to see if it's doing anything. If not I will initiate the return to farnell as they actually sent the rev 2 despite advertising the rev 1 part no.

@dlktdr
Copy link
Owner

dlktdr commented Jul 30, 2024

Best of luck.

FYI the I2C is easiest to probe here.
image

@Aaronsss
Copy link

straight after reset

When probing the bottom resistor
Bottom resistor 1_1
Bottom resistor 2_1
Bottom resistor 3_1
When probing the top resistor
Top resistor_1

Whilst it isnt stuck low I think it is safe to say it is not happy from those waveforms

In any case Farnell already refunded me as they sent the wrong part no. so will try and source another one and then maybe this one can do bluetooth for me :)

@Aaronsss
Copy link

Aaronsss commented Aug 1, 2024

Good news I got a new one and it all seems to be working as expected :)

@Damastel
Copy link

Damastel commented Aug 31, 2024

Rev2 needs to use the development firmware and gui.

https://github.com/dlktdr/HeadTracker/actions/runs/10010869506 https://github.com/dlktdr/HeadTracker/actions/runs/9124117598

Bottom of each page is the artifacts(binaries)

You can find the most recent ones under actions. To upload the firmware, you have to select local file and use the extracted one from the firmware build

Hello, I seem to be having the same issue with my IMU, I think the above suggestion will work, but the second link has an "expired" file. Would there be any chance I could get that binary file? Thanks!

@dlktdr
Copy link
Owner

dlktdr commented Sep 3, 2024

Hello, I seem to be having the same issue with my IMU, I think the above suggestion will work, but the second link has an "expired" file. Would there be any chance I could get that binary file? Thanks!

Since it's the development version and constantly changing you can always find the most recent builds from the actions page. An action automatically compiles binaries on every change.

https://github.com/dlktdr/HeadTracker/actions

On the left pane you can select the action type you want. You will need the most recent firmware and the most recent windows gui. Always check that it is built from the "Master" branch.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants