1. Design requirements and goals
Specific functions:
(1) LCD1602 displays the waveform type and frequency value (frequency range 10-100HZ);
(2) You can set the waveform type and set the frequency step value by pressing the button;
(3) The potentiometer can change the amplitude ( 0V-3.5V stable);
(4) Sine wave, sawtooth wave, triangle wave, rectangular wave can be generated;
(5) Four indicator lights can respectively indicate the emitted waveform.
2. Design plan and ideas
The low-frequency signal generator system is mainly composed of CPU, D/A conversion circuit, current/voltage conversion circuit, button and waveform indicator circuit, power supply and other circuits. Its working principle is that when the switch button is pressed respectively, a square wave, a sawtooth wave, a triangle wave, and a sine wave will appear, and there are four light-emitting diodes as different waveform indicators. The liquid crystal displays the current output frequency and waveform indication in real time, and the output waveform amplitude can be fine-tuned by the potentiometer. The key can also adjust the step value of the output frequency.