Digital gain control of Opamp.

The gain of U1 can be controlled by a digital binary 1248 nibble at ABC. The gain at digital 000 is unity or 1 and the gain at various stages are set by 4051.

Precision Attenuator with Digital Control – delabs

There are eight different gains as the steps of gain resistor network is chosen by 4051. The on resistance of 4051 channel around 100E gets added to U1 pin 2 internal impedance.

Digital gain control of Opamp

Auto ranging 4-1/2 Digit Digital Voltmeter – delabs

You can use separate resistor networks with trimpots for each channel if you require but keep the networks total burden on U1 pin 6 to around 10K, not less than than. You can use this to set the gain of a amplifier with the help of a microcontroller.

Simple Sample and Hold with CD4066

A sample and hold is like an analog memory. If The digital control A is low 4066 switch is open, and when A is high switch is closed. U2B is a buffer so as to ensure quick charging of C1 thru 4066 on resistance of 100E.

Simple Sample and Hold with CD4066

Mixed and Interface Circuits

U2A is a FET input opamp buffer which does not load or drain the cap C1. When A goes high the input analog sample is stored in C1. A has to be high for say 10*1uF*100E = 1mS, so that a proper stable sample is stored. When A is low C1 undergoes very slow discharge as opamp input resistance and 4066 off resistance is in giga ohms. The accuracy of reading Vout falls with respect to time due to leakage currents.

Microohm Meter with LED Analog Bar

This indicates like LM3914 in dot-mode. It is a drawing i made made to troubleshoot a gadget, around two decades ago. Strangely it had a echo of a design i had made into a 7107 dpm years before that. Now i am scanning all my drawing and notes, useful or not. Clean or with errors. Many Errors = 1 Blunder. Some projects i made have been expensive Blunders. So see them with a skeptic eye, fix them, try them. Thats all for now.

See the Circuit Full Size – Microohm Meter with LED Analog Bar

Microohm Meter with LED Analog Bar

This has a 9V battery power. The 555 spins and a negative voltage for Opamp is created. This is a Low Offset amp of OP37 of Precision Monolithics, Inc PMI an early innovator. This diff-amp amplifies the uV of a 4 wire resistance measurement.

Now the current pump is the 2N2222 you see above the OP37. The FET and 555 do synchronous rectification. The LM324 is the Indicator and Analog to LED Dot-Bar Converter. The probes are Gold Plated, or use solid gold pins if you have them in plenty.

Resistance measurement with Current Source – DMM

U3 LF 356 is used as a constant current source (sink as the current is negative). R4, R5, R7 and R9 set the four resistance ranges by changing the constant current in decade steps. R2 is for calibration of resistance range. The A-B digital control of 4052 selects the range.

Resistance measurement – DMM Project

Let voltage current and resistance sockets be separate and of different color or use a high voltage electrical rotary switch or relays if you want the same sockets switched. D1, D2 and R8 are to ensure that the FET can be turned off, as the opamp swings from +/- 3.5V only, with some FET it needs to be tweaked.

Resistance measurement - DMM Project

When you keep the current constant, the voltage across a resistor is directly proportional to the Resistor Value. This can be scaled to gat a usable reading on a Digital Voltmeter.