<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.flightgear.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Massima</id>
	<title>FlightGear wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.flightgear.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Massima"/>
	<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/Special:Contributions/Massima"/>
	<updated>2026-05-24T19:32:08Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.6</generator>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=User:Massima/Howto:Hatire_head_tracker&amp;diff=122685</id>
		<title>User:Massima/Howto:Hatire head tracker</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=User:Massima/Howto:Hatire_head_tracker&amp;diff=122685"/>
		<updated>2020-03-28T15:51:30Z</updated>

		<summary type="html">&lt;p&gt;Massima: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;'''Head Arduino Tracker (aka Hatire)'''&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I write this guide to help anyone to use hathire in any sim/game. Let’s start with hw and sw requirements.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''hardware:'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. a MPU9250 device preferring a 5V tolerant device, i did not test a 9255; &lt;br /&gt;
[[File:Mpu9250.png|thumb|150px|Mpu9250]]&lt;br /&gt;
2. an arduino board, you can choose any kind but if your MPU works at 3.3V,  you need a board with a 3.3V pin. I use this pro micro board 3.3V and 5V (it runs at 4.68V);&lt;br /&gt;
[[File:Pro-micro.png|thumb|150px|Pro-micro]]&lt;br /&gt;
3. a push button; &lt;br /&gt;
&lt;br /&gt;
4. i used classic Dupont wires and some Dupont core plus and DuPont plastic shell plug chief.&lt;br /&gt;
&lt;br /&gt;
Obviously this is not the only way to connect it, see http://edtracker.org.uk/ you could use a breadboard or a PCB. I use wires because i can disassemble it if needed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''software'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''''Windows:'''''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. install arduino IDE and drivers for your board;&lt;br /&gt;
&lt;br /&gt;
2. connect your board and open device manager as amministrator→ ports (right click) → properties → port setting (see images Win setup1-2):&lt;br /&gt;
[[File:Win setup.png|thumb|Win setup1]][[File:Win setup2.png|thumb|Win setup2]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''''Linux:'''''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. download the arduino IDE, unpack somewhere;&lt;br /&gt;
&lt;br /&gt;
2. connect your arduino, open a terminal and type: “lsusb”. You get something like this:  &lt;br /&gt;
''“Bus 003 Device 008: ID 2341:8037 Arduino SA Arduino Micro”. Yours will be different;''&lt;br /&gt;
&lt;br /&gt;
3. as root create a file in “/etc/udev/rules.d”. Call it “52-arduino.rules”, inside put:&lt;br /&gt;
&lt;br /&gt;
  ''SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;2341&amp;quot;, ATTR{idProduct}==&amp;quot;8037&amp;quot;, MODE=&amp;quot;0666&amp;quot;, GROUP=&amp;quot;plugdev&amp;quot;, SYMLINK+=&amp;quot;arduino arduino_micro&amp;quot;''&lt;br /&gt;
&lt;br /&gt;
4. IdVendor and idProduct could be different for your board.&lt;br /&gt;
&lt;br /&gt;
5. Restart udev as root with ''“service udev restart”'';&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''tricks:'''&amp;lt;/big&amp;gt;you could have problem flashing the code on board try, while you press load, to reset the board connecting for a while RST with GND (windows and linux), remove modemmanager (linux). Perhaps if arduino IDE doesn’t start you need to  make the main binary executable with ''“chmod +x /path/filename”''(linux).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''connections'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A visual scheme is available on the edtracker site, anyway you need the following connections:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! MPU9250 !! Arduino Board !!  !! button !! Arduino Board&lt;br /&gt;
|-&lt;br /&gt;
| VCC || 5V ||  || || RST&lt;br /&gt;
|-&lt;br /&gt;
| GND || GND ||  ||  || GND&lt;br /&gt;
|-&lt;br /&gt;
| SDA || SDA (pin 2 for micro)* ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| SCL ||SCL (pin 3 for micro)* ||  ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*  pins change for different boards.&lt;br /&gt;
&lt;br /&gt;
[[File:My headtrack built.jpg|thumb|150px|my headtrack built]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''the code'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I would say thanks to @hideakitai for his library (https://github.com/hideakitai), it is the only that gives us pitch, roll, yaw. I traslate them in a binary format used by hatire. So install its library in the library manager.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''calibrate the MPU9250 (be aware from EM sources)'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first step needs to open the sketch called “calibration” (file→ examples→ MPU9250), load it and open the serial console:&lt;br /&gt;
&lt;br /&gt;
1. Keep the MPU9250 on the table, horizontal, don’t move it!! so it will calibrate the accelerometer and gyroscope;&lt;br /&gt;
&lt;br /&gt;
2. soon you will read “Mag Calibration: Wave device in a figure eight until done!”. Now rotate it for 360° describing a sphere, fast, rotate it in every position;&lt;br /&gt;
&lt;br /&gt;
3. at the end save datas like these: &lt;br /&gt;
&lt;br /&gt;
''&lt;br /&gt;
&amp;lt; calibration parameters &amp;gt;&lt;br /&gt;
   accel bias [g]: &lt;br /&gt;
13.85, 68.24, -206.36&lt;br /&gt;
  gyro bias [deg/s]: &lt;br /&gt;
-5.79, -3.03, -2.47&lt;br /&gt;
    mag bias [mG]: &lt;br /&gt;
-39.82, 77.82, -422.38&lt;br /&gt;
    mag scale []: &lt;br /&gt;
1.04, 1.02, 0.94&lt;br /&gt;
''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. Open my  sketch “mpu9250-hatire” and change values, with yours:&lt;br /&gt;
&lt;br /&gt;
'''&lt;br /&gt;
  mpu.setGyroBias(0, -5.79);&lt;br /&gt;
  mpu.setGyroBias(1, -3.03);&lt;br /&gt;
  mpu.setGyroBias(2, -2.47);&lt;br /&gt;
  mpu.setMagBias(0, -39.82);&lt;br /&gt;
  mpu.setMagBias(1, +77.82);&lt;br /&gt;
  mpu.setMagBias(2, -422.38);&lt;br /&gt;
  mpu.setMagScale(0, +1.04);&lt;br /&gt;
  mpu.setMagScale(1, +1.02);&lt;br /&gt;
  mpu.setMagScale(2, +0.94);'''&lt;br /&gt;
&lt;br /&gt;
Do not enter data for accelerometer, they are commented in that file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5. Load the code!!! you can cange the magnetic declination for your country (http://www.magnetic-declination.com) too.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''test'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now it is time to test your system. The loaded code never freezes, my tests platform:&lt;br /&gt;
 &lt;br /&gt;
Debian testing+opentrack 2.3.11 unstable+FlighGear 2019.1.1 → running time 1h 35 min;&lt;br /&gt;
&lt;br /&gt;
Windows10+opentrack daily build+Falcon BMS 4.34.3→ running time 1h 25 min;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''setup'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''links'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A link on the main opentrack site is available [https://github.com/opentrack/opentrack/wiki/Built-a-Hatire-headtracker-with-a-MPU9250 here].&lt;br /&gt;
&lt;br /&gt;
All useful stuff are available [https://drive.google.com/drive/folders/15HhIHfoJ6WcMU1nhQ93dDLvj_SIr3SEa?usp=sharing here] on my gdrive space, there is an opentrack debian package too.&lt;/div&gt;</summary>
		<author><name>Massima</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=User:Massima/Howto:Hatire_head_tracker&amp;diff=122684</id>
		<title>User:Massima/Howto:Hatire head tracker</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=User:Massima/Howto:Hatire_head_tracker&amp;diff=122684"/>
		<updated>2020-03-28T15:47:49Z</updated>

		<summary type="html">&lt;p&gt;Massima: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;'''Head Arduino Tracker (aka Hatire)'''&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I write this guide to help anyone to use hathire in any sim/game. Let’s start with hw and sw requirements.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''hardware:'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. a MPU9250 device preferring a 5V tolerant device, i did not test a 9255; &lt;br /&gt;
[[File:Mpu9250.png|thumb|Mpu9250]]&lt;br /&gt;
2. an arduino board, you can choose any kind but if your MPU works at 3.3V,  you need a board with a 3.3V pin. I use this pro micro board 3.3V and 5V (it runs at 4.68V);&lt;br /&gt;
[[File:Pro-micro.png|thumb|Pro-micro]]&lt;br /&gt;
3. a push button; &lt;br /&gt;
&lt;br /&gt;
4. i used classic Dupont wires and some Dupont core plus and DuPont plastic shell plug chief.&lt;br /&gt;
&lt;br /&gt;
Obviously this is not the only way to connect it, see http://edtracker.org.uk/ you could use a breadboard or a PCB. I use wires because i can disassemble it if needed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''software'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''''Windows:'''''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. install arduino IDE and drivers for your board;&lt;br /&gt;
&lt;br /&gt;
2. connect your board and open device manager as amministrator→ ports (right click) → properties → port setting (see images Win setup1-2):&lt;br /&gt;
[[File:Win setup.png|thumb|Win setup1]][[File:Win setup2.png|thumb|Win setup2]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''''Linux:'''''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. download the arduino IDE, unpack somewhere;&lt;br /&gt;
&lt;br /&gt;
2. connect your arduino, open a terminal and type: “lsusb”. You get something like this:  &lt;br /&gt;
''“Bus 003 Device 008: ID 2341:8037 Arduino SA Arduino Micro”. Yours will be different;''&lt;br /&gt;
&lt;br /&gt;
3. as root create a file in “/etc/udev/rules.d”. Call it “52-arduino.rules”, inside put:&lt;br /&gt;
&lt;br /&gt;
  ''SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;2341&amp;quot;, ATTR{idProduct}==&amp;quot;8037&amp;quot;, MODE=&amp;quot;0666&amp;quot;, GROUP=&amp;quot;plugdev&amp;quot;, SYMLINK+=&amp;quot;arduino arduino_micro&amp;quot;''&lt;br /&gt;
&lt;br /&gt;
4. IdVendor and idProduct could be different for your board.&lt;br /&gt;
&lt;br /&gt;
5. Restart udev as root with ''“service udev restart”'';&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''tricks:'''&amp;lt;/big&amp;gt;you could have problem flashing the code on board try, while you press load, to reset the board connecting for a while RST with GND (windows and linux), remove modemmanager (linux). Perhaps if arduino IDE doesn’t start you need to  make the main binary executable with ''“chmod +x /path/filename”''(linux).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''connections'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A visual scheme is available on the edtracker site, anyway you need the following connections:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! MPU9250 !! Arduino Board !!  !! button !! Arduino Board&lt;br /&gt;
|-&lt;br /&gt;
| VCC || 5V ||  || || RST&lt;br /&gt;
|-&lt;br /&gt;
| GND || GND ||  ||  || GND&lt;br /&gt;
|-&lt;br /&gt;
| SDA || SDA (pin 2 for micro)* ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| SCL ||SCL (pin 3 for micro)* ||  ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*  pins change for different boards.&lt;br /&gt;
&lt;br /&gt;
[[File:My headtrack built.jpg|thumb|my headtrack built]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''the code'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I would say thanks to @hideakitai for his library (https://github.com/hideakitai), it is the only that gives us pitch, roll, yaw. I traslate them in a binary format used by hatire. So install its library in the library manager.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''calibrate the MPU9250 (be aware from EM sources)'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first step needs to open the sketch called “calibration” (file→ examples→ MPU9250), load it and open the serial console:&lt;br /&gt;
&lt;br /&gt;
1. Keep the MPU9250 on the table, horizontal, don’t move it!! so it will calibrate the accelerometer and gyroscope;&lt;br /&gt;
&lt;br /&gt;
2. soon you will read “Mag Calibration: Wave device in a figure eight until done!”. Now rotate it for 360° describing a sphere, fast, rotate it in every position;&lt;br /&gt;
&lt;br /&gt;
3. at the end save datas like these: &lt;br /&gt;
&lt;br /&gt;
''&lt;br /&gt;
&amp;lt; calibration parameters &amp;gt;&lt;br /&gt;
   accel bias [g]: &lt;br /&gt;
13.85, 68.24, -206.36&lt;br /&gt;
  gyro bias [deg/s]: &lt;br /&gt;
-5.79, -3.03, -2.47&lt;br /&gt;
    mag bias [mG]: &lt;br /&gt;
-39.82, 77.82, -422.38&lt;br /&gt;
    mag scale []: &lt;br /&gt;
1.04, 1.02, 0.94&lt;br /&gt;
''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. Open my  sketch “mpu9250-hatire” and change values, with yours:&lt;br /&gt;
&lt;br /&gt;
'''&lt;br /&gt;
  mpu.setGyroBias(0, -5.79);&lt;br /&gt;
  mpu.setGyroBias(1, -3.03);&lt;br /&gt;
  mpu.setGyroBias(2, -2.47);&lt;br /&gt;
  mpu.setMagBias(0, -39.82);&lt;br /&gt;
  mpu.setMagBias(1, +77.82);&lt;br /&gt;
  mpu.setMagBias(2, -422.38);&lt;br /&gt;
  mpu.setMagScale(0, +1.04);&lt;br /&gt;
  mpu.setMagScale(1, +1.02);&lt;br /&gt;
  mpu.setMagScale(2, +0.94);''&lt;br /&gt;
&lt;br /&gt;
Do not enter data for accelerometer, they are commented in that file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5. Load the code!!! you can cange the magnetic declination for your country (http://www.magnetic-declination.com) too.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''test'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now it is time to test your system. The loaded code never freezes, my tests platform:&lt;br /&gt;
 &lt;br /&gt;
Debian testing+opentrack 2.3.11 unstable+FlighGear 2019.1.1 → running time 1h 35 min;&lt;br /&gt;
&lt;br /&gt;
Windows10+opentrack daily build+Falcon BMS 4.34.3→ running time 1h 25 min;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''setup'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''links'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A link on the main opentrack site is available [https://github.com/opentrack/opentrack/wiki/Built-a-Hatire-headtracker-with-a-MPU9250 here].&lt;br /&gt;
&lt;br /&gt;
All useful stuff are available [https://drive.google.com/drive/folders/15HhIHfoJ6WcMU1nhQ93dDLvj_SIr3SEa?usp=sharing here] on my gdrive space, there is an opentrack debian package too.&lt;/div&gt;</summary>
		<author><name>Massima</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=User_talk:Massima&amp;diff=122683</id>
		<title>User talk:Massima</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=User_talk:Massima&amp;diff=122683"/>
		<updated>2020-03-28T15:41:06Z</updated>

		<summary type="html">&lt;p&gt;Massima: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Welcome to the wiki|added-by=Johan G}}&lt;br /&gt;
&lt;br /&gt;
== HATIRE HEADTRACK (a little guide) ==&lt;br /&gt;
Some tips and hints that you might find helpful.&lt;br /&gt;
&lt;br /&gt;
=== Maybe use a subpage to your user page for the draft ===&lt;br /&gt;
I can recommend putting your draft on a subpage to your user page by moving it to for example [[User:Massima/Howto:Head Arduino Tracker for FaceTrackNoIR]] or [[User:Massima/Howto:Hatire head tracker]].  See also title below.  But do remember to put a link to it on your user page so you you have a convenient way back to it. ;-)&lt;br /&gt;
&lt;br /&gt;
Having it on a separate page have several advantages.  Primarily that you can have several drafts running and that you have a discussion page for each of them, which is useful for feedback.&lt;br /&gt;
&lt;br /&gt;
If you want to move the page, you do that through the drop down menu immediately to the left of the search box of the wiki.  While you do not have to to leave a redirect this time, consider doing that in the future as links from other websites will otherwise break.  Leaving a redirect simply means that the original page will be emptied and only redirect to the moved page.&lt;br /&gt;
&lt;br /&gt;
—[[User:Johan G|Johan G]] ([[User_talk:Johan_G|Talk]] | [[Special:Contributions/Johan_G|contribs]]) 22:38, 26 March 2020 (EDT)&lt;br /&gt;
&lt;br /&gt;
=== Title ===&lt;br /&gt;
Unless it is the name of something we try to use &amp;quot;sentence case&amp;quot; rather than &amp;quot;title case&amp;quot;.  For example ''Long page title'' rather than ''Long Page Title'', but still ''FlightGear aircraft'' rather than ''Flightgear aircraft''.&lt;br /&gt;
&lt;br /&gt;
furax49 seem to use ''Head Arduino Tracker for FaceTrackNoIR'', ''Head Arduino Tracker'', ''hatire'' and ''HAT'' interchangeably when mentioning the software (like [https://sourceforge.net/p/hatire/code/ci/master/tree/ here]).  Please use one of those in the title, and chose a title you feel is both unambiguous and concise.&lt;br /&gt;
&lt;br /&gt;
—[[User:Johan G|Johan G]] ([[User_talk:Johan_G|Talk]] | [[Special:Contributions/Johan_G|contribs]]) 22:38, 26 March 2020 (EDT)&lt;br /&gt;
&lt;br /&gt;
=== Formatting and layout ===&lt;br /&gt;
Please skim through [[Help:Your first article]] as it has lots of hints and tips on section headings, lists etc.  You might also want to consider skimming through all the pages in the left column in the box above.  I am quite sure you will find parts of them useful.&lt;br /&gt;
&lt;br /&gt;
—[[User:Johan G|Johan G]] ([[User_talk:Johan_G|Talk]] | [[Special:Contributions/Johan_G|contribs]]) 22:38, 26 March 2020 (EDT)&lt;br /&gt;
&lt;br /&gt;
[[User:Massima|Massima]] ([[User talk:Massima|talk]]) 11:40, 28 March 2020 (EDT)thanks i tried to apply all your suggestions, my page is a work in progress&lt;/div&gt;</summary>
		<author><name>Massima</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=User:Massima/Howto:Hatire_head_tracker&amp;diff=122682</id>
		<title>User:Massima/Howto:Hatire head tracker</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=User:Massima/Howto:Hatire_head_tracker&amp;diff=122682"/>
		<updated>2020-03-28T15:30:54Z</updated>

		<summary type="html">&lt;p&gt;Massima: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;'''Head Arduino Tracker (aka Hatire)'''&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I write this guide to help anyone to use hathire in any sim/game. Let’s start with hw and sw requirements.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''hardware:'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. a MPU9250 device preferring a 5V tolerant device, i did not test a 9255; &lt;br /&gt;
[[File:Mpu9250.png|thumb|Mpu9250]]&lt;br /&gt;
2. an arduino board, you can choose any kind but if your MPU works at 3.3V,  you need a board with a 3.3V pin. I use this pro micro board 3.3V and 5V (it runs at 4.68V);&lt;br /&gt;
[[File:Pro-micro.png|thumb|Pro-micro]]&lt;br /&gt;
3. a push button; &lt;br /&gt;
&lt;br /&gt;
4. i used classic Dupont wires and some Dupont core plus and DuPont plastic shell plug chief.&lt;br /&gt;
&lt;br /&gt;
Obviously this is not the only way to connect it, see http://edtracker.org.uk/ you could use a breadboard or a PCB. I use wires because i can disassemble it if needed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''software'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''''Windows:'''''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. install arduino IDE and drivers for your board;&lt;br /&gt;
&lt;br /&gt;
2. connect your board and open device manager as amministrator→ ports (right click) → properties → port setting:&lt;br /&gt;
[[File:Win setup.png|thumb|Win setup1]][[File:Win setup2.png|thumb|Win setup2]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''''Linux:'''''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. download the arduino IDE, unpack somewhere;&lt;br /&gt;
&lt;br /&gt;
2. connect your arduino, open a terminal and type: “lsusb”. You get something like this:  &lt;br /&gt;
''“Bus 003 Device 008: ID 2341:8037 Arduino SA Arduino Micro”. Yours will be different;''&lt;br /&gt;
&lt;br /&gt;
3. as root create a file in “/etc/udev/rules.d”. Call it “52-arduino.rules”, inside put:&lt;br /&gt;
&lt;br /&gt;
  ''SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;2341&amp;quot;, ATTR{idProduct}==&amp;quot;8037&amp;quot;, MODE=&amp;quot;0666&amp;quot;, GROUP=&amp;quot;plugdev&amp;quot;, SYMLINK+=&amp;quot;arduino arduino_micro&amp;quot;''&lt;br /&gt;
&lt;br /&gt;
4. IdVendor and idProduct could be different for your board.&lt;br /&gt;
&lt;br /&gt;
5. Restart udev as root with ''“service udev restart”'';&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''tricks:'''&amp;lt;/big&amp;gt;you could have problem flashing the code on board try, while you press load, to reset the board connecting for a while RST with GND (windows and linux), remove modemmanager (linux). Perhaps if arduino IDE doesn’t start you need to  make the main binary executable with ''“chmod +x /path/filename”''(linux).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''connections'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A visual scheme is available on the edtracker site, anyway you need the following connections:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! MPU9250 !! Arduino Board !!  !! button !! Arduino Board&lt;br /&gt;
|-&lt;br /&gt;
| VCC || 5V ||  || || RST&lt;br /&gt;
|-&lt;br /&gt;
| GND || GND ||  ||  || GND&lt;br /&gt;
|-&lt;br /&gt;
| SDA || SDA (pin 2 for micro)* ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| SCL ||SCL (pin 3 for micro)* ||  ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*  pins change for different boards.&lt;br /&gt;
&lt;br /&gt;
[[File:My headtrack built.jpg|thumb|my headtrack built]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''the code'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I would say thanks to @hideakitai for his library (https://github.com/hideakitai), it is the only that gives us pitch, roll, yaw. I traslate them in a binary format used by hatire. So install its library in the library manager.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''calibrate the MPU9250 (be aware from EM sources)'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first step needs to open the sketch called “calibration” (file→ examples→ MPU9250), load it and open the serial console:&lt;br /&gt;
&lt;br /&gt;
1. Keep the MPU9250 on the table, horizontal, don’t move it!! so it will calibrate the accelerometer and gyroscope;&lt;br /&gt;
&lt;br /&gt;
2. soon you will read “Mag Calibration: Wave device in a figure eight until done!”. Now rotate it for 360° describing a sphere, fast, rotate it in every position;&lt;br /&gt;
&lt;br /&gt;
3. at the end save datas like these: &lt;br /&gt;
&lt;br /&gt;
''&lt;br /&gt;
&amp;lt; calibration parameters &amp;gt;&lt;br /&gt;
   accel bias [g]: &lt;br /&gt;
13.85, 68.24, -206.36&lt;br /&gt;
  gyro bias [deg/s]: &lt;br /&gt;
-5.79, -3.03, -2.47&lt;br /&gt;
    mag bias [mG]: &lt;br /&gt;
-39.82, 77.82, -422.38&lt;br /&gt;
    mag scale []: &lt;br /&gt;
1.04, 1.02, 0.94&lt;br /&gt;
''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. Open my  sketch “mpu9250-hatire” and change values, with yours:&lt;br /&gt;
&lt;br /&gt;
'''&lt;br /&gt;
  mpu.setGyroBias(0, -5.79);&lt;br /&gt;
  mpu.setGyroBias(1, -3.03);&lt;br /&gt;
  mpu.setGyroBias(2, -2.47);&lt;br /&gt;
  mpu.setMagBias(0, -39.82);&lt;br /&gt;
  mpu.setMagBias(1, +77.82);&lt;br /&gt;
  mpu.setMagBias(2, -422.38);&lt;br /&gt;
  mpu.setMagScale(0, +1.04);&lt;br /&gt;
  mpu.setMagScale(1, +1.02);&lt;br /&gt;
  mpu.setMagScale(2, +0.94);''&lt;br /&gt;
&lt;br /&gt;
Do not enter data for accelerometer, they are commented in that file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5. Load the code!!! you can cange the magnetic declination for your country (http://www.magnetic-declination.com) too.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''test'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now it is time to test your system. The loaded code never freezes, my tests platform:&lt;br /&gt;
 &lt;br /&gt;
Debian testing+opentrack 2.3.11 unstable+FlighGear 2019.1.1 → running time 1h 35 min;&lt;br /&gt;
&lt;br /&gt;
Windows10+opentrack daily build+Falcon BMS 4.34.3→ running time 1h 25 min;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''setup'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''links'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A link on the main opentrack site is available [https://github.com/opentrack/opentrack/wiki/Built-a-Hatire-headtracker-with-a-MPU9250 here].&lt;br /&gt;
&lt;br /&gt;
All useful stuff are available [https://drive.google.com/drive/folders/15HhIHfoJ6WcMU1nhQ93dDLvj_SIr3SEa?usp=sharing here] on my gdrive space, there is an opentrack debian package too.&lt;/div&gt;</summary>
		<author><name>Massima</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=User:Massima/Howto:Hatire_head_tracker&amp;diff=122680</id>
		<title>User:Massima/Howto:Hatire head tracker</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=User:Massima/Howto:Hatire_head_tracker&amp;diff=122680"/>
		<updated>2020-03-28T15:23:58Z</updated>

		<summary type="html">&lt;p&gt;Massima: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;'''Hatire headtrack (a little guide)'''&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I write this guide to help anyone to use hathire in any sim/game. Let’s start with hw and sw requirements.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''hardware:'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. a MPU9250 device preferring a 5V tolerant device, i did not test a 9255; &lt;br /&gt;
[[File:Mpu9250.png|thumb|Mpu9250]]&lt;br /&gt;
2. an arduino board, you can choose any kind but if your MPU works at 3.3V,  you need a board with a 3.3V pin. I use this pro micro board 3.3V and 5V (it runs at 4.68V);&lt;br /&gt;
[[File:Pro-micro.png|thumb|Pro-micro]]&lt;br /&gt;
3. a push button; &lt;br /&gt;
&lt;br /&gt;
4. i used classic Dupont wires and some Dupont core plus and DuPont plastic shell plug chief.&lt;br /&gt;
&lt;br /&gt;
Obviously this is not the only way to connect it, see http://edtracker.org.uk/ you could use a breadboard or a PCB. I use wires because i can disassemble it if needed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''software'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''''Windows:'''''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. install arduino IDE and drivers for your board;&lt;br /&gt;
&lt;br /&gt;
2. connect your board and open device manager as amministrator→ ports (right click) → properties → port setting:&lt;br /&gt;
[[File:Win setup.png|thumb|Win setup1]][[File:Win setup2.png|thumb|Win setup2]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''''Linux:'''''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. download the arduino IDE, unpack somewhere;&lt;br /&gt;
&lt;br /&gt;
2. connect your arduino, open a terminal and type: “lsusb”. You get something like this:  &lt;br /&gt;
''“Bus 003 Device 008: ID 2341:8037 Arduino SA Arduino Micro”. Yours will be different;''&lt;br /&gt;
&lt;br /&gt;
3. as root create a file in “/etc/udev/rules.d”. Call it “52-arduino.rules”, inside put:&lt;br /&gt;
&lt;br /&gt;
  ''SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;2341&amp;quot;, ATTR{idProduct}==&amp;quot;8037&amp;quot;, MODE=&amp;quot;0666&amp;quot;, GROUP=&amp;quot;plugdev&amp;quot;, SYMLINK+=&amp;quot;arduino arduino_micro&amp;quot;''&lt;br /&gt;
&lt;br /&gt;
4. IdVendor and idProduct could be different for your board.&lt;br /&gt;
&lt;br /&gt;
5. Restart udev as root with ''“service udev restart”'';&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''tricks:'''&amp;lt;/big&amp;gt;you could have problem flashing the code on board try, while you press load, to reset the board connecting for a while RST with GND (windows and linux), remove modemmanager (linux). Perhaps if arduino IDE doesn’t start you need to  make the main binary executable with ''“chmod +x /path/filename”''(linux).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''connections'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A visual scheme is available on the edtracker site, anyway you need the following connections:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! MPU9250 !! Arduino Board !!  !! button !! Arduino Board&lt;br /&gt;
|-&lt;br /&gt;
| VCC || 5V ||  || || RST&lt;br /&gt;
|-&lt;br /&gt;
| GND || GND ||  ||  || GND&lt;br /&gt;
|-&lt;br /&gt;
| SDA || SDA (pin 2 for micro)* ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| SCL ||SCL (pin 3 for micro)* ||  ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*  pins change for different boards.&lt;br /&gt;
&lt;br /&gt;
[[File:My headtrack built.jpg|thumb|my headtrack built]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''the code'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I would say thanks to @hideakitai for his library (https://github.com/hideakitai), it is the only that gives us pitch, roll, yaw. I traslate them in a binary format used by hatire. So install its library in the library manager.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''calibrate the MPU9250 (be aware from EM sources)'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first step needs to open the sketch called “calibration” (file→ examples→ MPU9250), load it and open the serial console:&lt;br /&gt;
&lt;br /&gt;
1. Keep the MPU9250 on the table, horizontal, don’t move it!! so it will calibrate the accelerometer and gyroscope;&lt;br /&gt;
&lt;br /&gt;
2. soon you will read “Mag Calibration: Wave device in a figure eight until done!”. Now rotate it for 360° describing a sphere, fast, rotate it in every position;&lt;br /&gt;
&lt;br /&gt;
3. at the end save datas like these: &lt;br /&gt;
&lt;br /&gt;
''&lt;br /&gt;
&amp;lt; calibration parameters &amp;gt;&lt;br /&gt;
   accel bias [g]: &lt;br /&gt;
13.85, 68.24, -206.36&lt;br /&gt;
  gyro bias [deg/s]: &lt;br /&gt;
-5.79, -3.03, -2.47&lt;br /&gt;
    mag bias [mG]: &lt;br /&gt;
-39.82, 77.82, -422.38&lt;br /&gt;
    mag scale []: &lt;br /&gt;
1.04, 1.02, 0.94&lt;br /&gt;
''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. Open my  sketch “mpu9250-hatire” and change values, with yours:&lt;br /&gt;
&lt;br /&gt;
'''&lt;br /&gt;
  mpu.setGyroBias(0, -5.79);&lt;br /&gt;
  mpu.setGyroBias(1, -3.03);&lt;br /&gt;
  mpu.setGyroBias(2, -2.47);&lt;br /&gt;
  mpu.setMagBias(0, -39.82);&lt;br /&gt;
  mpu.setMagBias(1, +77.82);&lt;br /&gt;
  mpu.setMagBias(2, -422.38);&lt;br /&gt;
  mpu.setMagScale(0, +1.04);&lt;br /&gt;
  mpu.setMagScale(1, +1.02);&lt;br /&gt;
  mpu.setMagScale(2, +0.94);''&lt;br /&gt;
&lt;br /&gt;
Do not enter data for accelerometer, they are commented in that file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5. Load the code!!! you can cange the magnetic declination for your country (http://www.magnetic-declination.com) too.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''test'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now it is time to test your system. The loaded code never freezes, my tests platform:&lt;br /&gt;
 &lt;br /&gt;
Debian testing+opentrack 2.3.11 unstable+FlighGear 2019.1.1 → running time 1h 35 min;&lt;br /&gt;
&lt;br /&gt;
Windows10+opentrack daily build+Falcon BMS 4.34.3→ running time 1h 25 min;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''setup'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''links'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A link on the main opentrack site is available [https://github.com/opentrack/opentrack/wiki/Built-a-Hatire-headtracker-with-a-MPU9250 here].&lt;br /&gt;
&lt;br /&gt;
All useful stuff are available [https://drive.google.com/drive/folders/15HhIHfoJ6WcMU1nhQ93dDLvj_SIr3SEa?usp=sharing here] on my gdrive space, there is an opentrack debian package too.&lt;/div&gt;</summary>
		<author><name>Massima</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=User:Massima&amp;diff=122679</id>
		<title>User:Massima</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=User:Massima&amp;diff=122679"/>
		<updated>2020-03-28T15:13:45Z</updated>

		<summary type="html">&lt;p&gt;Massima: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[User:Massima/Howto:Hatire_head_tracker]]&lt;/div&gt;</summary>
		<author><name>Massima</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=User:Massima&amp;diff=122677</id>
		<title>User:Massima</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=User:Massima&amp;diff=122677"/>
		<updated>2020-03-28T15:09:10Z</updated>

		<summary type="html">&lt;p&gt;Massima: Blanked the page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Massima</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=User:Massima/Howto:Hatire_head_tracker&amp;diff=122676</id>
		<title>User:Massima/Howto:Hatire head tracker</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=User:Massima/Howto:Hatire_head_tracker&amp;diff=122676"/>
		<updated>2020-03-28T15:08:29Z</updated>

		<summary type="html">&lt;p&gt;Massima: Created page with &amp;quot;&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;'''HATIRE HEADTRACK (a little guide)'''&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;  I write this guide to help anyone to use hathire in any sim/game. Let’s start with hw and sw requir...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;'''HATIRE HEADTRACK (a little guide)'''&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I write this guide to help anyone to use hathire in any sim/game. Let’s start with hw and sw requirements.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''HARDWARE:'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. a MPU9250 device preferring a 5V tolerant device, i did not test a 9255; &lt;br /&gt;
[[File:Mpu9250.png|thumb|Mpu9250]]&lt;br /&gt;
2. an arduino board, you can choose any kind but if your MPU works at 3.3V,  you need a board with a 3.3V pin. I use this pro micro board 3.3V and 5V (it runs at 4.68V);&lt;br /&gt;
[[File:Pro-micro.png|thumb|Pro-micro]]&lt;br /&gt;
3. a push button; &lt;br /&gt;
&lt;br /&gt;
4. i used classic Dupont wires and some Dupont core plus and DuPont plastic shell plug chief.&lt;br /&gt;
&lt;br /&gt;
Obviously this is not the only way to connect it, see http://edtracker.org.uk/ you could use a breadboard or a PCB. I use wires because i can disassemble it if needed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''SOFTWARE'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''''WINDOWS:'''''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. install arduino IDE and drivers for your board;&lt;br /&gt;
&lt;br /&gt;
2. connect your board and open device manager as amministrator→ ports (right click) → properties → port setting:&lt;br /&gt;
[[File:Win setup.png|thumb|Win setup1]][[File:Win setup2.png|thumb|Win setup2]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''''LINUX:'''''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. download the arduino IDE, unpack somewhere;&lt;br /&gt;
&lt;br /&gt;
2. connect your arduino, open a terminal and type: “lsusb”. You get something like this:  &lt;br /&gt;
''“Bus 003 Device 008: ID 2341:8037 Arduino SA Arduino Micro”. Yours will be different;''&lt;br /&gt;
&lt;br /&gt;
3. as root create a file in “/etc/udev/rules.d”. Call it “52-arduino.rules”, inside put:&lt;br /&gt;
&lt;br /&gt;
  ''SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;2341&amp;quot;, ATTR{idProduct}==&amp;quot;8037&amp;quot;, MODE=&amp;quot;0666&amp;quot;, GROUP=&amp;quot;plugdev&amp;quot;, SYMLINK+=&amp;quot;arduino arduino_micro&amp;quot;''&lt;br /&gt;
&lt;br /&gt;
4. IdVendor and idProduct could be different for your board.&lt;br /&gt;
&lt;br /&gt;
5. Restart udev as root with ''“service udev restart”'';&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''TRICKS:'''&amp;lt;/big&amp;gt;you could have problem flashing the code on board try, while you press load, to reset the board connecting for a while RST with GND (windows and linux), remove modemmanager (linux). Perhaps if arduino IDE doesn’t start you need to  make the main binary executable with ''“chmod +x /path/filename”''(linux).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''CONNECTIONS'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A visual scheme is available on the edtracker site, anyway you need the following connections:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! MPU9250 !! Arduino Board !!  !! button !! Arduino Board&lt;br /&gt;
|-&lt;br /&gt;
| VCC || 5V ||  || || RST&lt;br /&gt;
|-&lt;br /&gt;
| GND || GND ||  ||  || GND&lt;br /&gt;
|-&lt;br /&gt;
| SDA || SDA (pin 2 for micro)* ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| SCL ||SCL (pin 3 for micro)* ||  ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*  pins change for different boards.&lt;br /&gt;
&lt;br /&gt;
[[File:My headtrack built.jpg|thumb|my headtrack built]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''THE CODE'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I would say thanks to @hideakitai for his library (https://github.com/hideakitai), it is the only that gives us pitch, roll, yaw. I traslate them in a binary format used by hatire. So install its library in the library manager.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''CALIBRATE THE MPU9250 (be aware from EM sources)'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first step needs to open the sketch called “calibration” (file→ examples→ MPU9250), load it and open the serial console:&lt;br /&gt;
&lt;br /&gt;
1. Keep the MPU9250 on the table, horizontal, don’t move it!! so it will calibrate the accelerometer and gyroscope;&lt;br /&gt;
&lt;br /&gt;
2. soon you will read “Mag Calibration: Wave device in a figure eight until done!”. Now rotate it for 360° describing a sphere, fast, rotate it in every position;&lt;br /&gt;
&lt;br /&gt;
3. at the end save datas like these: &lt;br /&gt;
&lt;br /&gt;
''&lt;br /&gt;
&amp;lt; calibration parameters &amp;gt;&lt;br /&gt;
   accel bias [g]: &lt;br /&gt;
13.85, 68.24, -206.36&lt;br /&gt;
  gyro bias [deg/s]: &lt;br /&gt;
-5.79, -3.03, -2.47&lt;br /&gt;
    mag bias [mG]: &lt;br /&gt;
-39.82, 77.82, -422.38&lt;br /&gt;
    mag scale []: &lt;br /&gt;
1.04, 1.02, 0.94&lt;br /&gt;
''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. Open my  sketch “mpu9250-hatire” and change values, with yours:&lt;br /&gt;
&lt;br /&gt;
'''&lt;br /&gt;
  mpu.setGyroBias(0, -5.79);&lt;br /&gt;
  mpu.setGyroBias(1, -3.03);&lt;br /&gt;
  mpu.setGyroBias(2, -2.47);&lt;br /&gt;
  mpu.setMagBias(0, -39.82);&lt;br /&gt;
  mpu.setMagBias(1, +77.82);&lt;br /&gt;
  mpu.setMagBias(2, -422.38);&lt;br /&gt;
  mpu.setMagScale(0, +1.04);&lt;br /&gt;
  mpu.setMagScale(1, +1.02);&lt;br /&gt;
  mpu.setMagScale(2, +0.94);''&lt;br /&gt;
&lt;br /&gt;
DO NOT ENTER DATA FOR THE ACCELEROMETER, they are commented in that file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5. Load the code!!! you can cange the magnetic declination for your country (http://www.magnetic-declination.com) too.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''TEST'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now it is time to test your system. The loaded code never freezes, my tests platform:&lt;br /&gt;
 &lt;br /&gt;
Debian testing+opentrack 2.3.11 unstable+FlighGear 2019.1.1 → running time 1h 35 min;&lt;br /&gt;
&lt;br /&gt;
Windows10+opentrack daily build+Falcon BMS 4.34.3→ running time 1h 25 min;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''SETUP'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''LINKS'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A link on the main opentrack site is available [https://github.com/opentrack/opentrack/wiki/Built-a-Hatire-headtracker-with-a-MPU9250 here].&lt;br /&gt;
&lt;br /&gt;
All useful stuff are available [https://drive.google.com/drive/folders/15HhIHfoJ6WcMU1nhQ93dDLvj_SIr3SEa?usp=sharing here] on my gdrive space, there is an opentrack debian package too.&lt;/div&gt;</summary>
		<author><name>Massima</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=User:Massima&amp;diff=122585</id>
		<title>User:Massima</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=User:Massima&amp;diff=122585"/>
		<updated>2020-03-26T17:27:00Z</updated>

		<summary type="html">&lt;p&gt;Massima: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;'''HATIRE HEADTRACK (a little guide)'''&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I write this guide to help anyone to use hathire in any sim/game. Let’s start with hw and sw requirements.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''HARDWARE:'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. a MPU9250 device preferring a 5V tolerant device, i did not test a 9255; &lt;br /&gt;
[[File:Mpu9250.png|thumb|Mpu9250]]&lt;br /&gt;
2. an arduino board, you can choose any kind but if your MPU works at 3.3V,  you need a board with a 3.3V pin. I use this pro micro board 3.3V and 5V (it runs at 4.68V);&lt;br /&gt;
[[File:Pro-micro.png|thumb|Pro-micro]]&lt;br /&gt;
3. a push button; &lt;br /&gt;
&lt;br /&gt;
4. i used classic Dupont wires and some Dupont core plus and DuPont plastic shell plug chief.&lt;br /&gt;
&lt;br /&gt;
Obviously this is not the only way to connect it, see http://edtracker.org.uk/ you could use a breadboard or a PCB. I use wires because i can disassemble it if needed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''SOFTWARE'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''''WINDOWS:'''''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. install arduino IDE and drivers for your board;&lt;br /&gt;
&lt;br /&gt;
2. connect your board and open device manager as amministrator→ ports (right click) → properties → port setting:&lt;br /&gt;
[[File:Win setup.png|thumb|Win setup1]][[File:Win setup2.png|thumb|Win setup2]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''''LINUX:'''''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. download the arduino IDE, unpack somewhere;&lt;br /&gt;
&lt;br /&gt;
2. connect your arduino, open a terminal and type: “lsusb”. You get something like this:  &lt;br /&gt;
''“Bus 003 Device 008: ID 2341:8037 Arduino SA Arduino Micro”. Yours will be different;''&lt;br /&gt;
&lt;br /&gt;
3. as root create a file in “/etc/udev/rules.d”. Call it “52-arduino.rules”, inside put:&lt;br /&gt;
&lt;br /&gt;
  ''SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;2341&amp;quot;, ATTR{idProduct}==&amp;quot;8037&amp;quot;, MODE=&amp;quot;0666&amp;quot;, GROUP=&amp;quot;plugdev&amp;quot;, SYMLINK+=&amp;quot;arduino arduino_micro&amp;quot;''&lt;br /&gt;
&lt;br /&gt;
4. IdVendor and idProduct could be different for your board.&lt;br /&gt;
&lt;br /&gt;
5. Restart udev as root with ''“service udev restart”'';&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''TRICKS:'''&amp;lt;/big&amp;gt;you could have problem flashing the code on board try, while you press load, to reset the board connecting for a while RST with GND (windows and linux), remove modemmanager (linux). Perhaps if arduino IDE doesn’t start you need to  make the main binary executable with ''“chmod +x /path/filename”''(linux).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''CONNECTIONS'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A visual scheme is available on the edtracker site, anyway you need the following connections:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! MPU9250 !! Arduino Board !!  !! button !! Arduino Board&lt;br /&gt;
|-&lt;br /&gt;
| VCC || 5V ||  || || RST&lt;br /&gt;
|-&lt;br /&gt;
| GND || GND ||  ||  || GND&lt;br /&gt;
|-&lt;br /&gt;
| SDA || SDA (pin 2 for micro)* ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| SCL ||SCL (pin 3 for micro)* ||  ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*  pins change for different boards.&lt;br /&gt;
&lt;br /&gt;
[[File:My headtrack built.jpg|thumb|my headtrack built]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''THE CODE'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I would say thanks to @hideakitai for his library (https://github.com/hideakitai), it is the only that gives us pitch, roll, yaw. I traslate them in a binary format used by hatire. So install its library in the library manager.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''CALIBRATE THE MPU9250 (be aware from EM sources)'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first step needs to open the sketch called “calibration” (file→ examples→ MPU9250), load it and open the serial console:&lt;br /&gt;
&lt;br /&gt;
1. Keep the MPU9250 on the table, horizontal, don’t move it!! so it will calibrate the accelerometer and gyroscope;&lt;br /&gt;
&lt;br /&gt;
2. soon you will read “Mag Calibration: Wave device in a figure eight until done!”. Now rotate it for 360° describing a sphere, fast, rotate it in every position;&lt;br /&gt;
&lt;br /&gt;
3. at the end save datas like these: &lt;br /&gt;
&lt;br /&gt;
''&lt;br /&gt;
&amp;lt; calibration parameters &amp;gt;&lt;br /&gt;
   accel bias [g]: &lt;br /&gt;
13.85, 68.24, -206.36&lt;br /&gt;
  gyro bias [deg/s]: &lt;br /&gt;
-5.79, -3.03, -2.47&lt;br /&gt;
    mag bias [mG]: &lt;br /&gt;
-39.82, 77.82, -422.38&lt;br /&gt;
    mag scale []: &lt;br /&gt;
1.04, 1.02, 0.94&lt;br /&gt;
''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. Open my  sketch “mpu9250-hatire” and change values, with yours:&lt;br /&gt;
&lt;br /&gt;
'''&lt;br /&gt;
  mpu.setGyroBias(0, -5.79);&lt;br /&gt;
  mpu.setGyroBias(1, -3.03);&lt;br /&gt;
  mpu.setGyroBias(2, -2.47);&lt;br /&gt;
  mpu.setMagBias(0, -39.82);&lt;br /&gt;
  mpu.setMagBias(1, +77.82);&lt;br /&gt;
  mpu.setMagBias(2, -422.38);&lt;br /&gt;
  mpu.setMagScale(0, +1.04);&lt;br /&gt;
  mpu.setMagScale(1, +1.02);&lt;br /&gt;
  mpu.setMagScale(2, +0.94);''&lt;br /&gt;
&lt;br /&gt;
DO NOT ENTER DATA FOR THE ACCELEROMETER, they are commented in that file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5. Load the code!!! you can cange the magnetic declination for your country (http://www.magnetic-declination.com) too.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''TEST'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now it is time to test your system. The loaded code never freezes, my tests platform:&lt;br /&gt;
 &lt;br /&gt;
Debian testing+opentrack 2.3.11 unstable+FlighGear 2019.1.1 → running time 1h 35 min;&lt;br /&gt;
&lt;br /&gt;
Windows10+opentrack daily build+Falcon BMS 4.34.3→ running time 1h 25 min;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''SETUP'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''LINKS'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A link on the main opentrack site is available [https://github.com/opentrack/opentrack/wiki/Built-a-Hatire-headtracker-with-a-MPU9250 here].&lt;br /&gt;
&lt;br /&gt;
All useful stuff are available [https://drive.google.com/drive/folders/15HhIHfoJ6WcMU1nhQ93dDLvj_SIr3SEa?usp=sharing here] on my gdrive space, there is an opentrack debian package too.&lt;/div&gt;</summary>
		<author><name>Massima</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=User:Massima&amp;diff=122584</id>
		<title>User:Massima</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=User:Massima&amp;diff=122584"/>
		<updated>2020-03-26T17:24:30Z</updated>

		<summary type="html">&lt;p&gt;Massima: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;'''HATIRE HEADTRACK (a little guide)'''&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I write this guide to help anyone to use hathire in any sim/game. Let’s start with hw and sw requirements.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''HARDWARE:'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. a MPU9250 device preferring a 5V tolerant device, i did not test a 9255; &lt;br /&gt;
[[File:Mpu9250.png|thumb|Mpu9250]]&lt;br /&gt;
2. an arduino board, you can choose any kind but if your MPU works at 3.3V,  you need a board with a 3.3V pin. I use this pro micro board 3.3V and 5V (it runs at 4.68V);&lt;br /&gt;
[[File:Pro-micro.png|thumb|Pro-micro]]&lt;br /&gt;
3. a push button; &lt;br /&gt;
&lt;br /&gt;
4. i used classic Dupont wires and some Dupont core plus and DuPont plastic shell plug chief.&lt;br /&gt;
&lt;br /&gt;
Obviously this is not the only way to connect it, see http://edtracker.org.uk/ you could use a breadboard or a PCB. I use wires because i can disassemble it if needed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''SOFTWARE'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''''WINDOWS:'''''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. install arduino IDE and drivers for your board;&lt;br /&gt;
&lt;br /&gt;
2. connect your board and open device manager as amministrator→ ports (right click) → properties → port setting:&lt;br /&gt;
[[File:Win setup.png|thumb|Win setup1]][[File:Win setup2.png|thumb|Win setup2]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''''LINUX:'''''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. download the arduino IDE, unpack somewhere;&lt;br /&gt;
&lt;br /&gt;
2. connect your arduino, open a terminal and type: “lsusb”. You get something like this:  &lt;br /&gt;
''“Bus 003 Device 008: ID 2341:8037 Arduino SA Arduino Micro”. Yours will be different;''&lt;br /&gt;
&lt;br /&gt;
3. as root create a file in “/etc/udev/rules.d”. Call it “52-arduino.rules”, inside put:&lt;br /&gt;
&lt;br /&gt;
  ''SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;2341&amp;quot;, ATTR{idProduct}==&amp;quot;8037&amp;quot;, MODE=&amp;quot;0666&amp;quot;, GROUP=&amp;quot;plugdev&amp;quot;, SYMLINK+=&amp;quot;arduino arduino_micro&amp;quot;''&lt;br /&gt;
&lt;br /&gt;
4. IdVendor and idProduct could be different for your board.&lt;br /&gt;
&lt;br /&gt;
5. Restart udev as root with ''“service udev restart”'';&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''TRICKS:'''&amp;lt;/big&amp;gt;you could have problem flashing the code on board try, while you press load, to reset the board connecting for a while RST with GND (windows and linux), remove modemmanager (linux). Perhaps if arduino IDE doesn’t start you need to  make the main binary executable with ''“chmod +x /path/filename”''(linux).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''CONNECTIONS'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A visual scheme is available on the edtracker site, anyway you need the following connections:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! MPU9250 !! Arduino Board !!  !! button !! Arduino Board&lt;br /&gt;
|-&lt;br /&gt;
| VCC || 5V ||  || || RST&lt;br /&gt;
|-&lt;br /&gt;
| GND || GND ||  ||  || GND&lt;br /&gt;
|-&lt;br /&gt;
| SDA || SDA (pin 2 for micro)* ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| SCL ||SCL (pin 3 for micro)* ||  ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*  pins change for different boards.&lt;br /&gt;
&lt;br /&gt;
[[File:My headtrack built.jpg|thumb|my headtrack built]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''THE CODE'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I would say thanks to @hideakitai for his library (https://github.com/hideakitai), it is the only that gives us pitch, roll, yaw. I traslate them in a binary format used by hatire. So install its library in the library manager.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''CALIBRATE THE MPU9250 (be aware from EM sources)'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first step needs to open the sketch called “calibration” (file→ examples→ MPU9250), load it and open the serial console:&lt;br /&gt;
&lt;br /&gt;
1. Keep the MPU9250 on the table, horizontal, don’t move it!! so it will calibrate the accelerometer and gyroscope;&lt;br /&gt;
&lt;br /&gt;
2. soon you will read “Mag Calibration: Wave device in a figure eight until done!”. Now rotate it for 360° describing a sphere, fast, rotate it in every position;&lt;br /&gt;
&lt;br /&gt;
3. at the end save datas like these: &lt;br /&gt;
&lt;br /&gt;
''&lt;br /&gt;
&amp;lt; calibration parameters &amp;gt;&lt;br /&gt;
   accel bias [g]: &lt;br /&gt;
13.85, 68.24, -206.36&lt;br /&gt;
  gyro bias [deg/s]: &lt;br /&gt;
-5.79, -3.03, -2.47&lt;br /&gt;
    mag bias [mG]: &lt;br /&gt;
-39.82, 77.82, -422.38&lt;br /&gt;
    mag scale []: &lt;br /&gt;
1.04, 1.02, 0.94&lt;br /&gt;
''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. Open my  sketch “mpu9250-hatire” and change values, with yours:&lt;br /&gt;
&lt;br /&gt;
'''&lt;br /&gt;
  mpu.setGyroBias(0, -5.79);&lt;br /&gt;
  mpu.setGyroBias(1, -3.03);&lt;br /&gt;
  mpu.setGyroBias(2, -2.47);&lt;br /&gt;
  mpu.setMagBias(0, -39.82);&lt;br /&gt;
  mpu.setMagBias(1, +77.82);&lt;br /&gt;
  mpu.setMagBias(2, -422.38);&lt;br /&gt;
  mpu.setMagScale(0, +1.04);&lt;br /&gt;
  mpu.setMagScale(1, +1.02);&lt;br /&gt;
  mpu.setMagScale(2, +0.94);''&lt;br /&gt;
&lt;br /&gt;
DO NOT ENTER DATA FOR THE ACCELEROMETER, they are commented in that file.&lt;br /&gt;
&lt;br /&gt;
5. Load the code!!! you can cange the magnetic declination for your country (http://www.magnetic-declination.com) too.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''TEST'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now it is time to test your system. The loaded code never freezes, my tests platform:&lt;br /&gt;
 &lt;br /&gt;
Debian testing+opentrack 2.3.11 unstable+FlighGear 2019.1.1 → running time 1h 35 min;&lt;br /&gt;
&lt;br /&gt;
Windows10+opentrack daily build+Falcon BMS 4.34.3→ running time 1h 25 min;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''SETUP'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''LINKS'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A link on the main opentrack is available [https://github.com/opentrack/opentrack/wiki/Built-a-Hatire-headtracker-with-a-MPU9250 here].&lt;br /&gt;
&lt;br /&gt;
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.&lt;/div&gt;</summary>
		<author><name>Massima</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=User:Massima&amp;diff=122583</id>
		<title>User:Massima</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=User:Massima&amp;diff=122583"/>
		<updated>2020-03-26T17:14:50Z</updated>

		<summary type="html">&lt;p&gt;Massima: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;'''HATIRE HEADTRACK (a little guide)'''&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I write this guide to help anyone to use hathire in any sim/game. Let’s start with hw and sw requirements.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''HARDWARE:'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. a MPU9250 device preferring a 5V tolerant device, i did not test a 9255; &lt;br /&gt;
[[File:Mpu9250.png|thumb|Mpu9250]]&lt;br /&gt;
2. an arduino board, you can choose any kind but if your MPU works at 3.3V,  you need a board with a 3.3V pin. I use this pro micro board 3.3V and 5V (it runs at 4.68V);&lt;br /&gt;
[[File:Pro-micro.png|thumb|Pro-micro]]&lt;br /&gt;
3. a push button; &lt;br /&gt;
4. i used classic Dupont wires and some Dupont core plus and DuPont plastic shell plug chief.&lt;br /&gt;
&lt;br /&gt;
Obviously this is not the only way to connect it, see http://edtracker.org.uk/ you could use a breadboard or a PCB. I use wires because i can disassemble it if needed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''SOFTWARE'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''''WINDOWS:'''''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. install arduino IDE and drivers for your board;&lt;br /&gt;
&lt;br /&gt;
2. connect your board and open device manager as amministrator→ ports (right click) → properties → port setting:&lt;br /&gt;
[[File:Win setup.png|thumb|Win setup1]][[File:Win setup2.png|thumb|Win setup2]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''''LINUX:'''''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. download the arduino IDE, unpack somewhere;&lt;br /&gt;
&lt;br /&gt;
2. connect your arduino, open a terminal and type: “lsusb”. You get something like this:  &lt;br /&gt;
''“Bus 003 Device 008: ID 2341:8037 Arduino SA Arduino Micro”. Yours will be different;''&lt;br /&gt;
&lt;br /&gt;
3. as root create a file in “/etc/udev/rules.d”. Call it “52-arduino.rules”, inside put:&lt;br /&gt;
&lt;br /&gt;
  ''SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;2341&amp;quot;, ATTR{idProduct}==&amp;quot;8037&amp;quot;, MODE=&amp;quot;0666&amp;quot;, GROUP=&amp;quot;plugdev&amp;quot;, SYMLINK+=&amp;quot;arduino arduino_micro&amp;quot;''&lt;br /&gt;
&lt;br /&gt;
4. IdVendor and idProduct could be different for your board.&lt;br /&gt;
&lt;br /&gt;
5. Restart udev as root with ''“service udev restart”'';&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''TRICKS:'''&amp;lt;/big&amp;gt;you could have problem flashing the code on board try, while you press load, to reset the board connecting for a while RST with GND (windows and linux), remove modemmanager (linux). Perhaps if arduino IDE doesn’t start you need to  make the main binary executable with ''“chmod +x /path/filename”''(linux).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''CONNECTIONS'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A visual scheme is available on the edtracker site, anyway you need the following connections:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! MPU9250 !! Arduino Board !!  !! button !! Arduino Board&lt;br /&gt;
|-&lt;br /&gt;
| VCC || 5V ||  || || RST&lt;br /&gt;
|-&lt;br /&gt;
| GND || GND ||  ||  || GND&lt;br /&gt;
|-&lt;br /&gt;
| SDA || SDA (pin 2 for micro)* ||  ||  || &lt;br /&gt;
|-&lt;br /&gt;
| SCL ||SCL (pin 3 for micro)* ||  ||  || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*  pins change for different boards.&lt;br /&gt;
&lt;br /&gt;
[[File:My headtrack built.jpg|thumb|my headtrack built]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''THE CODE'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I would say thanks to @hideakitai for his library (https://github.com/hideakitai), it is the only that gives us pitch, roll, yaw. I traslate them in a binary format used by hatire. So install its library in the library manager.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''CALIBRATE THE MPU9250 (be aware from EM sources)'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first step needs to open the sketch called “calibration” (file→ examples→ MPU9250), load it and open the serial console:&lt;br /&gt;
&lt;br /&gt;
1. Keep the MPU9250 on the table, horizontal, don’t move it!! so it will calibrate the accelerometer and gyroscope;&lt;br /&gt;
&lt;br /&gt;
2. soon you will read “Mag Calibration: Wave device in a figure eight until done!”. Now rotate it for 360° describing a sphere, fast, rotate it in every position;&lt;br /&gt;
&lt;br /&gt;
3. at the end save datas like these: &lt;br /&gt;
&lt;br /&gt;
''&lt;br /&gt;
&amp;lt; calibration parameters &amp;gt;&lt;br /&gt;
   accel bias [g]: &lt;br /&gt;
13.85, 68.24, -206.36&lt;br /&gt;
  gyro bias [deg/s]: &lt;br /&gt;
-5.79, -3.03, -2.47&lt;br /&gt;
    mag bias [mG]: &lt;br /&gt;
-39.82, 77.82, -422.38&lt;br /&gt;
    mag scale []: &lt;br /&gt;
1.04, 1.02, 0.94&lt;br /&gt;
''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. Open my  sketch “mpu9250-hatire” and change values, with yours:&lt;br /&gt;
&lt;br /&gt;
'''&lt;br /&gt;
  mpu.setGyroBias(0, -5.79);&lt;br /&gt;
  mpu.setGyroBias(1, -3.03);&lt;br /&gt;
  mpu.setGyroBias(2, -2.47);&lt;br /&gt;
  mpu.setMagBias(0, -39.82);&lt;br /&gt;
  mpu.setMagBias(1, +77.82);&lt;br /&gt;
  mpu.setMagBias(2, -422.38);&lt;br /&gt;
  mpu.setMagScale(0, +1.04);&lt;br /&gt;
  mpu.setMagScale(1, +1.02);&lt;br /&gt;
  mpu.setMagScale(2, +0.94);''&lt;br /&gt;
&lt;br /&gt;
DO NOT ENTER DATA FOR THE ACCELEROMETER, they are commented in that file.&lt;/div&gt;</summary>
		<author><name>Massima</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=File:My_headtrack_built.jpg&amp;diff=122582</id>
		<title>File:My headtrack built.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=File:My_headtrack_built.jpg&amp;diff=122582"/>
		<updated>2020-03-26T17:07:28Z</updated>

		<summary type="html">&lt;p&gt;Massima: User created page with UploadWizard&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=={{int:filedesc}}==&lt;br /&gt;
{{Information&lt;br /&gt;
|description={{en|1=my headtrack built}}&lt;br /&gt;
|date=2020-03-26&lt;br /&gt;
|source={{own}}&lt;br /&gt;
|author=[[User:Massima|Massima]]&lt;br /&gt;
|permission=&lt;br /&gt;
|other versions=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=={{int:license-header}}==&lt;br /&gt;
{{self|cc-by-sa-4.0}}&lt;/div&gt;</summary>
		<author><name>Massima</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=User:Massima&amp;diff=122581</id>
		<title>User:Massima</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=User:Massima&amp;diff=122581"/>
		<updated>2020-03-26T17:01:23Z</updated>

		<summary type="html">&lt;p&gt;Massima: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;'''HATIRE HEADTRACK (a little guide)'''&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I write this guide to help anyone to use hathire in any sim/game. Let’s start with hw and sw requirements.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''HARDWARE:'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. a MPU9250 device preferring a 5V tolerant device, i did not test a 9255; &lt;br /&gt;
[[File:Mpu9250.png|thumb|Mpu9250]]&lt;br /&gt;
2. an arduino board, you can choose any kind but if your MPU works at 3.3V,  you need a board with a 3.3V pin. I use this pro micro board 3.3V and 5V (it runs at 4.68V);&lt;br /&gt;
[[File:Pro-micro.png|thumb|Pro-micro]]&lt;br /&gt;
3. a push button; &lt;br /&gt;
4. i used classic Dupont wires and some Dupont core plus and DuPont plastic shell plug chief.&lt;br /&gt;
&lt;br /&gt;
Obviously this is not the only way to connect it, see http://edtracker.org.uk/ you could use a breadboard or a PCB. I use wires because i can disassemble it if needed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''SOFTWARE'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''''WINDOWS:'''''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. install arduino IDE and drivers for your board;&lt;br /&gt;
&lt;br /&gt;
2. connect your board and open device manager as amministrator→ ports (right click) → properties → port setting:&lt;br /&gt;
[[File:Win setup.png|thumb|Win setup1]][[File:Win setup2.png|thumb|Win setup2]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''''LINUX:'''''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. download the arduino IDE, unpack somewhere;&lt;br /&gt;
&lt;br /&gt;
2. connect your arduino, open a terminal and type: “lsusb”. You get something like this:  &lt;br /&gt;
''“Bus 003 Device 008: ID 2341:8037 Arduino SA Arduino Micro”. Yours will be different;''&lt;br /&gt;
&lt;br /&gt;
3. as root create a file in “/etc/udev/rules.d”. Call it “52-arduino.rules”, inside put:&lt;br /&gt;
&lt;br /&gt;
  ''SUBSYSTEM==&amp;quot;usb&amp;quot;, ATTR{idVendor}==&amp;quot;2341&amp;quot;, ATTR{idProduct}==&amp;quot;8037&amp;quot;, MODE=&amp;quot;0666&amp;quot;, GROUP=&amp;quot;plugdev&amp;quot;, SYMLINK+=&amp;quot;arduino arduino_micro&amp;quot;''&lt;br /&gt;
&lt;br /&gt;
4. IdVendor and idProduct could be different for your board.&lt;br /&gt;
&lt;br /&gt;
5. Restart udev as root with ''“service udev restart”'';&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''TRICKS:'''&amp;lt;/big&amp;gt;you could have problem flashing the code on board try, while you press load, to reset the board connecting for a while RST with GND (windows and linux), remove modemmanager (linux). Perhaps if arduino IDE doesn’t start you need to  make the main binary executable with ''“chmod +x /path/filename”''(linux).&lt;/div&gt;</summary>
		<author><name>Massima</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=File:Win_setup2.png&amp;diff=122580</id>
		<title>File:Win setup2.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=File:Win_setup2.png&amp;diff=122580"/>
		<updated>2020-03-26T16:56:04Z</updated>

		<summary type="html">&lt;p&gt;Massima: User created page with UploadWizard&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=={{int:filedesc}}==&lt;br /&gt;
{{Information&lt;br /&gt;
|description={{en|1=Win setup2}}&lt;br /&gt;
|date=2020-03-26&lt;br /&gt;
|source={{own}}&lt;br /&gt;
|author=[[User:Massima|Massima]]&lt;br /&gt;
|permission=&lt;br /&gt;
|other versions=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=={{int:license-header}}==&lt;br /&gt;
{{self|cc-by-sa-4.0}}&lt;/div&gt;</summary>
		<author><name>Massima</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=File:Win_setup.png&amp;diff=122579</id>
		<title>File:Win setup.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=File:Win_setup.png&amp;diff=122579"/>
		<updated>2020-03-26T16:55:28Z</updated>

		<summary type="html">&lt;p&gt;Massima: User created page with UploadWizard&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=={{int:filedesc}}==&lt;br /&gt;
{{Information&lt;br /&gt;
|description={{en|1=Win setup1}}&lt;br /&gt;
|date=2020-03-26&lt;br /&gt;
|source={{own}}&lt;br /&gt;
|author=[[User:Massima|Massima]]&lt;br /&gt;
|permission=&lt;br /&gt;
|other versions=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=={{int:license-header}}==&lt;br /&gt;
{{self|cc-by-sa-4.0}}&lt;/div&gt;</summary>
		<author><name>Massima</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=User:Massima&amp;diff=122578</id>
		<title>User:Massima</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=User:Massima&amp;diff=122578"/>
		<updated>2020-03-26T16:51:34Z</updated>

		<summary type="html">&lt;p&gt;Massima: Created page with &amp;quot;&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;'''HATIRE HEADTRACK (a little guide)'''&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;  I write this guide to help anyone to use hathire in any sim/game. Let’s start with hw and sw requir...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;'''HATIRE HEADTRACK (a little guide)'''&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I write this guide to help anyone to use hathire in any sim/game. Let’s start with hw and sw requirements.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;'''HARDWARE:'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. a MPU9250 device preferring a 5V tolerant device, i did not test a 9255; &lt;br /&gt;
[[File:Mpu9250.png|thumb|Mpu9250]]&lt;br /&gt;
2. an arduino board, you can choose any kind but if your MPU works at 3.3V,  you need a board with a 3.3V pin. I use this pro micro board 3.3V and 5V (it runs at 4.68V);&lt;br /&gt;
[[File:Pro-micro.png|thumb|Pro-micro]]&lt;br /&gt;
3. a push button; &lt;br /&gt;
4. i used classic Dupont wires and some Dupont core plus and DuPont plastic shell plug chief.&lt;br /&gt;
&lt;br /&gt;
Obviously this is not the only way to connect it, see http://edtracker.org.uk/ you could use a breadboard or a PCB. I use wires because i can disassemble it if needed.&lt;/div&gt;</summary>
		<author><name>Massima</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=File:Pro-micro.png&amp;diff=122577</id>
		<title>File:Pro-micro.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=File:Pro-micro.png&amp;diff=122577"/>
		<updated>2020-03-26T16:50:02Z</updated>

		<summary type="html">&lt;p&gt;Massima: User created page with UploadWizard&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=={{int:filedesc}}==&lt;br /&gt;
{{Information&lt;br /&gt;
|description={{en|1=Pro-micro}}&lt;br /&gt;
|date=2020-03-26&lt;br /&gt;
|source={{own}}&lt;br /&gt;
|author=[[User:Massima|Massima]]&lt;br /&gt;
|permission=&lt;br /&gt;
|other versions=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=={{int:license-header}}==&lt;br /&gt;
{{self|cc-by-sa-4.0}}&lt;/div&gt;</summary>
		<author><name>Massima</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=File:Mpu9250.png&amp;diff=122576</id>
		<title>File:Mpu9250.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=File:Mpu9250.png&amp;diff=122576"/>
		<updated>2020-03-26T16:45:30Z</updated>

		<summary type="html">&lt;p&gt;Massima: User created page with UploadWizard&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=={{int:filedesc}}==&lt;br /&gt;
{{Information&lt;br /&gt;
|description={{en|1=Mpu9250}}&lt;br /&gt;
|date=2020-03-26&lt;br /&gt;
|source={{own}}&lt;br /&gt;
|author=[[User:Massima|Massima]]&lt;br /&gt;
|permission=&lt;br /&gt;
|other versions=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=={{int:license-header}}==&lt;br /&gt;
{{self|cc-by-sa-4.0}}&lt;/div&gt;</summary>
		<author><name>Massima</name></author>
	</entry>
</feed>