Try It Yourself
Try It Yourself
Hands-on exercises to explore indoor positioning:
Exercise 1: BLE Beacon RSSI Calibration
Deploy a BLE beacon and measure RSSI at known distances:
- Place beacon at fixed location
- Measure RSSI at 1m, 2m, 3m, 5m, 10m distances
- Plot RSSI vs. log(distance) graph
- Calculate path loss exponent n using formula: n = (RSSI₁ - RSSI₂) / (10 × log₁₀(d₂/d₁))
- Compare measured n to theoretical values (2.0 free space, 2.5-4.0 indoors)
What to observe: RSSI varies at fixed distance, and path-loss exponent depends on environment. Using an incorrect exponent can substantially bias RSSI distance estimates; quantify the error only for specified RSSI and true exponent.
Exercise 2: Wi-Fi Fingerprinting Survey
Create a simple fingerprint database for one room:
- Choose 5 locations in room (corners + center)
- At each location, record RSSI from 3-5 visible Wi-Fi access points
- Create fingerprint map: {location → [RSSI_AP1, RSSI_AP2, …]}
- Test positioning: Stand at unknown location, scan Wi-Fi, find closest fingerprint match
What to observe: Fingerprint matching provides 2-5m accuracy in static environment. Notice how RSSI changes with body orientation (your body attenuates signals). Test again next day—accuracy degrades if anything moved (furniture, people). This demonstrates maintenance burden of fingerprinting.
Exercise 3: Trilateration Geometry
Manually calculate position from 3 beacon distances:
- Place 3 beacons at known positions: A=(0,0), B=(10,0), C=(5,8) meters
- Measure RSSI from each beacon, convert to distances using path loss formula
- Draw circles with radius = estimated distance around each beacon on graph paper
- Find intersection point—that’s your estimated position
- Compare to actual position
What to observe: Circles rarely intersect at a single point due to RSSI noise—they form a small triangle. In this n=2.5 log-distance example, ±3 dBm changes estimated range by about −24%/+32%; multilateration position error depends on anchor geometry.