文章介绍了利用AT89c52单片机设计单相预付费式电度表.对电压、电流的采集,电能的计算,数据的储存、显示和系统控制等环节进行了介绍.还给出了硬件原理图和软件流程图,对各个模块工作原理进行了分析.%An electric meter with prepary in single-phase based on the AT89c52 single-chip was designed.Measurement of voltage and current,calculation of electric energy,store and display of date and control of the system was described in this paper.Principle working chart of hardware have been indicated.Soft ware flow chart of the control system was also gived.
展开▼