Skip to main content

wokwi-ir-remote Reference

38KHz infrared remote with 20 function keys. Use together with the IR Receiver module.

Function keys#

The keys send infrared messages encoded using the NEC frame format. Each key sends a different command value (see the table below), and the address field is always 0.

Each key has a keyboard shortcut that actives the key while the remote is in focus.

The following table lists the NEC command, NEC encoded value and keyboard shortcut for each of the keys:

KeyCommandNEC encodedKeyboard Shortcut
Power1620xFFA25DO
Menu2260xFFE21DM
Test340xFF22DDT
Plus20xFF02FD+
Back1940xFFC23DB
Previous2240xFFE01FLeft arrow key
Play1680xFFA857P
Next1440xFF906FRight arrow key
01040xFF68970
Minus1520xFF9867- (minus)
C1760xFFB04FC
1480xFF30CF1
2240xFF18E72
31220xFF7A853
4160xFF10EF4
5560xFF38C75
6900xFF5AA56
7660xFF42BD7
8740xFF4AB58
9820xFF52AD9

Simulator examples#