This circuit is based on a very old application note from exar, in this the frequency is fixed by IC1 and IC2 -P1 controls the duty cycle. you need to compute the R and C values to get what you need, LM555 data sheet.
You have to study the circuit and do something more innovative perhaps, just copying is ok for learning but it will get you nowhere, so learn and then innovate, the eagle circuit is given below so you can learn by editing it, also design a PCB with it, and you can even make a PCB at home to learn, but it is always good to get PCBs done by a PCB vendor, but you should understand his problems, then you will design well, so make a few PCBs.
Edit the circuit eagle cad file del00012.zip
This is the Analog front end of the 80C39 Process Controller. The analog input is protected by a Zener barrier, low leakage. You could use clamping diodes too.
The non-inverting low-offset amp offers high input impedance. After further amplification it reaches the VCO LM331. The pulse train from the VCO reaches the uC port and is gated and measured by the MCS48 firmware. The voltage is deduced from the Frequency or Pulse width.
You can get a resolution near to a 8-10 bit A/D converter. It does not work for negative voltages. It is a low cost Voltmeter or Process Display solution.
80C39 and MCS48 based Process Controller is the main circuit that has the LED 7 segment display for output and push keys for input.
This is the continuation of the earlier post. Part of 80C39 based Process Controller. In this schematic you can see the Watchdog and D/A Converter.
My first observation of a very complex watchdog in action was an Agilent(hp) Benchtop Multimeter based on this 8048 family of 1st generation microcontrollers that did not even have a UART among many things.
At that time CMOS was just making an entry and FLASH memory was unheard of. The UV Eprom was the way firmware was set on these systems. These consumed a lot of power. 80C39 was the CMOS one.
The 4040 counter derives a slow clock from the 7555 timer. The counter has to be reset by firmware by periodically sending a reset pulse on port pin P2.7 to say “Alls Well”.
If the firmware or uC “hangs” or due to EMI or Spikes the uC gets into an endless loop. Then the “Alls Well” pulses stop coming. The 4040 keeps counting till Q10 output goes high and resets the uC or can we say Wakes it up rudely.
The D/A converter was used to get the 1-5 V to obtain 4-20 mA control Signal to operate the Actuators like a Motor Drive or Heaters in a Industrial Process control System.
Let us assume you have to Measure Amps and Volts in four independent circuits. This becomes a Multi Channel Voltmeter and Ammeter.
This circuit uses a 4052 as a DC Analog Multiplexer, the inputs to this Mux must be from Low Impedance Output OpAmps. The Resistors Shown are not needed once the Signal Conditioning Opamps are connected. The Restors can be 100K to keep the inputs from floating, that will not load an opamp. The resistors can attenuate signals if sensors are directly connected.
The signals from sensors have to be amplified and corrected or scaled before reaching this Switched DVM. For Current a Shunt is the Sensor and for AC current a CT or current transformer is the sensor. Voltmeter has Attenuator as the ‘Sensor’.
he 7107 DPM can be replaced by the Analog Inputs of the Arduino or Microcontrooler A/D Stage.