Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 1.77 KB

File metadata and controls

28 lines (23 loc) · 1.77 KB

SerialTracker

Alternative firmware code for the Relativty head tracker that uses the MPU6050 (or MPU9150) sensor.

Getting started

Arduino Due (and Uno) boards haven't been tested yet, I don't own a Due so it's up to you.

Hardware

Connect the sensor corresponding to the defines in the SerialTracker.ino sketch, here are the defaults:

Sensor INT SDA SCL VCC GND
Board INT_PIN SDA_PIN SCL_PIN VCC_PIN
Due 2 20 21 5 GND
STM32 PA1 PB6 PB7 PB5 G
ESP32 IO17 IO18 IO19 IO5 GND
Uno 2 A4 A5 5 GND

Software

  1. Install Arduino IDE
  2. Install Arduino IDE support for your board:
  3. Install additional libraries for Arduino IDE
    • I2CDevLib, for installation simply copy the I2Cdev, MPU6050 and MPU9150 folders (below the Arduino folder in the archive) to your Arduino/libraries directory.
  4. Put the folder containing this README.md (and SerialTracker.ino) in your Arduino directory.
  5. Start Arduino IDE, open sketch and upload.