Connectors & Pinout
Connector reference for the BattleCore IR Optics Board — pin assignments, voltages, and intended use for the host port.
The IR Optics Board is the shot emitter that sits behind the barrel optics. A high-power IR LED (IRED1) is switched by an on-board logic-level MOSFET and powered from 5 V through a ballast resistor, while two visible red LEDs provide a muzzle-flash effect. It connects to the host controller through one 4-pin cable carrying power and two control lines.
The view below shows the actual board layout, centred on the connector. Use the mouse wheel to zoom out for context or in for detail, and drag to pan. Hover or tap a pad to highlight it in the pin table, and vice-versa.
Power Rails
| Rail | Voltage | Source | Used by |
|---|---|---|---|
PWR_5V | 5 V | Host (U1 pin 2) | Supply for the IR emitter (via a 3.3 Ω ballast) and decoupling. |
PWR_GND | GND · 0 V | — | Common ground reference for the whole board. |
Emitter & Flash
IR_GPIO_1switches the high-power IR LED through an on-board N-channel MOSFET, so the host pin only drives the gate — the heavy pulse current comes from the board’s 5 V rail. Separately, FLASH_LED lights two visible red LEDs through series resistors for a muzzle-flash effect, drawing its current straight from the host pin.
Connector
Emitter Input
U14-pin · 2.5 mm pitch · through-hole
Connector: JST XH B4B-XH-A
The single host connection for the IR Optics Board. It supplies the board's 5 V rail and ground, and carries two logic-level control lines from the host: one to fire the IR emitter and one to drive the visible muzzle-flash LEDs.
The high-power IR LED can draw large pulse currents. Keep your shot pulses short and within the emitter's duty-cycle rating, and always drive IR_GPIO_1 with a pulsed/modulated signal rather than a steady-on level. Unlike the IR line, FLASH_LED powers its LEDs straight from the driving pin — don't exceed the host GPIO's current limit.
Location on the PCB (top view). Scroll to zoom, drag to pan; the highlighted port is U1. Hover or tap a pad to link it to the table. = pin 1
| Pin | Signal | Voltage | Notes |
|---|---|---|---|
| 1 | PWR_GND | GND · 0 V | Ground. |
| 2 | PWR_5V | 5 V | 5 V supply for the IR emitter (via a ballast resistor) and the flash LEDs. |
| 3 | IR_GPIO_1 | 3.3 V logic | IR emitter control — gates the on-board MOSFET that pulses the high-power IR LED. Drive it with your modulated shot waveform; it only sinks gate charge, so host current draw is negligible. |
| 4 | FLASH_LED | 3.3 V logic | Muzzle-flash control — drives the two visible red LEDs through series resistors. This line sources the LED current directly (~9 mA per LED at 3.3 V), so keep it within the driving pin's limit. |