logo elektroda
logo elektroda
X
logo elektroda

Flashing PJ 1103C Smart Meter (BK7238 V1.2) with BK7231 GUIFLASHTool and TuyaMCU Setup

frath 57 0
ADVERTISEMENT
  • #1 21781259
    frath
    Level 2  
    Smart meter PJ 1103C BK7238 V1.2 (2025/8/13)

    How to make it works.
    Take off the wifi bk7238
    Flash with BK7231 GUIFLASHTool (V154)
    3.3V, gnd, tx rx
    Put back the wifi card,
    Connect to 240V
    Once in the html page go to startup command and paste this:

    Start:
    startDriver TuyaMCU
    tuyaMcu_setBaudRate 9600
    tuyaMcu_defWiFiState 4
    addRepeatingEvent 10 -1 uartSendHex 55AA0008000007
    setChannelType 1 Voltage_div10
    setChannelType 2 Frequency_div100
    setChannelType 3 Power_div10
    setChannelType 4 Current_div1000
    setChannelType 5 PowerFactor_div100
    setChannelType 6 EnergyTotal_kWh_div100
    setChannelType 7 Power_div10
    setChannelType 8 Current_div1000
    setChannelType 9 PowerFactor_div100
    setChannelType 10 EnergyTotal_kWh_div100
    setChannelType 11 ReadOnly
    setChannelType 12 ReadOnly
    setChannelType 13 Power_div10
    linkTuyaMCUOutputToChannel 112 val 1
    linkTuyaMCUOutputToChannel 111 val 2
    linkTuyaMCUOutputToChannel 101 val 3
    linkTuyaMCUOutputToChannel 113 val 4
    linkTuyaMCUOutputToChannel 110 val 5
    linkTuyaMCUOutputToChannel 106 val 6
    linkTuyaMCUOutputToChannel 105 val 7
    linkTuyaMCUOutputToChannel 114 val 8
    linkTuyaMCUOutputToChannel 121 val 9
    linkTuyaMCUOutputToChannel 107 val 10
    linkTuyaMCUOutputToChannel 102 raw 11
    linkTuyaMCUOutputToChannel 104 raw 12
    linkTuyaMCUOutputToChannel 115 val 13
    setChannelLabel 1 "Tension"
    setChannelLabel 2 "Frequence"
    setChannelLabel 3 "Puissance A"
    setChannelLabel 4 "Courant A"
    setChannelLabel 5 "PowerFactor A"
    setChannelLabel 6 "Energie A"
    setChannelLabel 7 "Puissance B"
    setChannelLabel 8 "Courant B"
    setChannelLabel 9 "PowerFactor B"
    setChannelLabel 10 "Energie B"
    setChannelLabel 11 "Direction A"
    setChannelLabel 12 "Direction B"
    setChannelLabel 13 "Puissance nette"

    Then it should work.
    PS: If you have more than one to flash, you might be annoyed with the same mac adress.
    So in the UART Flasher go to: show advanced options and hit the restore RF part. this should assign an differetn mac adress that can be read by hitting the firmware backup (read) only, at the end it will show the new mac adress

    Screenshot of BK7231 Easy UART Flasher with marked interface elements.
    Green PCB with microchips, resistors, connectors, and labeled terminals
    Circuit board with capacitors, screw terminal, and black antenna
    White PJ-1103C power meter with input labels and certification symbols
    AI: What exactly is not working after following these steps? Are you getting any errors, or is the device not responding as expected?
    nope
    AI: Which firmware or binary file did you use with the BK7231 GUIFLASHTool to flash the smart meter?
    openBK7238_QIO_1.18.226.bin
  • ADVERTISEMENT
ADVERTISEMENT