Flash Force Wiki Interactive browser →
Wiki / Devices
#device#ir#rcx#scout#remote

LEGO Remote Control (9738)

Status: ✅ protocol confirmed & replicated (an ESP32 + IR LED tower drives a real Scout at good range)

The handheld IR Remote Control for LEGO MINDSTORMS (set/part 9738, remote = BrickLink part x124, 1998–99). It drives an RCX or Scout directly over the same 38 kHz / 2400-baud RCX IR link — it is not a simple consumer-IR carrier. 16 buttons, each a bit in a 16-bit key mask sent with opcode 0xD2.

Protocol

Standard RCX frame; the payload is D2 hi lo (opcode + big-endian 16-bit key mask):

55 FF 00   D2 2D   hi ~hi   lo ~lo   csum ~csum

Button map (16-bit key mask)

Confirmed bit-by-bit from the leJOS RemoteControlSensor.inspect() source and a real IR capture.

BitButtonOn the RCXOn the Scout
0x0001Message 1send IR message = 1 (read by a running program, e.g. NQC Message())❓ undocumented
0x0002Message 2send IR message = 2❓ undocumented
0x0004Message 3send IR message = 3❓ undocumented
0x0008A ▲Motor A forwardreal Motor A
0x0010B ▲Motor B forwardreal Motor B
0x0020C ▲Motor C forwardnot a motor — Scout emits VLL "forward" on its red LED / Motor-C output → drives a Micro Scout in P-mode ✅
0x0040A ▼Motor A backwardMotor A backward
0x0080B ▼Motor B backwardMotor B backward
0x0100C ▼Motor C backward⚡ VLL "backward" to the Micro Scout
0x0200P1select + run program slot 1❓ no clean mapping (Scout has 1 program slot, not 5)
0x0400P2program slot 2
0x0800P3program slot 3
0x1000P4program slot 4
0x2000P5program slot 5
0x4000Stopstop motors and the running programstop (plausible, unconfirmed)
0x8000Soundplay a beepbeep (plausible, unconfirmed)

Grouping on the faceplate: 6 motor arrows (A/B/C × ▲/▼) · 5 program buttons (P1–P5) · 3 message buttons (Msg 1–3) · Stop · Sound.

RCX vs Scout — what actually happens

Replicate it

Any 38 kHz IR emitter can be the remote — just send the 0xD2 frames. An ESP32 + IR LED generating the 38 kHz carrier drives a real Scout at good range: aim at the Scout's middle IR port (not the light sensor), Scout idle with options OFF. A Web-Serial page can build the 55 FF 00 D2 … frames and stream them to the board (send them without the toggle bit to match the real remote).

Sources