Article count:10804 Read by:13623255

Account Entry

Design of intelligent power monitor based on KW41Z - Power meter software programming and meter debugging

Latest update time:2021-09-01 05:18
    Reads:

Since I am not familiar with the operating system and am still in the learning stage, I will directly use the bare-metal program for design. Please use KDS3.2.0 software, follow the prompts to create a new empty project with drivers, and then add or modify the following files.


Serial port 115200 8N1, the display program can be modified according to your needs. For specific information about the display screen, see my "[Design of an intelligent power monitor based on KW41Z] Post 6: LCD display design" https://en.eeworld.com/bbs/thread-545078-1-1.html


In order to arouse everyone's interest, I will first introduce the whole machine debugging diagram. Here I debug the power meter part of this project. The next post will directly hand in the homework, and introduce BLE and IEEE 802.15.4 measurement node communication.

1. Power meter debugging
Measurement node initial interface

Measurement node secondary interface

Three-level interface (three-phase imbalance display, the figure shows simulated data)

2. Programming
The power meter uses NXP-KW41Z to drive ADE7758. ADE7758.h contains the underlying driver, which uses the I/O port to simulate the SPI protocol, mainly for easy porting.


3. Debugging experience
After nearly a month of hard work, I have learned a lot of things. I feel that my four years of undergraduate studies and three years of master's studies have been in vain. In the field of electronics, what the school teaches can no longer be described as backward. It is understandable to teach some basic things at the undergraduate stage, but it is really incomprehensible at the master's stage.

Although I won good places in the electronics competition, I was only doing analog circuit design (amplifier circuit design) at that time. But when I came into contact with FPGA, ARM, NXP microcontroller, and high-level embedded programming, I was really hit hard.

Let alone whether we can make this microcontroller, even if I have good stuff, I will have to learn it by myself for a long time. I admire TI, ADI, NXP and other companies, these companies are really amazing, not only can they design chips, but also can launch the entire development chain tools adapted to this chip.

For me personally, through this competition, I found that I can do nothing and understand nothing. I feel that I must study hard, learn at work, and continue to learn on my own, so that I can adapt to this society, be competent in my job, support my family, and live.

Thanks to EEWORLD forum, nmg administrator, NXP, and myself, I was able to clearly understand the ups and downs in the future at the beginning of my career. I will explore, adapt, and strive for a better tomorrow with awe!

Well, I won't say much, welcome to read the original text to see the test video and code.


Long press the QR code below Add WeChat ID helloeeworld as a friend, send your career or EEWORLD forum account + the direction you are interested in, and you will be added to the WeChat communication group we have established in different fields after being reviewed and approved.

Featured Posts

[STM32F769Discovery development board trial] Single bus DHT11 driver & ADC light/proximity sensor & serial driver RGB
ThispostusesthevariousperipheralsoftheQingkeArduinoexpansionboardtoevaluatethecommunicationperformanceofthesinglebus/AD/analogserialbusoftheSTM32F769.TheperipheralmodulesusingtheexpansionboardincludetheDHT11modul
donatello1996 Special Edition for Assessment Centres
[National Technology N32 MCU Development Package] --N32G457 Series
Operationsteps:GototheofficialwebsiteofNationalTechnology-DeveloperCommunity-DataDownload,andcontinuouslydownloadthelatestversion
milafan Domestic Chip Exchange
#AI挑战营末站# Use luckfox RV1106 to recognize handwritten numbers in real time
1.Developmentenvironmentconstruction Refertotheofficialdocumentsofluckfox,downloadtheSDK,compileandburntheimage. Refertotheofficialtutorial:GettingStarted|LUCKFOXWIKI 1.DownloadtheSDKandcompile (1)Environ
空耳- Embedded System
Online Upgrade Method of DSP Application Program Based on Serial Communication
TheTMS320C2000seriesDSPisaDSPserieslaunchedbyTexasInstruments(TI)intheUnitedStatesthatcombinesthefeaturesofmicrocontrollersandhigh-performanceDSPs.ThisseriesofDSPshaspowerfulcontrolsignalprocessingcapabilitiesa
灞波儿奔 DSP and ARM Processors
Evaluation Weekly Report 20220801: Canaan K510 AI Development Kit is launched, and a domestic FPGA is expected to be launched this week~
Thisweek'sreviewhighlights: -Newevent:Canaan'slatesthigh-performancegraphicsandvoiceprocessingAIchip-KanzhiK510,developmentkitsarewaitingforyoutoapply -Newpreview:AdomesticallyproducedFPGAisexpectedtobelaunched
EEWORLD社区 Special Edition for Assessment Centres
[SparkFun MGM240P Thing Plus Matter Review] +thread Experiment 1
+threadExperiment1 TherewasonlyoneMGM240Pboard,soitwasnoteasytodothisexperiment.Butafterlookingthroughtheboardsatthebottomofthebox,Ifoundnrf52840usb-dongleandnrf52840dkboards.SoIstarted. First,u
damiaa RF/Wirelessly

Latest articlesabout

 
EEWorld WeChat Subscription

 
EEWorld WeChat Service Number

 
AutoDevelopers

About Us About Us Service Contact us Device Index Site Map Latest Updates Mobile Version

Site Related: TI Training

Room 1530, Zhongguancun MOOC Times Building,Block B, 18 Zhongguancun Street, Haidian District,Beijing, China Tel:(010)82350740 Postcode:100190

EEWORLD all rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号 Copyright © 2005-2021 EEWORLD.com.cn, Inc. All rights reserved