StructuraSee the roadmap

Final year project · FAST NUCES Karachi

From the sensor on the wall to the app in your hand.

Low-cost sensor nodes read a building continuously. A cloud risk engine turns what they read into one health index and five plainly worded states, each with an action and a timeframe. An augmented reality view puts every reading back on the wall it came from.

8 measurements · 6 modules · 3 roles in one app

Building section with sensor placementsA schematic elevation of an eight-storey structure. Blue markers show sensor nodes on each floor; one marker on the north facade is highlighted amber to indicate a watch-level strain reading.8F6F4F2FSG-07412 µε
Tower B · north–south section

Why we are building this

A building that has been declared dangerous produces no data about itself.

The standard for multi-storey buildings in Pakistan is periodic manual inspection. An engineer visits, looks at the building, and files a report. Between two visits, which can be years apart, nobody is watching it at all.

27
people died when a five-storey building fell in Lyari on 4 July 2025
588
buildings across Karachi formally declared dangerous at that time
107
of those dangerous buildings are in Lyari alone
4
major collapses in Lyari in the past five years

The building in Lyari had been declared dangerous by the Sindh Building Control Authority in 2023 and had been served evacuation notices, yet people were still living in it on the morning it fell. Nobody could tell a building with years of life left from one with days, because nothing was measuring either of them. Sources.

What existing work misses

The sensing problem is largely solved. The delivery problem is not.

Low-cost boards have already been validated against commercial instruments for vibration, tilt and crack measurement. What does not exist is a deployable system that carries those readings all the way to the people who are supposed to act on them.

Raw numbers instead of decisions

Existing systems output accelerometer traces, frequency spectra and strain values. A building manager is not a structural engineer and cannot act on a spreadsheet. The data has to become a status, an action and a timeframe.

One measurement at a time

Most published systems watch a single quantity, usually vibration or cracks. Buildings fail through several slow processes acting together, and those only make sense when they are read together over months.

No pathway to the people inside

No low-cost system connects structural readings to the management, the maintenance staff and the residents. Lyari is exactly this failure: the information existed at the authority level and never reached the building.

How it works

Six modules, from a sensor on a wall to a job on someone's phone.

Nothing in the chain is exotic. Cheap boards take the readings, one small computer in the building collects them, and the work of turning numbers into advice happens in the cloud where the history lives.

local networkcloud uploadapp APISensor nodesESP32, ESP32-CAMSite gatewayRaspberry PiCloudHistory and analysisWeb and mobileStaff and residents
  1. 01

    Sensor nodes and acquisition

    Low-power nodes are fixed to columns, walls, risers and tanks. Each one wakes on a schedule, takes its reading, sends it over the local network and goes back to deep sleep, which is what makes months of battery life possible.

    ESP32, ESP32-CAM, LiDAR
  2. 02

    On-site gateway

    One gateway per building collects all node traffic, drops corrupt packets, timestamps every reading, and buffers locally whenever the internet goes down. When the link returns it uploads the backlog.

    Raspberry Pi
  3. 03

    Cloud analytics and risk engine

    Readings are validated, stored against each sensor's learned baseline, then run through threshold rules, trend fitting and anomaly detection at the same time. The three scores fuse into one health index and five states.

    Time series database
  4. 04

    Wall crack detection model

    A deep learning model outlines the crack in each camera image, post-processing measures its width in pixels, and the laser distance to that surface converts the figure into millimetres.

    Segmentation network
  5. 05

    Augmented reality view

    The camera and laser nodes together give a measured model of the room, so every reading can be anchored to the surface it came from and read back through the phone camera on site.

    Ordinary smartphone
  6. 06

    Multi-role app and alerting

    One application with three role-based views for management, the site team and residents, with critical alerts pushed straight to whoever is on call.

    Web and mobile

What it senses

Eight measurements, one picture of the building.

Each sensor answers a different question, and none of them mean much on their own. Read together and over months, they show whether a building is settling into a new normal or drifting away from one. The camera and the laser sensor come first, because everything else is easier to place once the building has been seen properly.

Camera

ESP32-CAM node

A camera fixed in front of a column, a joint or a crack, photographing the same spot on a schedule so today's image can be compared with last month's.

Phase 1

Laser distance

LiDAR time of flight node

Millimetre distances to walls, columns and ceilings. Room geometry that can be measured again later to see what has moved.

Phase 1

Vibration

MEMS accelerometer node

How the building moves and how quickly it settles. A shift in natural frequency is a well established early damage sign and shows up long before anything is visible.

Phase 2

Tilt

MEMS inclinometer node

Differential settlement tracked to a hundredth of a degree, following low-cost inclinometer designs already validated against commercial instruments.

Phase 2

Crack width

Camera and LiDAR fused

The model extracts the crack from the image, and the laser distance supplies the physical scale that converts pixels into millimetres.

Phase 2

Ultrasonic pulse velocity

Handheld survey

Pulse speed through concrete, which indicates internal voids and material quality. Survey readings are entered into the same database.

Optional

Water and drainage

Level and flow node

Sump levels, tank levels and riser flow, so a blockage is caught while it is still just a blockage.

Optional

Power

Current clamp node

Current clamp readings per distribution board. An unusual draw usually means a failing motor or a fault worth a look.

Optional

Hardware to be acquired

Chosen from low-cost parts already validated in the literature

DeviceRole in the systemPhase
ESP32 DevKit boardsCore microcontroller for all sensor nodes1
ESP32-CAM modulesScheduled imaging of columns, joints and cracks1
LiDAR ToF sensors, VL53L1X or TF-Luna classMillimetre room geometry and crack width scale1
Raspberry Pi 4 or 5, with storagePer-building site gateway with local buffering1
MEMS accelerometers, ADXL345 or ADXL355 classVibration and natural frequency monitoring2
MEMS inclinometers and IMU modulesTilt and differential settlement tracking2
Batteries, enclosures, mounting hardwareLong-term unattended node deployment1 to 2
Ultrasonic pulse velocity tester, sharedHandheld concrete quality surveysOptional
Water level and flow sensorsSump, tank and riser monitoringOptional
Non-invasive current clamp sensorsDistribution board load monitoringOptional

Augmented reality · Phase 1

Hold up a phone and the readings stay where they belong.

The Phase 1 camera and laser nodes together produce a measured model of the room, which means every reading in the database can be anchored to the physical spot it came from.

A technician walks up to a column, holds up the phone, and the crack in front of them carries its own history: how wide it was in March, how wide it is now, and what the last inspector wrote down.

  • Sensor nodes appear on the wall they are actually fixed to
  • Cracks and joints keep their measurement history in place
  • Published AR work for this needs a headset, ours runs on an ordinary phone
  • Nothing has to be found twice, because no reading is separated from its place
2.61 mCW-07 0.41 mmWatch +0.06 mm

Crack detection model

The one measurement that needs a trained model.

Crack width is the only reading in the suite that cannot be taken directly off a sensor. We follow the encoder and decoder segmentation approach, because pixel-level output is what a width measurement needs.

SKIP CONNECTIONS224 × 224 patch6412825625612864512binary maskINPUTOUTPUT
  1. 01

    Input

    A 224 by 224 patch cut from the ESP32-CAM image.

  2. 02

    Encoder and bottleneck

    Convolutional blocks of 64, 128 and 256 filters downsample the patch, with a 512-filter bottleneck at the lowest resolution.

  3. 03

    Decoder and mask

    The decoder upsamples back to full resolution, and a 1 by 1 convolution with a sigmoid produces a binary crack mask.

  4. 04

    Pixels into millimetres

    Post-processing extracts the crack skeleton and measures the perpendicular width, then the LiDAR distance to that surface supplies the scale.

A hairline crack can be one or two pixels wide, so skip connections carry fine spatial detail from each encoder block across to its matching decoder block. Without them the crack disappears in the downsampling.

Training starts on public concrete crack datasets and is then fine-tuned on images from our own instrumented column, where the camera position, lighting and wall surface are fixed and known.

Management view

Readings become a status and a next step.

Building managers are not structural engineers, and they should not have to be. Every reading resolves to one of five states, and every state comes with something to do and a timeframe to do it in.

Tower B · OverviewLive · updated 12s ago

Building health index

82out of 100

Down 4 points since the March survey

Measured, last 12 monthsProjected, if nothing changes

If the north facade keeps moving at the current rate, this reaches 74 by June. That is enough notice to budget for the work instead of reacting to it.

Nodes reporting18 / 20
Open alerts3
Peak tilt0.14°
Widest crack0.41 mm
  • Structure, floors 1 to 8Frequency is holding inside the baseline envelopeNothing to do. Next automatic review in 7 days.Stable
  • Crack width, north facadeCW-07 has widened for 6 days, now 0.41 of 0.60 mmBook a visual check within two weeks.Watch
  • Tilt, east corner0.14° of drift since the March surveySend the trend report to the structural engineer this week.Elevated
  • Drainage, basement sumpLevel has been above the alarm mark for 40 minutesCall the on-call plumber now.Critical
  • Tilt, core columns2 nodes stopped reporting at 09:40Battery swap on the next site walk.Offline

Offline is grey, not red. A sensor that has lost its connection is a maintenance job, and colouring it like a structural risk teaches people to ignore red.

The app

One app, three ways of looking at it.

The same building looks different depending on who is asking. Everyone signs into the same system and sees the part of it that is theirs.

Management

Owners and building managers

  • Every building in a portfolio list, each with its health index and open alerts
  • Plain-language reports, ready to hand to a structural engineer
  • Staff records, shifts and who is responsible for what
  • Room and apartment allocation, with the history of who was where

Site team

Technicians, guards and cleaners

  • Today's jobs in order, marked on the floor plan
  • A short checklist that closes each job and proves it was done
  • The node that needs a battery and the panel that needs a look
  • Critical alerts pushed straight to whoever is on call

Residents

The people who actually live there

  • Their own apartment: documents, bills and notices in one place
  • One-tap service requests for a plumber, an electrician or a cleaner
  • A straight answer when they ask whether the building is safe
  • No group chat, and nothing that depends on someone forwarding it

The long view

Where we want this to end up.

The final year project is the first slice of something larger. These are the things we are building towards, so that the decisions we make this year still hold up later.

01One building, then a portfolio

The first deployment watches one instrumented structure. The same gateway and the same database should carry a second building, then a street of them, without anything being rebuilt.

02Prevention instead of repair

A crack measured every day for a year tells you when to act. The system should say what is likely to need money in six months, while there is still time to plan for it.

03Everything under one roof

Structure, drainage, power and people all sit in the same building, so they should sit in the same app. Splitting them across four systems is how things get missed.

04Answers, not raw numbers

Nobody managing a building wants a spreadsheet of accelerometer output. They want to know what is fine, what needs watching, and who to call today.

Roadmap

Grouped by confidence, not just by date.

A single year is not long enough to build all of this well. Rather than promise the whole vision by June, the scope is split into what we have committed to, what we plan to reach, and what we will attempt if the first three phases land on time.

  • Committed
  • Planned
  • Optional
  1. Groundwork

    Month 2

    Literature survey of low-cost IoT structural health monitoring, vision-based crack measurement and AR inspection. The sensing suite is finalised and Phase 1 hardware is procured.

    ESP32-CAM, LiDAR and gateway in hand
  2. Phase 1: see the building

    Month 4

    Camera and LiDAR nodes running on one instrumented column, the gateway collecting on site, and the AR proof of concept pinning readings to their physical location.

    Demo: point a phone at a column and read it
  3. Phase 2: measure it

    Month 6

    Vibration, tilt and crack width sensing added on the same gateway, the first trained version of the crack segmentation model, and cloud ingestion with threshold rules and the alert path wired into the management dashboard.

    Demo: an alert fires from sensor to screen
  4. Phase 3: explain it

    Month 8

    Health index and trend projections computed over the collected history, risk scoring per subsystem, the crack model fine-tuned on our own site images, and the mobile app with all three role views.

    Demo: a generated risk report and a service request
  5. Validation and reporting

    Month 10

    End-to-end testing of the complete pipeline on the instrumented structure, then final reporting.

    Demo: the whole chain running unattended
  6. Optional modules

    As time allows

    Ultrasonic pulse velocity surveys, drainage and power monitoring, and support for more than one building.

    Not guaranteed. Depends on procurement and time.

Proposal submitted 25 Aug 2026 · currently in Month 1

Team

Who is building it.

Final year project at FAST NUCES Karachi, supervised by Dr. Farrukh Shahid.

Hadi Abbas

23K-0927

Saad Hussain

23K-0705

Ayan

23I-0124

Dr. Farrukh Shahid

Supervisor

Project title

AIoT-Based Autonomous Structural Health Monitoring and Integrated Building Management Platform Using Low-Cost Sensor Fusion and Augmented Reality

References

  1. [1]“At least 10 dead, 9 injured as five-storey building collapses in Karachi's Lyari,” DAWN.COM, 4 Jul. 2025. www.dawn.com/news/1922050
  2. [2]“Death toll hits 27 in Karachi's Lyari building collapse as rescue efforts continue on day three,” Geo News, 6 Jul. 2025. www.geo.tv/latest/612606
  3. [3]D. Abruzzese et al., “IoT sensors for modern structural health monitoring. A new frontier,” Procedia Structural Integrity, vol. 37, pp. 289–296, 2022. doi.org/10.1016/j.prostr.2022.01.087
  4. [4]F. Di Nuzzo, D. Brunelli, T. Polonelli and L. Benini, “Structural Health Monitoring System With Narrowband IoT and MEMS Sensors,” IEEE Sensors Journal, vol. 21, no. 14, pp. 16371–16380, 2021. doi.org/10.1109/JSEN.2021.3075093
  5. [5]S. Komarizadehasl et al., “A Novel Wireless Low-Cost Inclinometer Made from Combining the Measurements of Multiple MEMS Gyroscopes and Accelerometers,” Sensors, vol. 22, no. 15, art. 5605, 2022. doi.org/10.3390/s22155605
  6. [6]B. Kim and S. Cho, “Automated Vision-Based Detection of Cracks on Concrete Surfaces Using a Deep Learning Technique,” Sensors, vol. 18, no. 10, art. 3452, 2018. doi.org/10.3390/s18103452
  7. [7]Z. Zhang, Z. Shen, J. Liu, J. Shu and H. Zhang, “A Binocular Vision-Based Crack Detection and Measurement Method Incorporating Semantic Segmentation,” Sensors, vol. 24, no. 1, art. 3, 2024. doi.org/10.3390/s24010003
  8. [8]E. Carter, M. Sakr and A. Sadhu, “Augmented Reality-Based Real-Time Visualization for Structural Modal Identification,” Sensors, vol. 24, no. 5, art. 1609, 2024. doi.org/10.3390/s24051609