OpenBK7231T_App icon indicating copy to clipboard operation
OpenBK7231T_App copied to clipboard

Adding support for IR Reciever/Transmitter

Open rgtkd opened this issue 2 years ago • 8 comments

Hello, would be possible to add support or configure an IR Transmitter/Receiver?

Bought an S06 Generic transmitter and has a CBU board (BK7231N). Managed to flash OpenBk on it and works great, I can control an LED and button that the board includes, but have no way to configure the transmitter/receiver that Im aware of.

This is very close to the model I bought but instead of ESP8266 it comes with the CBU board: https://templates.blakadder.com/auvisio_S06.html

I have some Ardunio/Programming experience, so if there is anywere documentation on how to add custom input/outputs I could try to implement this, however I am not able to find any kind of documentation or way on how to do this.

I would be able to test and try to help with the implementation if possible, it will be great if we can get this transmitters working!

Regards.

rgtkd avatar May 30 '22 21:05 rgtkd

I also have units with IR on them - at least RX. Would love to get an IR blaster too, as have many ceiling lights which are IR controlled.... But.. the existing IR libraries are Arduino or C++ - so as a minimum to support them we'd need to enable C++ in the compiler/linked. I tried once, and it does not look TOO hard; just maybe beyond the time I have to put aside for this project.

btsimonh avatar Jun 27 '22 16:06 btsimonh

Hello! Tasmota uses the IRremoteESP8266 library that supports numerous protocols. Can it be used somehow? It would be nice.

Sky-Jumper avatar Jun 30 '22 13:06 Sky-Jumper

We've been discussing. We have a couple of issues, c++ support being one, and the other being a high res timer. Of course the C++ thing is just getting the makefiles right (help welcome!). The hi-res timer is more problematic, especially across multiple processors. For Beken I spent 2 days looking, and with so little info on the processor, failed to find a good solution for IR input.

We've mainly focussed on IR in previously. For the OP, we'd need (I guess?) 38khz modulation too. So it's like we'd use PWM configured to produce the modulation, and a separate ~560us interrupt to control it (to post bits out). Since I would also like to control multiple IR devices, I may just have to buy the unit he mentions!

btsimonh avatar Jun 30 '22 15:06 btsimonh

We've been discussing. We have a couple of issues, c++ support being one, and the other being a high res timer. Of course the C++ thing is just getting the makefiles right (help welcome!). The hi-res timer is more problematic, especially across multiple processors. For Beken I spent 2 days looking, and with so little info on the processor, failed to find a good solution for IR input.

We've mainly focussed on IR in previously. For the OP, we'd need (I guess?) 38khz modulation too. So it's like we'd use PWM configured to produce the modulation, and a separate ~560us interrupt to control it (to post bits out). Since I would also like to control multiple IR devices, I may just have to buy the unit he mentions!

https://es.aliexpress.com/item/4000825628583.html

This is the one I bought, can provide help with any testing if needed thou, I currently have the chip desoldered, so can do anything you need with it.

Regards

rgtkd avatar Jun 30 '22 22:06 rgtkd

I would also really like this. I have the s08 but the insides of it seem to be the exact same as the s06. Here is a link to the version I bought for reference: https://www.aliexpress.com/item/4000719809991.html I would also be happy to help testing.

avdmr avatar Jul 15 '22 13:07 avdmr

Is there any hope that you will implement this feature? Don't really want to solder on ESP

kevinblo avatar Jul 17 '22 18:07 kevinblo

@btsimonh any news on this?

openshwprojects avatar Jul 30 '22 12:07 openshwprojects

I am also interested in this topic, I have an IR remote with cb3s chip. This. 20220916_174250 20220916_174304

Is there something to test? :)

rlsvr avatar Sep 16 '22 15:09 rlsvr

For those following this topic, it's almost ready :).

btsimonh avatar Oct 19 '22 13:10 btsimonh

IRReceiver works great on N and T. Special thanks for @btsimonh for great input into the development and constant support and advising. It's time to grab remotes!

openshwprojects avatar Nov 04 '22 07:11 openshwprojects