2026-11-13

An STM32F407 LCR bridge and 4.5-digit meter, with the oscilloscope still unbuilt

Open SourceSTM32LCRMeasurementGPL 3.0
An STM32F407 LCR bridge and 4.5-digit meter, with the oscilloscope still unbuilt

A project on the Lichuang open hardware platform puts three instruments on one board: an LCR bridge, a 4.5-digit DC voltmeter, and a 7.2 MSPS sampling oscilloscope. Only the first two are built. The third exists as schematic space, and the project page says so in its own description. A daily open hardware column recently featured the board, but its framing of the project as a completed three-in-one instrument does not match the primary source.

The project was created on 22 December 2025 and last updated the next day, carries a GPL 3.0 licence, and lists a stated replication cost of CNY 50. The author describes themselves as an undergraduate student.

What is actually working

Function Status in the project Published basis
4.5-digit DC voltmeter Implemented 200 V range, ADS1220 with REF3425 reference
LCR bridge capacitance Implemented 1 pF to 200 uF across five test frequencies
LCR bridge resistance Implemented 5 ohm to 1 Mohm
LCR bridge inductance Partly explored Only 2.2 mH and 4.7 mH class parts measured
7.2 MSPS oscilloscope Not populated DMA and DAC conflict, relay not fitted, no configuration code
Firmware source Not released One hex image in the attachments

The measurement core is a 24-bit ADS1220 delta-sigma ADC with a REF3425 2.5 V reference, driven by an STM32F407VET6. The author notes that the converter is capable of far more than 4.5 digits, but noise and what they call the antenna effect keep the last displayed digits moving, so the extra resolution carries no useful information. The display shows five digits within 200 V, which is why the project calls itself 4.5-digit by effective digits rather than by converter width.

The LCR bridge is the part with the most design work. Instead of a dedicated DDS source, the on-chip DAC of the STM32F407VET6 generates the sine excitation, an NE5532 shapes it, and a JFET-input OPA140 performs current-to-voltage conversion at a virtual ground to suppress parasitic capacitance. A CD4053 three-channel switch, driven by PWM square waves at the DAC frequency, performs I/Q demodulation; changing the timer auto-reload value yields a second square wave 90 degrees out of phase. Three RC low-pass stages extract the DC components, and the MCU does the complex arithmetic. An ADG1408 multiplexer selects among voltage ranges and I/Q channels, and eight switched reference resistors produce the range setting shown on screen.

Limits the author states plainly

Five test frequencies are listed: 100 Hz, 120 Hz, 1 kHz, 10 kHz and 100 kHz, with the note that readings at present drift somewhat. Capacitance coverage is 1 pF to 200 uF and requires the low frequencies at the top end. Resistance coverage is 5 ohm to 1 Mohm. Inductance has only been tried with two mH-class parts because the author has no other inductors on hand, and the author explicitly says the inductor side has not been optimised.

The capacitance screenshots use nominal component values as their reference because no professional LCR bridge was available, and the DC voltage screenshots use a RIGOL bench supply as reference. Those images show that both chains produce plausible values. They are not an accuracy characterisation, and no uncertainty budget is published.

Two more self-declared compromises are worth keeping when reading the schematic. The NE5532 was chosen because it was cheap and already available, and the author says its weak drive capability makes large-capacitance measurement unfriendly. The voltmeter divider uses 1 percent discrete resistors where a 10 Mohm tapped chain with a precision resistor network would have been better.

Power and layout, with a warning attached

Analog and digital supplies and ground planes are separated by a single cut. Positive and negative analog rails come from a TPS60403 charge-pump inverter, a TPS72325 negative regulator and an ADP150 2.5 V regulator, with an SPX3819 for the digital 3.3 V rail. The author adds an emphatic warning that this one-cut ground scheme works only because the measurement link is slow, citing the ADS1220 at 20 SPS, and that copying it into a design with high-speed communication would cause serious problems. That caveat is easy to lose when only the schematic is reproduced.

Where the daily column overstates the project

The column added a cost breakdown: two ADI analog switches at CNY 37 each, said to account for forty percent of the bill of materials. The project page does not support it. Its BOM tab is empty, no component prices are listed, and its replication cost field reads CNY 50, which is smaller than the claimed price of those two parts alone. The board does use two ADG1408 multiplexers and one CD4053 switch, but neither the unit prices nor the forty percent share can be verified, so those figures are not repeated here.

The column also describes a five-page A4 schematic PDF. The published attachments are an EDA project file, a filter design file and a hex firmware image, and the design-preview tab has not been generated. A schematic may be exportable from the project file, but no PDF is published with the project.

Finally, the 7.2 MSPS figure in the project title is not a working oscilloscope. The author reports verifying that sampling rate on an earlier version by sampling a 3.6 MHz sine wave and checking the FFT, using interleaved ADC sampling. In this version the link is not soldered and has no configuration code, because DMA and DAC resources conflict and the relay needed for DC coupling had not arrived. The source code is promised after the author finishes optimising it; until then the only firmware artefact is a hex file.

For an integrator, the reusable idea here is the quadrature demodulation chain built from a general-purpose MCU DAC and a cheap analog switch. The publishable specification is much narrower: two measurement chains demonstrated with nominal-value references, an open EDA project, and a firmware source release that has not happened yet.

← All news