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.

Instrumentation and Measurement Circuits

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’.

The 7107 DPM can be replaced by the Analog Inputs of the Arduino or Microcontrooler A/D Stage.

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.

80C39 and MCS48 based Process Controller is the main circuit that has the LED 7 segment display for output and push keys for input. The old form of Human Machine Interface – HMI.

Digital to Analog Converter with uC Watchdog

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.

This is a R-2R Digital to Analog Converter, It converts a byte (8 bit) to a analog value. It has 256 levels including zero.

This was the first Digital Pot i Built decades back – Digital Potentiometer

This can be used to convert a byte sent from a microcontroller to a analog value like say 1.51 V. At full scale, when all 8 bits are high calibrate to give 2.55 V then ever bit increment is 0.01V, 10mV steps.

Digital to Analog with R2R Ladder Network

If the eight bits inputs are from a counter you then will see a staircase waveform at output, each step being 10mV higher or lower depending on whether the counter is counting up or down.

The accuracy of the analog output depends on the resistor ladder. The OP07 has an offset error of about 70uV only. The 74HCT373 power is derived from LM336 a stable reference so that the D-A is accurate. The 8 bit data can be latched with the 74HCT373 to get a stable analog value for control systems.

See another circuit in which both these ICs are used Mini RTD Pt-100 Three Wire Transmitter

OP07E has very low input offset voltage 75 µV max and low input bias current ±4 nA

ICL8038 and XR-2206 can help you build a Function Generator or Wavform Generator. It is needed along with the Oscilloscope and Power Supply on the Workbench.

The ICL8038 waveform generator is a monolithic integrated circuit capable of producing high accuracy sine, square, triangular, sawtooth and pulse waveforms with a minimum of external components. The frequency (or repetition rate) can be selected externally from 0.001Hz to more than 300kHz using either resistors or capacitors, and frequency modulation and sweeping can be accomplished with an external voltage.

See the Full page with parts list at my Website – Function Generator using ICL8038.

Function Generator using ICL8038


Frequency range – 0.95 Hz to 105 KHz in five decade ranges
Waveforms – Sine, Triangular and Square.
Output amplitude – Adjustable from 10 mV PP. to 10 V PP
Output impedance – 50 ohms.

A, B, and C are the Digital Control for x, y and z input and output pairs.The voltage at Vinx is stored in C1 when A goes high, when A is low the voltage stored in C1 is read by buffer U2A.

It could be used in DMM circuits as Analog Memory DMM range, AC-DC mode, logic control

Sample and Hold with Standby CD4053

Another application of  Mux 8 Channel 4-20mA Analog Multiplexer

The stby or standby input should be low when sample and hold is operating. If stby is taken high then C1 Cap is isolated and leakage is minimum. The supply of +/- 7.5V is chosen as OFF resistance of 4053 is high at this supply.

This Circuit is a simple Analog to Digital Interface with a capability of 10 to 12 bits resolution. 10 bits means 1024 counts or parts of a full scale FS which is close to 3-1/2 1999 counts.

VCO with LM331

In this 1 V can be read as 1.000 V that means even 1mV can be resolved for FS of 1V. The Caps C6 and others must be plastic multilayer low-leakage types for accuracy of reading. Use all 1% MFR 100ppm or better resistors, Design gain of U1B for the Full Scale you want.

Mixed Circuits Analog with Digital

The Output Fout is a Frequency which is directly proportional to the measured voltage Vin. The pulses can be isolated using opto-couplers to avoid ground loops or electric hazard. An additional protection and scaling circuit at the input may be required for some sensors.

This circuit uses a R-2R Ladder Resistor Network to convert digital data from PC Printer Port to Analog. This can be used as a Millivolt Source or Programmable Power Supply.

This circuit is a R-2R, Digital to Analog Converter. You can replace the R2R with a D-A Chip for better performance. This circuit is just to understand the Concept, for learning and Experimenting.

Milli Volt Source for Printer Port

Milli Volt Source for Printer Port

The MFR resistors are 1%, hence the precision of this Conversion is not very good. It is ok for servo applications or closed loop conversion along with the ICL7135. That can be tried with software.

A 4053 Analog Switch controlled by PC software will give you a negative or positive output. R41 trimpot is to calibrate or scale output. If you modify this circuit, you could output data at a fast rate, then you have a staircase generator. You can write software for a waveform generator or function generator too.

You can design a dual tracking power supply over this. You can loop it with the DVM circuit shown earlier and make a 12 bit accuracy millivolt or milliamp source. It will depend more on the software and little addons to circuit.

Here 4052 is used as an analog multiplexer, U3A TL062 opamp is wired as a 1mA Constant Current Source. It pumps 1mA into U2 4052 pin 13 X . Depending on BCD code on inputs A, B of 4052 the current is routed to any one of the four RTD 100E, whose one end is connected to X0-X3. The current then flows to GND thru the Platinum 100E resistance. The Y0-Y3 monitors the mV developed on RTD in tandem with X0-X3 positions. Like a ganged rotary switch. The Output mV at Y is the mV of Active Channel as selected by the BCD of 4029.

RTD Pt-100 Four Point Alarm – del90001

The BCD is provided by 4029 counter which is clocked by a 555. U5A cancels out the 100E mV (1mA * 100E) of a cold RTD and Amplifies the differential mV. This output of U5A is in proportion with measured temperature. U5B compares the mV that was obtained with a preset mV of POT1, which is a user setting called setpoint. The difference is amplified by U5B which is saturated by U3B comparator which adds a little hysteresis too. R7-C2 further dampen and slow the response. This finally drives Q2 to provide a Logic Signal indicating if temperature is below or above setpoint.

RTD Pt-100 Four Point AlarmFour points in a Closed Loop Temperature Control System is Monitored and a Alarm set to go off when the temperature goes beyond the set limit.