> ## Documentation Index
> Fetch the complete documentation index at: https://mintlify.com/wokwi/wokwi-docs/llms.txt
> Use this file to discover all available pages before exploring further.

# IR Receiver

> 38KHz infrared receiver for receiving IR remote commands

38KHz infrared receiver.

## Pins

<ParamField path="GND" type="ground">
  Ground
</ParamField>

<ParamField path="VCC" type="power">
  Positive voltage
</ParamField>

<ParamField path="DAT" type="output">
  Digital output
</ParamField>

## Using the receiver

The receiver can be used in two ways:

1. Use the [IR Remote](/parts/wokwi-ir-remote) to send infrared commands.
2. Click on the receiver (while the simulation is running) to send arbitrary [NEC-encoded IR signals](https://exploreembedded.com/wiki/NEC_IR_Remote_Control_Interface_with_8051#NEC_Protocol). The user interface lets you specify both the address and the command fields on the NEC message.

To read the commands from your Arduino Code, you can use the [IRRemote](https://github.com/Arduino-IRremote/Arduino-IRremote) or [IRMP](https://github.com/ukw100/IRMP) libraries.

## Simulator examples

* [IRRemote + LCD Display](https://wokwi.com/projects/298934082074575369)
* [IRRemote + LCD Display with updated IRRemote API](https://wokwi.com/projects/408236279940409345)
