18
edits
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
1. a MPU9250 device preferring a 5V tolerant device, i did not test a 9255; | 1. a MPU9250 device preferring a 5V tolerant device, i did not test a 9255; | ||
[[File:Mpu9250.png|thumb|Mpu9250]] | [[File:Mpu9250.png|thumb|150px|Mpu9250]] | ||
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); | 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); | ||
[[File:Pro-micro.png|thumb|Pro-micro]] | [[File:Pro-micro.png|thumb|150px|Pro-micro]] | ||
3. a push button; | 3. a push button; | ||
Line 64: | Line 64: | ||
* pins change for different boards. | * pins change for different boards. | ||
[[File:My headtrack built.jpg|thumb|my headtrack built]] | [[File:My headtrack built.jpg|thumb|150px|my headtrack built]] | ||
Line 106: | Line 106: | ||
mpu.setMagScale(0, +1.04); | mpu.setMagScale(0, +1.04); | ||
mpu.setMagScale(1, +1.02); | mpu.setMagScale(1, +1.02); | ||
mpu.setMagScale(2, +0.94);'' | mpu.setMagScale(2, +0.94);''' | ||
Do not enter data for accelerometer, they are commented in that file. | Do not enter data for accelerometer, they are commented in that file. |
edits