Updated IR Remote (markdown)

blakadder 2019-11-05 01:05:35 +01:00
parent 813135755e
commit 6ace5cfa70
1 changed files with 6 additions and 7 deletions

@ -4,17 +4,16 @@ A [specialized version of Tasmota](Tasmota-IR) can be compiled which supports al
# IR Transmitter
## Configuration
The prebuilt transmitter modules have a weak IR LED, effective transmit distance is really short. If you need range it is best to build your own.
## Wiring
### Wiring
| IR w/ 2N222 | ESP266 |
|---|---|
|data |GPIOx |
|+ | 5v |
|- |GND |
## Tasmota
### Tasmota
In the _Configuration -> Configure Module_ page assign:
- GPIOx to `IRsend (8)`
@ -27,14 +26,14 @@ IR Receiver is used to capture IR codes. Those codes can be sent using [`IRSend`
> Example uses the widely available [KY-022](https://arduinomodules.info/ky-022-infrared-receiver-module/) breakout board.
## Wiring
### Wiring
| KY-022 | ESP266 |
|---|---|
|S |GPIOx |
|+ | 5v |
|- |GND |
## Tasmota
### Tasmota
In the _Configuration -> Configure Module_ page assign:
- GPIOx to `IRrecv (51)`
@ -51,7 +50,7 @@ On a captured code IR receiver sends a `tele/%topic%/RESULT` JSON reponse:
}
```
### Further Reading
## Further Reading
This covers only the basic IR protocols. Read [Complete IR Remote Protocols](Tasmota-IR) for more advanced applications.
[IR Send RAW configuration and use](IRSend-RAW-Encoding)
@ -60,7 +59,7 @@ User maintained [codes database for IR](Codes-for-IR-Remotes-(for-YTF-IR-Bridge)
[Linux Infrared Remote Control (LIRC)](http://www.lirc.org/) for more information.
### Related Projects
## Related Projects
- [IR Blaster with Tasmota](http://www.asknoone.com/ir-blaster-with-tasmota/)
- [Sonoff Basic IR "hat"](https://github.com/altelch/SonoffIR)