Working through the modules in my eBook (MicroPython, ESP32 and ESP8266) inspired me to dig into the primary documentation. I’ve learned about the Remote Control Peripheral (RMT).
Even having fairly short documentation, it took a lot of experimentation to get the code right to transmit pulses from an ESP32 pin, and see the expected pattern on a saleae logic probe.
The module was wired with 3 pushbuttons that would generate interrupts, and transmit specific Sony TV commands for volume up, volume down, and mute through an infrared LED. This is not a practical device, just did it for learning. It works ten feet away from the TV in a bright room.
For complete documentation about this project please try these links:
CODE at Pastebin: https://pastebin.com/8ALyamHJ
IMAGE at Imgur: https://imgur.com/AsqjtPU
MY NOTES as PDF: MY NOTES
Hi Robert.
Thank you so much for sharing. I’m not familiar at all with the RMT module. So, it’s great that you have documented your journey.
I think you might consider publishing your project somewhere like Instructables, for example, where it can have more visibility.
Regards,
Sara