Head Tracker v2.2
HomeDonateGithubDiscord Chat
  • Head Tracker v2.2
    • Head Tracker v2.1
  • Getting Started
    • Hardware Required
    • Software Installation
      • Flashing Firmware
    • Wiring
      • Option 1- Bluetooth
        • Adding a FrSky BT Module
        • Checking Bluetooth Functionality?
      • Option 2 - Wired
        • Pulse Position Modulation (PPM)
          • Trainer Ports
        • Serial Bus (SBUS)
          • Radio Master TX16S Setup
          • FrSky Taranis X9D
      • Option 3 - Bridged
        • Radio Master TX16S Mk2
      • Analog Input
      • Digital Inputs
      • PPM Input
      • PWM Output
      • ELRS Setup
      • Flight Stick
    • Mounting
      • User Designed Cases
    • Structure of the Application
    • IMU, Calibration and Drift
    • Extended Servo Range
  • Settings
    • GUI Setup
      • Tilt / Roll / Pan
      • General
      • PPM
      • UART
      • Bluetooth
      • PWM
      • Analog & Aux
      • Aux
    • WebBLE
  • Radio Setup
    • How to Edit Documentation
    • Open/Edge TX
      • Color Screen Radios
        • TX16S Example
      • Black and White Radios
    • Jeti
    • Spektrum
      • NX
      • DX
        • DX18
    • Flysky
    • Frsky - Ethos
  • Videos
    • YouTube
  • Support
    • Discord Chat
    • Issues
    • Development
      • Firmware using GitPod.io
      • Firmware using West
        • Debugging
      • GUI (Qt6)
      • Git Workflow and Actions
      • Supported Boards
        • Arduino Nano 33 BLE
          • IMU Sensor Chip
      • Depreciated
        • Firmware (Depreciated)
          • Debugging (Depreciated)
        • GUI (Qt5, Depreciated)
  • Links
    • Download
    • GitHub Page
    • RC Groups Forum
Powered by GitBook
On this page
  1. Getting Started
  2. Wiring

Digital Inputs

PreviousAnalog InputNextPPM Input

Last updated 1 year ago

You can add a digital button channel via the Head Tracker by cheating a little bit and use the analog input pins. Although this isn't going to be of too much use as your radio usually has plenty of switches :) Maybe you want an extra button on your headset for some reason.

Wire your switch from the 3.3V pad on the board through your switch and into one of the analog pins. You will need a pull down resistor to keep the signal at zero when the switch is off. On the Analog page of the GUI leave the settings as default. Gain=310, Offset=0.

You can also make this work with a 3 position switch and two 10K resistors. Wire like shown below for a 3 position switch. When in the center it makes a voltage divider inputting 1.65v into the analog pin. Switching the toggle up or down will drive the pin to zero or 3.3v.