deckle studio
Open the editor
Behavioural mixed-signal modelTSOP38238tsop38238

IR receiver 38 kHz (TSOP38238, remote controls)

Infrared receiver for TV-style remote controls (NEC, RC5, Sony …): demodulates 38 kHz IR light, the output is low while a burst arrives (internal 30 kΩ pull-up, connect it straight to an MCU input). 2.0–5.5 V, 0.35 mA; the data sheet recommends an RC filter in the supply (a resistor of about 100 Ω and a few µF to GND) when the supply carries ripple or spikes. Same pinout (OUT, GND, VS) as the common VS1838B. In the simulation it sees every IR LED of the circuit that is switched at 38 kHz (an IR LED with series resistor on a PWM pin), and the "NEC code" parameter plays one remote-control frame, e.g. "00 45" = address 0x00, command 0x45.

OUTGNDVSTSOP38238
Schematic symbol

Key data

Category
Modules
Simulation model
Behavioural mixed-signal model
Manufacturer part number
TSOP38238
Reference prefix
U
Pins
3
Land pattern
Vishay_MINICAST-3Pin

Used in these examples 1

Simulation model

A behavioural model implements the interface of the chip (registers, protocol, timing) at its pins. The pins are connected to the analog circuit like CMOS pins.

Model
ir_receiver
Supply pins
VS / GND

Pins 3

PinNameUse
OUTOUTOutput pinOutput, low while a 38 kHz burst arrives (30 kΩ pull-up inside): to an MCU input
GNDGNDGround pinGround
VSVSSupply pinSupply 2.0–5.5 V: an RC filter against ripple

Parameters 1

NEC code (address command, hex)neclive
Default–

Enter or change it while the simulation runs: the receiver outputs one NEC frame (9 ms start, address, inverted address, command, inverted command). Empty: nothing.

PCB

Verified land patternVishay_MINICAST-3Pin
PackageLand patternStatusSource
Minicast · TSOP38238Vishay_MINICAST-3PinVerified land patternKiCad OptoDevice:Vishay_MINICAST-3Pin (symbol TSOP382xx: 1 OUT, 2 GND, 3 Vs); Vishay TSOP382 data sheet pinning 1 OUT, 2 GND, 3 VS