Massima

Joined 26 March 2020
1,492 bytes added ,  26 March 2020
no edit summary
No edit summary
No edit summary
Line 10: Line 10:
[[File:Pro-micro.png|thumb|Pro-micro]]
[[File:Pro-micro.png|thumb|Pro-micro]]
3. a push button;  
3. a push button;  
4. i used classic Dupont wires and some Dupont core plus and DuPont plastic shell plug chief.
4. i used classic Dupont wires and some Dupont core plus and DuPont plastic shell plug chief.


Line 105: Line 106:


DO NOT ENTER DATA FOR THE ACCELEROMETER, they are commented in that file.
DO NOT ENTER DATA FOR THE ACCELEROMETER, they are commented in that file.
5. Load the code!!! you can cange the magnetic declination for your country (http://www.magnetic-declination.com) too.
'''IMPORTANT:''' if you change your environment near the magnetometer (like closer parts, headphones), you need to recalibrate it. Otherwise your HT will work badly. My issue, i worked and calibrated my HT with a mini-breadboard. When i switched to a compact solution (see the image at first page), my HT didn’t work correctly but recalibrating did the trick.
<big>'''TEST'''</big>
Now it is time to test your system. The loaded code never freezes, my tests platform:
Debian testing+opentrack 2.3.11 unstable+FlighGear 2019.1.1 → running time 1h 35 min;
Windows10+opentrack daily build+Falcon BMS 4.34.3→ running time 1h 25 min;
When you push the button start for the first time you can observe a strange movement of the squid,  push  the stop and start button again and again.
<big>'''SETUP'''</big>
I share my opentrack setting ini files then you can edit yaw, pitch, roll curves but i strong suggest you, everytime, to center the position of the tracker (options → output → custom center position).
<big>'''LINKS'''</big>
A link on the main opentrack is available [https://github.com/opentrack/opentrack/wiki/Built-a-Hatire-headtracker-with-a-MPU9250 here].
All useful stuff are available [https://drive.google.com/drive/folders/15HhIHfoJ6WcMU1nhQ93dDLvj_SIr3SEa?usp=sharing here] on my gdrivespace, there is an opentrack debian package too.
18

edits