Zum Hauptteil springen

wokwi-ir-receiver Reference

38KHz infrared receiver

Pin names

NameDescription
GNDGround
VCCPositive voltage
DATDigital output

Using the receiver

The receiver can be used in two ways:

  1. Use the IR Remote to send infrared commands.
  2. Click on the receiver (while the simulation is running) to send arbitrary NEC-encoded IR signals. 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 or IRMP libraries.

Simulator examples