jscax Posted February 4, 2018 Posted February 4, 2018 Hi all, I'm trying to understand how to make an infrared tx/rx module working. This is the module: https://www.aliexpress.com/item/5V-IR-Infrared-Remote-Decoder-Encoding-Transmitter-Receiver-Wireless-Module/32528109291.html Is there a way to make this works in userspace? Overlays? From the docs I was only able to understand how to enable existing overlays. I enabled cir, this is from my armbianEnv.txt: overlays=cir i2c0 but I don't know how to configure pins: which is rx which tx. Do I need to write down a new/custom overlay? I think that configuring pins is crucial to enable IR communication at some level but I don't know how and where. In the OPi0 world seems like all IR is about the expansion board which I don't have and I don't need because what's important to me is to send IR signal, more than receiving. Last but not least I found this: https://github.com/Aschhoff/Orange-Pi-Infrared which is pyA20 powered and so root dependent and I would like to find a rootless solution, if possible. Please, can someone point me in some direction? thank you very much and pardon me for being such a newbie asshole
chrisf Posted February 5, 2018 Posted February 5, 2018 Looks like that module has a UART (serial) interface, not I2C The aliexpress page doesn't say anything about how it communicates over the serial connection. There's a forum thread here about it: https://forum.arduino.cc/index.php?topic=359707.0 1
jscax Posted February 5, 2018 Author Posted February 5, 2018 ok, the uart layeroverlay should be a good point to start with thank you
jscax Posted February 6, 2018 Author Posted February 6, 2018 it's a super easy/normal uart communication and it just works following the datasheet protocol specification
Recommended Posts