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 and MK117 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 measuring data function. MK114 and MK117 hardware users can realize the whole development with this file.
- “rn8209_flash.c” file used to read and save the calibration parameters of MK114 and MK117.
- “cJSON.c” is the JSON format file during the calibration.
- “mk114_led.c” is an example file of MK114 led controlling.
- “ws2812.c” is an example file of MK117 led controlling.
- “example_prj_52832/rn8209c_52832” is the example project for MK114B and MK117B hardware.
in dir example_prj_52832 ,have a example prj ,this prj work in nrfsdk 13。