Math Bridge: ESP32 Knife-Edge Diffraction

← Back to ESP32 Wi-Fi Implementation Basics
Math BridgeESP32 Wi-FiStruggle-friendly runway

Why is 2.4 GHz more forgiving around the same obstruction?

Build the knife-edge parameter from path geometry, then turn it into a bounded diffraction-loss comparison.

Eddie, the electronics guideEddie guides
The one targetConnect wavelength and obstruction geometry to knife-edge diffraction loss.
The chapter caseA 0.30 m midpoint blockage on a 6 m path at 2.4 and 5 GHz.
What it buys youA physical hypothesis to test when an ESP32 join weakens near a body or edge.

A field team has a real problem to settle: Why is 2.4 GHz more forgiving around the same obstruction? They must decide what happens before they change obstruction height on the device. Predict the direction first.

See the relationship first

The figure reads from left to right. The blue card is obstruction height. The middle card uses this page's rule. The green card is 2.4 ghz wavelength. Follow the arrows: set the input, use the rule, then read the result and its unit.

The audit later on checks more than one number. Here, the added model uses the baseline named below and holds every other chapter value fixed. That sentence bridges the fixtures, so the numbers do not change without a reason.

Obstruction height changes 2.4 ghz wavelength An input card leads through the page rule to the 2.4 ghz wavelength result. SET INPUT ONE CONTROL USE RULE predict calculate check units READ RESULT
Follow the arrows. Height multiplies both parameters, but the shorter wavelength sits in the denominator and makes the 5 GHz parameter larger.

Derive the baseline in four moves

  1. 1

    Name the input. The chapter baseline for obstruction height is 0.3.

  2. 2

    Name the rule. λ2400 = 0.125 m; λ5000 = 0.060 m ν2400 = 0.30√(12 / (0.125 x 9)) = 0.9798 ν5000 = 0.30√(12 / (0.060 x 9)) = 1.4142 L2400 = 13.79 dB; L5000 = 16.34 dB diffraction delta = 2.55 dB free-space band delta = 20log10(5000/2400) = 6.38 dB

  3. 3

    Put in the chapter value. Set obstruction height to 0.3. The page rule gives 2.4 ghz wavelength as 0.125 m.

  4. 4

    Read the result. Keep m next to the value. Use it only within the limits on this page.

Predict, then change obstruction height

Try Predict what happens to 2.4 ghz wavelength. Move one control, calculate, then check your idea.

0.3
Chapter baseline
2.4 GHz wavelength

Observe Height multiplies both parameters, but the shorter wavelength sits in the denominator and makes the 5 GHz parameter larger. Reset to 0.3 and compare 2.4 ghz wavelength.

Explain Only obstruction height moves here. The other chapter values stay fixed.

Check yourself

What should you do before you trust the result?
Answer: Predict its direction, use the shown rule, keep the units, and reset to the worked baseline.
What does this small model leave out?
Answer: Only obstruction height moves. Field effects named in the page limits stay fixed.

1. Start with the physical story

A sharp edge blocks the direct ray, but wave energy bends into the shadow. A shorter wave sees the same height as a larger obstruction on its own scale, so it bends less effectively into the blocked region.

Eddie: The path did not change. Frequency changed the ruler used to measure the blockage.

2. Name every algebra move

1

Find wavelengthDivide wave speed by 2.4 GHz and 5 GHz.

2

Build the geometry fractionAdd the two 3 m path legs and divide by wavelength times their product.

3

Take the square rootMultiply that root by the 0.30 m height to get the dimensionless parameter ν.

4

Apply the approximationInsert ν into the standard single-edge loss expression.

5

Compare bandsSubtract losses, then calculate the separate free-space delta with 20log10(5000/2400).

3. Reproduce the chapter case

λ2400 = 0.125 m; λ5000 = 0.060 m
ν2400 = 0.30√(12 / (0.125 × 9)) = 0.9798
ν5000 = 0.30√(12 / (0.060 × 9)) = 1.4142
L2400 = 13.79 dB; L5000 = 16.34 dB
diffraction delta = 2.55 dB
free-space band delta = 20log10(5000/2400) = 6.38 dB

The shorter 5 GHz wave pays about 2.55 dB more knife-edge loss for this geometry, separate from its 6.38 dB same-distance free-space penalty.

4. Try one real input

TryMove the obstruction height from clear line of sight toward 0.30 m. Watch both losses rise and the shorter wave pull away.

Obstruction height
2.4 GHz wavelength
5 GHz wavelength
2.4 GHz ν
5 GHz ν
2.4 GHz edge loss
5 GHz edge loss
Diffraction delta
Free-space band delta

ObserveAt 0.30 m, ν is 0.980 at 2.4 GHz and 1.414 at 5 GHz, producing about 2.55 dB more single-edge loss at 5 GHz.

ExplainHeight multiplies both parameters, but the shorter wavelength sits in the denominator and makes the 5 GHz parameter larger.

Technical boundaries.

This is a single ideal knife edge, not a room propagation model.

Geometry
The edge is thin, fixed, and exactly between endpoints; people, doors, walls, and furniture have thickness and material effects.
Propagation
Reflection, penetration, multiple edges, antenna patterns, polarisation, fading, and noise are omitted.
ESP32
Classic ESP32 hardware is fixed at 2.4 GHz; 5 GHz is a comparison band, not a selectable setting on that device.

Correct, not complete: this ledger does not predict a Wi-Fi join or diagnose a field outage.

5. Use the result in the design

Use the result to form a bounded test: repeat the same service check with the suspected edge clear and blocked. Measure association, signal, retries, latency, and recovery rather than claiming diffraction from one RSSI value.

6. Record the evidence state

Record board and antenna, band and channel, endpoint and obstruction geometry, enclosure, service path, RSSI/SNR, retries, join time, forced failure, recovery, and the retest trigger.

7. Check yourself

Why is ν larger at 5 GHz for the same path?
Answer: Its wavelength is shorter, and wavelength appears in the denominator under the square root.
Are the 2.56 dB and 6.38 dB terms the same effect?
Answer: No. One is the geometry-specific knife-edge difference; the other is free-space spreading at equal distance.
Can a classic ESP32 switch to 5 GHz after this comparison?
Answer: No. The comparison explains its 2.4 GHz physical context; the device still needs real join and service evidence.
Honesty boundary.

This is a single ideal knife edge, not a room propagation model.

Geometry
The edge is thin, fixed, and exactly between endpoints; people, doors, walls, and furniture have thickness and material effects.
Propagation
Reflection, penetration, multiple edges, antenna patterns, polarisation, fading, and noise are omitted.
ESP32
Classic ESP32 hardware is fixed at 2.4 GHz; 5 GHz is a comparison band, not a selectable setting on that device.

Correct, not complete: this ledger does not predict a Wi-Fi join or diagnose a field outage.