M5Stack Unit IR Pinout

The M5Stack Unit IR sends and receives infrared remote-control signals. Its 940 nm emitter and 38 kHz demodulating receiver connect to separate host GPIOs through the four-contact Port B socket.

Main pinout

100%Drag to pan · Ctrl/⌘ + wheel to zoomSwipe up/down to scroll the page · Swipe sideways to pan · Use two fingers to pan and zoom
Show circuit details

Pin index

Pin index

Quickly scan every header pin, port name, supported function and usage note.

4 visible
PinMCU pinTypesNotes
GNDCommon ground for the host, IR LED driver and receiver.
PowerNominal 5 V supply input for the module.
GPIOHost output to the IR emitter driver. Drive it with the required modulated bursts.
GPIOHost input carrying the active-low demodulated signal from the 38 kHz receiver.

Specifications

Model
Unit IR · SKU U002 · PCB revision unconfirmed
Port B
J1 · HY2.0-4P · 2 mm pitch · two GPIO signals
Power
Nominal 5 V input on J1.3, common ground on J1.4
Logic
The schematic pulls IR_RX up to the nominal 5 V rail through R4. Verify the host input rating or use level shifting for a 3.3 V-only input.
Optics
940 nm IR LED · IRM-3638T receiver tuned to 38 kHz
Enclosure
32 × 24 × 8 mm · two LEGO-compatible mounting holes

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
U002Product manual and pin mapM5StackProduct photos, cable colors and optical specifications.Datasheet
U002Circuit schematicM5StackJ1 numbering, LED driver and demodulator wiring.Datasheet
U002Enclosure CADM5StackMechanical model for the U002 enclosure.Datasheet
IRM-3638TReceiver datasheetEverlightReceiver pin functions, carrier frequency and output levels.Datasheet
U002Official storeM5StackAlso listed as Mini Infrared Emitter & Receiver Unit.Datasheet

Board notes

Front orientation
With the optical windows above Port B, read from left to right: J1.4 GND (black), J1.3 5V (red), J1.2 IR_TX (yellow), J1.1 IR_RX (white).
Signal directions
The names are from the host's perspective. The host drives IR_TX to send modulated bursts. The unit drives IR_RX with the demodulated pulses.
Hardware identification
The U002 rear sticker reads IR REMOTE. The enclosure hides the PCB revision. The signal levels of an assembled unit have yet to be measured.