logo elektroda
logo elektroda
X
logo elektroda

Issues with NoName Tuya Device from AliExpress: BK7231N Chip, OpenBK deploying

zyklop 543 3
ADVERTISEMENT
  • #1 21163900
    zyklop
    Level 2  
    Hello, I have problems with new noName Tuya device from AliExpress

    WiFi+RF433 switch with informational label.Close-up of a PCB with a relay and connectors.Image of the PCB board of a noName Tuya device from AliExpress, showing electronic components.

    It has a one way switch and is coupled with RF433 also to switch the relay. It has a BK7231N chip on PCB.
    I successfully flashed OpenBK from the solder pads with TTL flasher for this chip, but it was sometimes "laggy" and sometimes unstable on the WiFi connection.
    I figured out safe, that PIN 7 is the Relay, PIN 26 is the WiFi LED and (not sure) maybe P10 is the toggleOnOff and PIN 23 is the PCB Button.

    Back to the original flash binary it works stable and normal with Tuya app.
    But Tuya configs are in a different memory allocation as mentioned. I found this at 0x1D4000 to 0x1D41CD in the backup file.

    {rl1_lv:1,on_off_cnt:10,onoff_rst_m:1,onoff_clear_t:10,rand_dpid:42,net_trig:4,onoff_n:3,netled1_lv:1,jv:102,onoff_rst_type:2,total_bt_pin:23,nety_led:2,total_stat:2,reset_t:5,netled1_pin:26,remote_add_dp:49,remote_list_dp:50,net_type:0,inch_dp:44,rf_width:359,module:CB2S,ch_cddpid1:9,remote_io:8,onoff1:6,clean_t:5,init_conf:38,zero_select:0,onoff_type:0,series_ctrl:0,total_bt_lv:0,cyc_dpid:43,remote_select:1,ch_num:1,rl1_pin:7,netn_led:2,ch_dpid1:1,crc:81,}

    Any ideas or complete ready to deploy Templates?

    Regards

    zyklop
  • ADVERTISEMENT
  • ADVERTISEMENT
  • #3 21164947
    zyklop
    Level 2  
    found the error, it was in front of the monitor (Layer 8...) !!
    i have killed a resistor near the wifi antenna and so the wifi has become weak signal, what is the reason for interruptions and reboots.
    but maybe my other collected information helps to engineer another type of device ! Mine is broken.......
    maybe if it is no further used, pls close this thread.
    regards
  • #4 21231524
    nmw1213
    Level 1  
    >>21163900 hey, would you be able to post the specific firmware file you were able to upload to the device? I have a bunch of the same ones and none of the files I'm trying are working.

    Thanks in advance!
ADVERTISEMENT