I've recently bought components for building my own EdTracker based on 9150
After soldering everything, it was not working.
With a different Arduino, I then retried through a different shape:Bartybee's layout
Unfortunately same result.
Symptoms:
- Tracker visible on Windows' "devices and printers" but nothing move
- classical calibration sketche seems to work, but not the good one (9150)
- when good one installed, the GUI is not able to connect on the tracker.
So I tried to work on sources and I found a solution.
I will be not able to explain why, I can just say that it works. (I will not explain all the long way I took for finally finding it).
Here the steps:
1) got Arduino 1.5.8 IDE
2) get the full sources from https://github.com/pocketmoon/EDTracker-9150/archive/master.zip
Unzip it somewhere, it will contains a bunch of files and at least edtracker.zip
3) unziped edtracker.zip in ARduino/hardware
4) Launch Arduino IDE and Open EDTrackerMagDMPOne.ino
It is a file in the sketches folder from sources
6) Select Tools->Board->EDTracker2
7) edtracker.zip is not up2date. Update libraries in zip by the one on sources
==> ...\arduino\arduino-1.5.8\hardware\edtracker\avr\libraries
==> should be ovewriten by the ones from sources
8) add #define MPU9150 in inv_mpu.h
(I don't know how to add it in compiler options)
9) it looks like the Wire.begin() in EDTrackerMagDMPOne doesn't behaves as expected
In EdTrackerMagDMPOne.ino, move "Wire.begin()" just before mpu_init(&revision)
It seems to fix the issue
In conclusion, the biggest issue was where Wire.begin() was called.
I really don't know why it fixes the issue, since it is just moved few calls later, but it works.
Hope it will help
After soldering everything, it was not working.
With a different Arduino, I then retried through a different shape:Bartybee's layout
Unfortunately same result.
Symptoms:
- Tracker visible on Windows' "devices and printers" but nothing move
- classical calibration sketche seems to work, but not the good one (9150)
- when good one installed, the GUI is not able to connect on the tracker.
So I tried to work on sources and I found a solution.
I will be not able to explain why, I can just say that it works. (I will not explain all the long way I took for finally finding it).
Here the steps:
1) got Arduino 1.5.8 IDE
2) get the full sources from https://github.com/pocketmoon/EDTracker-9150/archive/master.zip
Unzip it somewhere, it will contains a bunch of files and at least edtracker.zip
3) unziped edtracker.zip in ARduino/hardware
4) Launch Arduino IDE and Open EDTrackerMagDMPOne.ino
It is a file in the sketches folder from sources
6) Select Tools->Board->EDTracker2
7) edtracker.zip is not up2date. Update libraries in zip by the one on sources
==> ...\arduino\arduino-1.5.8\hardware\edtracker\avr\libraries
==> should be ovewriten by the ones from sources
8) add #define MPU9150 in inv_mpu.h
(I don't know how to add it in compiler options)
9) it looks like the Wire.begin() in EDTrackerMagDMPOne doesn't behaves as expected
In EdTrackerMagDMPOne.ino, move "Wire.begin()" just before mpu_init(&revision)
It seems to fix the issue
Code:
Wire.begin();
mpu_init(&revision);
In conclusion, the biggest issue was where Wire.begin() was called.
I really don't know why it fixes the issue, since it is just moved few calls later, but it works.
Hope it will help