Skip to main content

HW-871 IR line sensor array (5 outputs)

Identifiers (from photo)

  • Silkscreen: HW-871
  • Header labels (one side): GND, 5V, OUT1, OUT2, OUT3, OUT4, OUT5
  • Physical: multi-IR reflective sensors (line tracking style)

What it is

  • Multi-channel IR reflectance / line-tracking sensor array.

Interface

  • Digital GPIO inputs (OUT1..OUT5)
    • Each output is typically a comparator result (line/no-line)

Power

  • Labeled 5V input. Many boards still output 3.3V-safe logic, but assume 5V outputs until confirmed.

Planned RAK3112 firmware block

  • Gate: GateS_hw871_line_array
  • Features:
    • read 5 channels
    • log bitmask + per-channel state
    • optional calibration routine (min/max over surface)

Next info needed

  • Do you plan to power from 5V or 3.3V?
  • Confirm output voltage level (measure or link to product page).