Single-phase socket program modification notes

2018.4.25 Modified in 306:

Program function: mobile phone sends measurement reference value

Amendment 1:

Function: Ref_VALUE_RD()

        U8_CURR_WorkMode = D_CAL_START_MODE; //Switch to calibration mode 
        atk_8266_send_cmd( " AT+CIPSEND=0,8 " , " OK " , 20 );
        delay_ms(10);
        atk_8266_send_data( "Start calibration " , " ok " , 20 ); ///It takes 36s for 1000W device to calibrate 0.01° point

Note the above statement, the reason: the calibration mode of the socket measurement program refers to using a 1000W load on the socket, and then entering the calibration mode, after 36S, a new U16_REF_001_E_Pluse_CNT (the reference value of the number of pulses corresponding to 0.01° power) is obtained, and the mobile phone sends the reference value of the reference value. At this time, regardless of whether there is a load on the socket, the reference value sent by the mobile phone is modified by U16_P_REF_Data, U16_V_REF_Data, U16_I_REF_Data,

 

Single-phase calibration method: Use a standard load on the socket, such as 1000W, 220V power supply voltage, 4.545A current, then connect the mobile phone to the wireless from the socket, connect to port 8011 on 192.168.4.1 as a TCP client, and send the command reference=10000,2200,4545 That's it.

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324884908&siteId=291194637