MOKO provides power metering SDK based on RN8209C chip
Please use the SDK according to the porting interface to avoid usage problems
The provided SDK includes two parts, one part is the driver and calibration method of RN8209C, another is the calibration and application method based on MOKO hardware and software.
-
The “src “ directory stores .c files, the “include” directory stores .h files. The “main.c” is an example document used to explain how to use this SDK based on MK114 hardware.
-
“rn8209c_u.c “ file includes RN8209C driver and calibration method.
-
“rn8209c_user.c” file includes RN8209C port driver function, calibration function and reading energy measurement data function. MK114 hardware users can realize the whole development with only this file.
-
“rn8209_flash.c” file used to read and save the calibration parameters of MK114.
-
“cJSON.c” is the JSON format file during the calibration.
-
“Led.c” is an example file of the led controlling.
in dir example_prj_52832 ,have a example prj ,this prj work in nrfsdk 13。