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
srcdirectory stores.cfiles and theincludedirectory stores.hfiles ofRN8209C. rn8209c_u.cfile includes RN8209C driver and calibration method.rn8209c_user.cfile includes RN8209C port driver function, calibration function and reading energy measuring data function.rn8209_flash.cfile used to read and save the calibration parameters ofMK115,MK114andMK117.cJSON.cis the JSON format file during the calibration.- “example_prj_ESP32” is the example project for
MK115,MK114andMK117hardware. - “example_prj_52832” is the example project for
MK114BandMK117Bhardware.
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,MK114andMK117hardware. - The corresponding gateway hardware is defined according to the macros in the
dev_cfg.hfile, default definedMK115hardware.MK115hardware users can realize the whole development of RN8209C with this prj.