7 Segment Digit Turn Off Delay: Stopping Cross-Digit Leakage
In a multiplexed display, faint copies of one digit appear inside its neighbors. The segments are not damaged and the code is usually correct. The display is missing a 7 segment digit turn off delay: the next digit was enabled before the previous one finished switching off.
Quick Answer: Blank the Old Digit Before the New One Speaks
Every multiplex scan needs a short gap between disabling one digit driver and enabling the next. During that gap, which engineers call the 7 segment digit dead time, the old digit's stored charge drains and its driver output finishes its fall. Skip the gap and the new digit's current finds a path through the still-conducting old one, and the audience sees multiplex leakage as ghost segments.
Where the Leakage Comes From
Driver Output Decay
A transistor does not stop conducting the instant its base or gate command changes. Bipolar stages store charge in the junction, MOSFET stages discharge the gate through a resistor, and both take a finite time to fall. If the common-side enable of the next digit rises while the previous common-side is still falling, both digit commons are active for the overlap window and the segment lines feed both digits at once.

Residual Charge and Wiring Capacitance
Long traces and the display's internal wiring hold charge after the drive is removed. That residual charge holds weak light in the old digit until it drains, which is why ghost segments are brightest right after a fast scan change and fade as the scan slows.

Scan Software That Overlaps Digits
Firmware that switches the segment port and the digit enable in the wrong order creates the same overlap in software. The rule is fixed: segments for the new digit are set, both digit enables are off, the blanking interval passes, and only then does the new digit enable rise.
Sizing the Dead Time
The 7 segment digit turn off delay must cover the slowest fall the hardware can produce, not the typical one.
| Variable | Effect on the Required Gap | What to Record |
|---|---|---|
| Driver output fall time | Sets the floor of the blanking interval | Fall time at production load current |
| Trace and pin capacitance | Extends the visible ghost after the fall | Measured decay on the dimmest ghost segment |
| Peak segment current | Higher current deepens the visible ghost | Ghost brightness at production duty cycle |
| Scan rate | Faster scans shrink the per-digit budget | Gap length as a share of the digit slot |
The blanking interval multiplexed display designs actually need is usually a small share of the digit slot, but it must be written into the firmware timing table rather than left to instruction timing luck.
Measuring the Gap on the Bench
One session with a two-channel scope settles the timing.
- Probe the previous digit common and the next digit common, and measure the actual fall of the outgoing driver at production current.
- Probe one segment line and confirm it is stable before the incoming digit enable rises.
- Set the scan to the fastest production rate and photograph the ghost on the dimmest offending segment.
- Increase the blanking gap in firmware steps until the ghost disappears, then add margin for cold temperature and part spread.
Record the final gap length with the scan table so the multiplex display dead time becomes a specification, not a tribal memory.

Design Rules by Driver Topology
- Direct GPIO digit drive: the port write order gives the gap for free, but only if the enable writes are ordered deliberately.
- Transistor common drivers: charge storage in bipolar stages sets the floor, which is why the BJT versus MOSFET driver choice changes the required gap.
- High-voltage or large-format digits: slower, higher-current stages need longer gaps, as covered for the large 7 segment display driver circuit case.
- Dedicated driver ICs: many handle blanking internally, and the datasheet scan-timing section becomes the authority, as described in the driver IC selection guide.
How This Differs from General Ghosting Advice
The general 7 segment explainer lists ghosting as a symptom, notes residual charge and poor switching, and suggests adding a blanking delay of a few tens of microseconds. That advice is correct but shallow, and the multiplexing explainer treats ghosting the same way. This article owns the design task behind the symptom: measuring the real decay, sizing the gap against your driver topology, and turning the result into a recorded timing specification that survives firmware changes.
Frequently Asked Questions
Why do ghost segments get brighter when I increase scan speed?
Faster scans shrink the per-digit slot, so a fixed overlap is a larger share of the duty. The multiplex leakage becomes visible even though nothing in the hardware changed.
Can a series resistor remove cross-digit ghosting?
Resistors limit current but do not create time. Without a real 7 segment digit dead time in the scan sequence, the overlap window still lights the wrong digit faintly.
Do dedicated driver ICs eliminate the need for a blanking gap?
Most handle it internally, but the datasheet must confirm the blanking behavior at your scan rate. Treat the IC specification as the gap of record and verify it once on the bench.
How long should the turn off delay be?
Longer than the measured driver fall time plus the visible decay of the dimmest ghost, with margin for cold temperature. The number comes from your measurement, not from a universal value.
Does ghosting damage the display over time?
The ghost current is small and does not degrade the segments, but it does distort perceived color and contrast. The cost of leakage is appearance, which is usually why the customer noticed.
Conclusion: Own the Gap, Not Just the Scan
Multiplexed displays live or die by timing that never appears in the electrical schematic. Measure the fall, size the blanking interval, order the port writes, and record the result in the scan table. For help validating scan timing on a specific display, reach the HOUKEM engineering team through the inquiry page.
7 Segment Startup Blanking: Keep Segments Dark During MCU Boot
LED Display Color Through Tinted Plastic: Validating Shift in Appliance Panels