论文部分内容阅读
本设计通过程序调节数字电位器AD5220BN50的阻值大小,从而控制电路中的电压大小,实现单片机对信号的放大与缩小。利用AT89C51作为微处理器,使用AD5220BN50作为数字电位器,使用AD603作为电压控制型放大器。通过对单片机AT89C5对数字电位器AD5220BN50进行输出控制,利用单片机AT89C51的计数功能对外部按键(增大,减少)进行计数,单片机内部通过按键数多少对AD5220BN50时序写入,进一步控制AD5220BN50的抽头数,来改变电路的电压大小,实现程序控制电压的放大与缩小。并且在Proteus7.8进行仿真。
This design adjusts the resistance value of the digital potentiometer AD5220BN50 through the procedure, thus controls the voltage magnitude in the circuit, realizes the one-chip computer enlarges and contracts the signal. Using the AT89C51 as a microprocessor, using the AD5220BN50 as a digital potentiometer, and using the AD603 as a voltage-controlled amplifier. By controlling the output of the AD5220BN50 digital potentiometer, the AT89C51 uses the count function of the microcontroller AT89C51 to count the external keys (increase or decrease). The number of keys in the microcontroller is used to write the timing of the AD5220BN50 to further control the tap number of the AD5220BN50, To change the circuit voltage size, to achieve the program control voltage amplification and reduction. And simulation in Proteus7.8.