摘要单片微型计算机(简称单片机)作为微型计算机的一个很重要的分支,自它诞生以来至今,以其极高的性能价格比以及一系列人所共识的优点,受到越来越多的工程技术人员的重视
现在,单片机已广泛地应用在智能仪器仪表、机电设备过程控制、自动检测、家用电器和数据处理等各个方面,有着宽阔的进展前景
本文介绍一种用 AT89C51 单片机构成的波形发生器,可产生方波、三角波、正弦波、锯齿波等多种波形,波形的周期可用程序改变,并可根据需要选择单极性输出或双极性输出,具有线路简单、结构紧凑、性能优越等特点
文章给出了源代码,通过仿真测试,其性能指标达到了设计要求
关键词:单片机;DAC;信号发生器 Abstract Single chip microcomputer ( referred to as the single chip microcomputer ) as a very important branch, since its birth date, with its high performance price ratio and a series of well known advantages, being more and more the attention of project technology personnel
Now, SCM has been widely used in intelligent instrumentation, electrical and mechanical equipment process control, automatic detection, household appliances and data processing and other aspects, there are broad prospects for deve