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 and theinclude
directory stores.h
files ofRN8209C
. 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.rn8209_flash.c
file used to read and save the calibration parameters ofMK115
,MK114
andMK117
.cJSON.c
is the JSON format file during the calibration.- “example_prj_ESP32” is the example project for
MK115
,MK114
andMK117
hardware. - “example_prj_52832” is the example project for
MK114B
andMK117B
hardware.
in dir example_prj_52832
,have a example prj ,this prj work in nrfsdk 13。
- in dir
example_prj_ESP32
,have a example prj ,this prj work in ESP-IDF SDK, forMK115
,MK114
andMK117
hardware. - The corresponding gateway hardware is defined according to the macros in the
dev_cfg.h
file, default definedMK115
hardware.MK115
hardware users can realize the whole development of RN8209C with this prj.