DIY build head tracker

https://github.com/headtracker/HeadTracker

https://headtracker.gitbook.io/head-tracker-v2.2/

The Nano 33 BLE + Nano 33 BLE Sense are now both obsolete. Their replacements are Nano 33 BLE Rev 2 and Nano 33 BLE Rev 2 Sense

!!! There are issues with the code in v2.2 on these boards. It's not reliable. Please see Discord #test-firmware or GitHub actions for the most recent updates. We need more feedback on the state of this code. Thank you.

user manual

extra pins

  • GND RX P0.10
  • 3V3 TX P0.09

  • P0.02 AN0 PPM-IN P0.30

  • P0.29 AN3 GND
  • P0.28 AN4 GND

HeadTracker\firmware\src\src\boards

#define PIN_X \
PIN(CENTER_BTN,   NRFPIN(1, 13), "") \
PIN(VOLTMON,      NRFPIN(0,  3), "") \
PIN(AN0,          NRFPIN(0, 29), "Analog 0 (AIN_5)") \
PIN(AN1,          NRFPIN(0,  2), "Analog 1 (AIN_0)") \
PIN(AN2,          NRFPIN(0, 28), "Analog 2 (AIN_4)") \
PIN(LEDWS,        NRFPIN(1, 10), "") \
PIN(LED,          NRFPIN(0, 13), "") \
PIN(PPMOUT,       NRFPIN(0, 31), "") \
PIN(PPMIN,        NRFPIN(0, 30), "") \
PIN(BUZZ,         NRFPIN(1, 11), "") \
PIN(TX,           NRFPIN(0,  9), "")  \
PIN(RX,           NRFPIN(0, 10), "") \
PIN(TXINV,        NRFPIN(0,  4), "") \
PIN(RXINVO,       NRFPIN(0,  0), "") \
PIN(RXINVI,       NRFPIN(0,  1), "") \
PIN(I2CSDA,       NRFPIN(0,  5), "") \
PIN(I2CSCL,       NRFPIN(1,  9), "")

V2

#define PIN_X \
PIN(CENTER_BTN,   NRFPIN(1, 13), "") \
PIN(VOLTMON,      NRFPIN(0,  3), "") \
PIN(AN0,          NRFPIN(0, 29), "Analog 0 (AIN_5)") \
PIN(AN1,          NRFPIN(0,  2), "Analog 1 (AIN_0)") \
PIN(AN2,          NRFPIN(0, 28), "Analog 2 (AIN_4)") \
PIN(LEDWS,        NRFPIN(1, 10), "") \
PIN(LED,          NRFPIN(0, 13), "") \
PIN(PPMOUT,       NRFPIN(0, 31), "") \
PIN(PPMIN,        NRFPIN(0, 30), "") \
PIN(BUZZ,         NRFPIN(1, 11), "") \
PIN(TX,           NRFPIN(0,  9), "")  \
PIN(RX,           NRFPIN(0, 10), "") \
PIN(TXINV,        NRFPIN(0,  4), "") \
PIN(RXINVO,       NRFPIN(0,  0), "") \
PIN(RXINVI,       NRFPIN(0,  1), "") \
PIN(I2CSDA,       NRFPIN(0,  5), "") \
PIN(I2CSCL,       NRFPIN(1,  9), "")

ref