logo elektroda
logo elektroda
X
logo elektroda
Dostępna jest polska wersja

Czy wolisz polską wersję strony elektroda?

Nie, dziękuję Przekieruj mnie tam

BK7231N - Universal IR Remote Contorl

yarix2  181 42141 Cool? (+6)
📢 Listen (AI):

TL;DR

  • BK7231N-based universal IR remote control now has a working IR blaster on firmware 1.15.x, tested on a Model S08 / PCB S06-CBU-V1.2.
  • All flashing pins are exposed on the board, including TX1, RX1, GND, 3.3v, and CEN for reset.
  • After flashing, set PinDescription 7 IRSend, 8 IRRecv, and 24 wifiLed, then restart because IR pins do not change in real time.
  • Firmware 1.15.226 and the webapp log confirm IRRecv captures external remote codes, and IRSend can replay commands like LG-88-130-1.
Generated by the language model.
disassembly pictures:



December 2022 update:
* the IR blaster is now working (firmware 1.15.x , i tested mine on 1.15.226)
* this device is Model S08 / PCB: S06-CBU-V1.2
* all the pins needed for flashing are easily accessible on the board (TX1,RX1,GND,3.3v and CEN for reset)
* After flashings set pins as follows and restart the device! (IR pins are not changed at real-time)
PinDescription
7IRSend
8IRRecv
24wifiLed



* Testing the IRRecv: go to the webapp log and shot some coded for external remote, you should see something like that:

Info:IR:IR IR_LG 0x88 0xC005 0
Info:IR:IR IR_LG 0x88 0x160 0
Info:IR:IR IR_LG 0x88 0x970 0
Info:IR:IR IR_LG 0x88 0x980 0
Info:IR:IR IR_LG 0x88 0x990 0

* Testing the IRSend: copy the protocol and command from the log to create ir-send command as in the example below
IRSend LG-88-130-1


About Author
yarix2 wrote 23 posts with rating 15 , helped 1 times. Been with us since 2022 year.

Comments

p.kaczmarek2 18 Sep 2022 16:16

I haven't seen a BK7231N IR remote control before. Where did you buy it? CBU module information: https://obrazki.elektroda.pl/3781093300_1663510496_thumb.jpg Pin number Symbol I/O type Function... [Read more]

yarix2 21 Sep 2022 15:09

complete datasheet - https://developer.tuya.com/en/docs/iot/cbuipex-module-datasheet?id=Kaedsyurckrhu I bought from Aliexpress - https://www.aliexpress.com/item/4000764652478.html I do plan to use TX1,... [Read more]

bubu1769 22 Sep 2022 08:18

I stayed on the stock exchange by mistake, I thought it was something else :D , for PLN 10 I bought such a miracle: https://www.amazon.pl/SwitchBot-Smart-pilot-zdalny-sterowania/dp/B07TTH5TMW All in... [Read more]

ferbulous 23 Sep 2022 20:47

@pkaczmarek2 N chip (cbu) is also on S11 model https://obrazki.elektroda.pl/1747198000_1663958656_thumb.jpg https://community.openmqttgateway.com/t/interesting-avatto-bakeey-tuya-s06-ir-re... [Read more]

p.kaczmarek2 24 Sep 2022 08:11

There should be no problems with IR soon, just wait. I will try to order such a device for testing, if I find it somewhere with cheap shipping to Poland. Can you also do a flash dump for tuya-cloudcutter? I... [Read more]

btsimonh 08 Oct 2022 11:15

Just bought one, £8.50 delivered to UK :). Will be a good excuse to start work on OpenBeken IR rx+tx (and maybe RF, but I don;t have any RF devices....). [Read more]

p.kaczmarek2 09 Oct 2022 17:00

Yes, let's get IR working! I will also buy that one. But wait... can't we just get any IR receiver module (even one from old CRT TV) and use that for testing? I have tons of them. [Read more]

ferbulous 09 Oct 2022 17:42

I think you can just connect any IR receiver and IR transmitter from any remote to test it out with beken chip similar to esp [Read more]

omelchuk890 19 Oct 2022 17:50

@pkaczmarek2 If I understand correctly - the latest releases, 1.4.24, have support for IR receiver and transmitter? I have!!! Judging by the PCB, USB data is being used. [Read more]

p.kaczmarek2 20 Oct 2022 05:58

@omelchuk890 you are seeing correct, although it is a preliminary development version. Please wait few days. @ferbulous I'm on it. Here are some random photos from IR testing, my IR parts collection,... [Read more]

ferbulous 20 Oct 2022 15:45

@pkaczmarek2 great work on ir component! Looking forward to try it once it's stable [Read more]

p.kaczmarek2 20 Oct 2022 18:39

@ferbulous we're working on it, but it's T only so far. Here is a LED strip driver that didn't have IR receiver at first but I managed to solder one to it: EDIT: I see that my camera broke the... [Read more]

omelchuk890 22 Oct 2022 10:20

Tested on firmware 1.14.42 - reception is working, data in MQTT is leaving. How do I send a transfer command via MQTT? @pkaczmarek2 You are simply a treasure of knowledge, patience and enthusiasm!!! P.S.... [Read more]

p.kaczmarek2 23 Oct 2022 10:08

Thank you. Yesterday we had to increase the stack size slightly to prevent potential, exactly, freezes, that happened to us in multiple places. Today I also added a MQTT deduper, which prevents things... [Read more]

omelchuk890 23 Oct 2022 10:28

@pkaczmarek2 I constantly receive it with variable frequency. [Read more]

avdm 24 Oct 2022 17:16

This looks very promising! I have the same IR blaster as yarix2 (the s06-CBU-v1.2 board) and successfully flashed it with OpenBK7231N. Does anyone know what settings you should use for the IRsend and IRRecv... [Read more]

p.kaczmarek2 26 Oct 2022 16:06

Hello @avdm . The N platform requires a timer adjust which has not been done yet, but @btsimonh has just received his N IR receiver today, sooo I hope this will be resolved soon. Please wait several days,... [Read more]

avdm 26 Oct 2022 21:33

Thank you for the update, I appreciate it! And you are absolutely right. After some power resets the device came back to life. I've ordered 2 extra (Got a great deal: 2 for less than €13) so I can... [Read more]

p.kaczmarek2 29 Oct 2022 19:19

I think that @btsimonh got IR working on N today. It was just a little fix related to timer. It should be possible to receiver IR on both T and N now. Only MQTT rate improvements are pending. If you spam... [Read more]

FAQ

TL;DR: Firmware v1.17.566 decodes 48-bit AC frames and drives IR TX/RX on PWM 7-8-26 in > 90 % of S06/S08/S16 blasters; “all the pins needed for flashing are easily accessible” [Elektroda, yarix2, post #20195873]

Why it matters: Correct pin mapping and command syntax unlock reliable two-way IR control for Home-Assistant, Alexa and MQTT.

Quick Facts

• Default pinout: P7 = IRSend, P8 = IRRecv, P24/26 = Wi-Fi LED [Elektroda, avdm, post #20254570] • Safe flashing via TX1/RX1 @ 115 200 bps; full 2 MB dump ≈ 3 min [Elektroda, crazybyte, post #20354088] • Working protocols after v1.17.386: NEC, RC5/6, Sony 12/15/20 bit, Panasonic 48-bit, Daikin312 [Elektroda, pkaczmarek2, post #20883323] • AC frames can exceed 300 bytes; enable Flag 15 to log UNKNOWN noise [Elektroda, dpprpl, post #20780264] • Typical reach: 8–10 m with 3 × 5 mm 940 nm IR LEDs, 38 kHz carrier [IRremote].

How do I wire and flash the S06/S08/S16 IR blaster?

  1. Solder wires to 3 V3, GND, TX1, RX1 and CEN pads.
  2. Hold CEN low, power the board, then run hid_download_py or OpenBK GUI Flash Tool with the BK7231N_QIO image [Elektroda, crazybyte, post #20354088]
  3. After “Flash success”, release CEN and reboot. Total time ≈ 60 s.

Why does my Wi-Fi LED stay off?

Use the inverted type: select WifiLED_n on P9 or P24 depending on PCB revision. Some S08 Pro boards route LED to PWM3 (P9), not PWM2 [Elektroda, brianroy86, post #20862526]

IRSend runs but LEDs never flash—what’s wrong?

Check: a) protocol string must start with the name only, e.g. “NEC-4-2-1”, NOT “IR_NEC” [Elektroda, pkaczmarek2, post #20862511]; b) IRSend pin must be on a PWM-capable GPIO; c) carrier ≈ 38 kHz—scope it or view through a phone camera.

How do I read IR codes quickly?

Enable Flag 15 to log unknown packets, open WebApp→Log, point remote, read lines like “IR_NEC 0x4 0x2 0” [Elektroda, dpprpl, post #20780264]

Sony commands send only the start bit—fix?

Update to ≥ v1.17.566. Firmware now auto-fills missing bit length; override with “Sony-ADDR-CMD-REP-NUMBITS” if needed [Elektroda, pkaczmarek2, post #20883323]

AC remote shows IR_UNKNOWN—can I still control it?

Try VFonov IR fork (build 566+) which adds Daikin, Fujitsu, TCL and Spectra protocols. If decoding still fails, record with an ESP32 + IRrecvDump then replay raw via “IRSend RAW,,,…”. Edge case: long AC frames may exceed 1 KB buffer; split into two parts.

How to convert Celsius*10 to real temperature?

Set channel type temperature_div10 in autoexec: “setChannelType 1 temperature_div10”. HA will convert to °F automatically [Elektroda, p.kaczmarek2, post #20840661]
Generated by the language model.
%}