Files
OpenMQTT-Gateway/docs/setitup/ir.md
T
Florian 9f5bf3ec57 [DOCS] Remove dead compatible.openmqttgateway.com links (#2205) (#2322)
The compatible.openmqttgateway.com site is offline (TLS connection reset),
leaving 38 dead links across the docs and README. Repoint BLE device lists
to the canonical Theengs Decoder devices page already used by the navbar,
point boards/devices/parts references to the corresponding docs pages, and
drop the affiliate-site mentions and 'Where to Buy' links that have no live
equivalent. Also fix a malformed markdown link in docs/use/ble.md.
2026-06-14 15:26:02 -05:00

29 lines
994 B
Markdown

# IR gateway
## Compatible parts
|Module|Purpose|Where to Buy|
|-|-|-|
|IR diode|Emitting|-|
|IR receiver|Receiving|-|
|transistor 2N2222|Amplify uC signal for the IR diode|-|
|330 ohms resistor|-|-|
|220 ohms resistor|limit current to LED|-|
The IR setup can work with bc547 and a 4x3 LED-Matrix.
## Pinout
|Board| Receiver Pin| Emitter Pin|
|-|:-:|:-:|
|ESP8266|D4|D0|
|ESP32|27/**26**|14|
Connect the Emitter and Receiver to a 5V supply source, and the ground of your supply source to the ground of your board.
## ESP8266 Hardware setup
![IR](../img/OpenMQTTgateway_ESP8266_Addon_IR.png)
## ESP32 Hardware setup
![IR](../img/OpenMQTTgateway_ESP32_Addon_IR.png)
## Credits
This gateway exists thanks to the work done on [IRRemote](https://github.com/z3t0/Arduino-IRremote) and [IRremoteESP8266](https://github.com/crankyoldgit/IRremoteESP8266) libraries. Thanks for the works of contributors and especially [@crankyoldgit](https://github.com/crankyoldgit) for its active contributions.