TrackMAG is an open hardware development board equipped with a magnetometer, an accelerometer and a gyroscope, primarily intended for developing accessible input devices.
TrackMAG is an open hardware development board equipped with a magnetometer, an accelerometer and a gyroscope. The project name is derived from the first letters of these terms.
The board is primarily intended for developing accessible input devices and provide head tracking. By being compatible with the Xbox Adaptive Controller, TrackMAG could possibly support people with physical disabilities to play video games.
The project is currently in early prototype status. Details on the current progress can be found on Discord or directly on GitHub.
The core of the board consists of an STM32F103C8T6 microcontroller, an ST LSM6DS3TR-C always-on 3D accelerometer and 3D gyroscope and an ST LIS2MDL ultra-low power, high-performance 3-axis magnetometer.
The board has a JTAG/serial wire debugging (SWD), UART, interface and a USB 2.0 (USB Type-C) full-speed interface.
Details can be found in the schematic.
The housing is kept simple and functional and can be customised as desired using FreeCAD.
A few pictures of the initial prototype:
The housing can be attached either via a twist-lock mechanism or via a Velcro cable tie. The mechanical specifications for the twist-lock mechanism are available for download on GitHub.
The boot loader is built automatically and is updated to the latest version available for download: bootloader-dfu-fw.bin
The calculated Tait-Bryan rotationsThree elemental rotations about each one of the principal axis of a body. For a craft moving in the positive x direction, with the right side corresponding to the positive y direction, and the vertical underside corresponding to the positive z direction, these three angles are individually called roll, pitch and yaw. are sent in the reference firmware via UART in 115200 baud. This data can easily be visualised using the serial oscilloscope program from x-io Technologies Limited, for example.
If this project interests you and you would like to help, please consider donating a small amount to flyLILLO ETS, a non-profit organisation with the goal of helping people with physical disabilities to play video games. Thank you!
This project is, unless stated otherwise, licenced under the CERN Open Hardware Licence Version 2 - Permissive.
MotionFX by STMicroelectronics is licenced under the terms of the SLA0077 Software License Agreement. See the file SLA0077.pdf for details.
webdfu by Devan Lai is licenced under the the ISC License.