Try It: iBeacon Path Loss Distance Calculator

Try It: iBeacon Path Loss Distance Calculator

animation
bluetooth
ble
Try Start with Measured RSSI (dBm) at -74, TxPower — calibrated RSSI at 1m (dBm) at -59, and Path loss exponent (n) at 2.5. Then lower Measured RSSI (dBm) and compare the distance.
Observe The starting estimate is 3.98 m, with a displayed body-blockage range of 1.9 m to 8.3 m. A more negative Measured RSSI (dBm) increases the estimate.
Explain Distance is 10 raised to the difference between TxPower — calibrated RSSI at 1m (dBm) and Measured RSSI (dBm), divided by ten times Path loss exponent (n).

Technical boundaries. The model assumes one calibration value and one path loss exponent for the estimate; its blockage bounds use a fixed ±8 dBm shift. RSSI is limited to -100 through -30 dBm, calibration to -75 through -45 dBm, and the exponent to 1.5 through 4.5; no live radio measurements are collected.

NoteTry It: iBeacon Path Loss Distance Calculator

Explore how the path loss formula converts RSSI to distance. Adjust the parameters to see how calibration (TxPower) and environment (path loss exponent n) dramatically affect the estimate.

Checkpoint: you should now have an ESP32 that broadcasts an iBeacon frame. A scanner should be able to see the UUID, major value, minor value, and calibrated signal power, then estimate distance from RSSI with visible uncertainty.

Back to the chapter