摘要
采用单片机控制具有I2C总线结构的PCF8591集成电路产生正弦波、方波、三角波、锯齿波4种信号波形,设计系统的硬件电路图和软件设计流程图。通过调节电位器改变基准电压的大小来改变信号的幅度,设置按键调整延时函数的时间达到调节信号频率的目的。并用Proteus软件进行了仿真调试,制作的实物电路简单,操作方便,运行稳定可靠,对采用I2C总线结构设计信号发生器具有参考价值。
In this paper, the single chip microcomputer control with I2 C bus structure of the PCF8591 integrated circuit to generate sine wave, square wave,triangle wave, sawtooth wave 4 kinds of signal waveform. Hardware circuit diagram and software design flow chart of system are given. By adjusting the potentiometer to change the size of the reference voltage to change the amplitude of signal, setting button to adjust the time of delay function to achieve the purpose of regulating the frequency of signal. Proteus software is used to simulate and debug, the hardware circuit is simple, the operation is convenient, the operation is stable and reliable, and it has reference value for the design of signal generator based on I2 C bus structure.
出处
《自动化与仪器仪表》
2015年第11期41-42 45,共3页
Automation & Instrumentation