Applications / R&D
LED and lighting tests: dim curves, input power, flicker.
Step an LED driver through its dim range from a programmable supply, and log input power, LED current and flicker at each level. Every instrument on the bench speaks SCPI, so one script drives them all.
| Dimming | 0–10 V input from a second supply channel |
|---|---|
| Power | Power analyser: watts, power factor on mains |
| LED current | DMM over a shunt |
| Flicker | Photodiode on a scope channel |
| Plan | MAKER+ |
01 · The setup
Light, power and control on one bench.

- 1Two-channel programmable supply. Channel 1 powers the LED driver; channel 2 drives its 0–10 V dim input.Scpi · LAN
- 2Power analyser on the driver input: watts, and power factor on a mains driver.Scpi · LAN
- 3Bench DMM reads the LED current over a shunt.Scpi · LAN
- 4Oscilloscope with the photodiode on channel 1, for ripple as a flicker measure.Scpi · LAN
- 5Network switch. Every instrument is on the LAN.TCP/IP
- 6LED driver and module on a heatsink, wired to the supply and the shunt.—
- 7Light-tight box with the photodiode, cabled to the scope.—
02 · The dim curve
Every level, three numbers, one CSV.
EX Dim curve over a 0–10 V inputMaker
runs inside Muxitruns on your computer · pip install muxit
scripts/dim-curve.js
// dim-curve.js: input power, LED current and flicker over the 0–10 V dim range
const supply = connector("supply"); // 24 V for the LED driver
const dim = connector("dim"); // second supply channel on the 0–10 V input
const pa = connector("analyser"); // power analyser on the 24 V input
const dmm = connector("dmm"); // LED current over a shunt
const scope = connector("scope"); // photodiode on channel 1
const csv = connector("fileaccess").openText("runs/dim-curve.csv");
csv.write("dim_v,pin_w,led_ma,ripple_vpp\n");
supply.voltage = 24;
supply.output = true;
dim.output = true;
for (let v = 10; v >= 0; v -= 0.25) {
dim.voltage = v;
delay(1500);
csv.append([v, pa.power, dmm.current * 1000, scope.vpp]);
}
supply.output = false;
log.info("Dim curve saved to runs/dim-curve.csv");dim_curve.py
# dim_curve.py: input power, LED current and flicker over the 0-10 V dim range
import csv, time
import muxit
m = muxit.connect()
supply = m.connector("supply") # 24 V for the LED driver
dim = m.connector("dim") # second supply channel on the 0-10 V input
pa = m.connector("analyser") # power analyser on the 24 V input
dmm = m.connector("dmm") # LED current over a shunt
scope = m.connector("scope") # photodiode on channel 1
supply.voltage = 24
supply.output = True
dim.output = True
with open("dim-curve.csv", "w", newline="") as f:
out = csv.writer(f)
out.writerow(["dim_v", "pin_w", "led_ma", "ripple_vpp"])
for step in range(41): # 10 V down to 0 V in 0.25 V steps
v = 10 - step * 0.25
dim.voltage = v
time.sleep(1.5)
out.writerow([v, pa.power, dmm.current * 1000, scope.vpp])
supply.output = False
print("Dim curve saved to dim-curve.csv")What happens
- Channel 1 of the supply powers the LED driver at 24 V; channel 2, set up as its own connector, drives the 0–10 V dim input from 10 V down to 0 in steps of 0.25 V.
- At each step the analyser gives input power, the DMM the LED current over a shunt, and the scope the ripple of a photodiode as a flicker measure.
- Each row goes to runs/dim-curve.csv, which Muxit charts while the run is going.
For a mains driver, a programmable AC source takes the place of channel 1 and the analyser adds power factor.
03 · What you need
Instruments and plan.
| Part | How Muxit reaches it |
|---|---|
| Programmable DC supply, two channels | Scpi · LAN / USB-TMC / serial |
| Precision power analyser | Scpi or ASCII commands · LAN / USB / serial |
| Bench DMM | Scpi |
| Oscilloscope with a photodiode or light sensor | Scpi |
| Programmable AC source, for mains drivers | Scpi |
Five instruments plus file access: that is Maker's ten connectors. A smaller setup (supply, analyser, scope) fits on Free. Pricing →
Every instrument here needs a remote interface (LAN, USB-TMC or serial). Handheld meters and supplies with only knobs can't take part in an automated test.
04 · Limits
What it doesn't do (yet).
- Muxit has no spectrometer driver, so it does not measure colour (CCT, Duv, CRI). Light output comes from a photodiode or light sensor on the scope or DMM.
- Muxit doesn't certify luminaires (LM-80, flicker metrics to a standard). It runs and logs the measurements.
- Dimming over a lighting bus such as DALI needs a driver Muxit does not have. Drivers with an analogue 0–10 V or PWM input work.
Put the dim curve in a script.
Connect the supply, the analyser and the scope, and run the same curve on every driver variant.
Related applications
R&D characterisationSweeps, I/V curves and corner cases, logged to CSV and repeatable next week.
Power electronicsEfficiency and regulation of LED drivers, DC-DC converters and power supplies over load.
Battery and cell testsCharge and discharge cycles with a supply and a load, with hard limits and alerts.
Embedded and firmware testPower-cycle the board, read its serial log, measure sleep current, in one script.