基于单片机原理的 波形发生器 摘要:本系统采纳单片机 C8051 为控制核心,输出数字量,然后由 DAC0832 把数字量转换成模拟量;但是输出的是电流,需要用运放(OP07),把电流转换成电压量
显示利用的是 LCD1602 的液晶,显示其波形,幅值
按键应用的是独立按键,用来波形的切换,幅值,频率的调解
其运算核心,我们通过 MATLAB 对正弦波,三角板,正弦波进行采样,得到一组组数据,然后同过数组存储;利用中断对数组进行扫描
其频率的调解就是调节其中断间隔的时间,幅值就是调节其数字的大小(同时乘以某个小于 1的数)
为了波形的合成,我们采纳的点的个数都是 20 个
关键词:AT-89C51 DAC0832 独立按键 OP07The Design of Waveform Generator Based on 51Abstract:This system adopts single-chip C8051 as the control core, digital output, and then by DAC0832 convert digital to analog; But the output is current, the need to use operational amplifier (OP07), the amount of current into a voltage
Display using the LCD1602 LCD, display the waveform amplitude
Key applications is independent, switch to waveform, amplitude, frequency of mediation
Its core operation, we use MATLAB to sine wa