Feature for enabling IrDA protocol support on ESP32 UARTs #3301
Unanswered
SNMetamorph
asked this question in
Component enhancements
Replies: 1 comment
-
🏷️ I've automatically added the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Component name
uart
Link to component documentation on our website
https://esphome.io/components/uart/
Describe the enhancement
Unlike ESP8266, ESP32 supports IrDA protocol at it's hardware UARTs. But currently, ESPHome does not have way to enable IrDA protocol support.
There are description of configuration bits of UART_CONF0_REG register:
Bits that are directly related to IrDA protocol support:
There are example of code which does enabling IrDA support for UART. It does sending serial data through IrDA.
Thanks for this amazing project to all developers and contributors :)
Use cases
This will be extremely useful since it will make possible for ESP32 to directly interact with IrDA transmitters like TFDU4100. IrDA physical layer is incompatible with UART by default, therefore there is no possibility to directly interacting between IrDA transmitters and microcontroller. For proper working with IrDA, ICs like MCP2120 or TIR1000 are required. Their function is to convert between IrDA physical layer and conventional UART. And these ICs requires additional components in scheme, which makes things too complicated. But ESP32 IrDA support makes possible to completely avoid these complications and instead just directly interact with IrDA transmitters.
IrDA are actively used in devices like electricity meters, so this feature will be useful for external components that implements support for such electricity meters. Also, IrDA could be used as relatively fast wireless UART channel between two ESPHome devices and potentially many other use cases.
Anything else?
More information about IrDA support on ESP32: https://www.espressif.com/sites/default/files/documentation/esp32_technical_reference_manual_en.pdf
Beta Was this translation helpful? Give feedback.
All reactions