Course Content
πŸ“˜ MODULE 4 – Bridge Health Monitoring System
0/2
πŸ“˜ MODULE 6 – Smart Pet Feeder
0/1
πŸ“˜ MODULE 7 – Smart Water Management System
0/2
πŸ“˜ MODULE 8 – Water Quality Monitoring System
0/2
πŸ“˜ MODULE 10 – Gas Leakage Detection System
0/2
Mastering IoT with 11 Real-World Projects and 1 mega project

Bridge Health Monitoring System Using ESP32 and Flex Sensor


πŸ“Œ 1. Detailed Introduction

Bridges are critical infrastructure components that connect cities, towns, and transportation networks. They continuously experience dynamic loads from vehicles, environmental forces such as wind and temperature changes, and long-term material fatigue. Over time, these stresses can cause structural deformation, bending, cracks, or even collapse if not monitored properly.

Bridge Health Monitoring (BHM) systems are developed to continuously observe the structural condition of bridges and detect early signs of damage. Traditional systems use advanced sensors like strain gauges, accelerometers, and crack detectors. However, these systems can be expensive and complex.

This project presents a simplified and cost-effective prototype of a Bridge Health Monitoring System using an ESP32 microcontroller and a flex sensor. The system is designed to detect bending in a bridge model. When the bridge bends beyond a safe limit, the system identifies the deformation and indicates a warning message β€œBend Detected.” If the structure remains stable, it displays β€œNo Bend.”

The purpose of this project is to demonstrate how sensor-based monitoring systems can detect structural deformation in real time and help prevent structural failure.


πŸŒ‰ 2. Concept of Bridge Health Monitoring

Bridge Health Monitoring refers to the continuous observation and evaluation of a bridge’s structural integrity using sensors.

Why Monitoring is Important:

  • Detect early structural damage

  • Prevent catastrophic failures

  • Reduce maintenance costs

  • Ensure public safety

  • Enable predictive maintenance

In real-world applications, engineers use:

  • Strain Gauges (measure strain)

  • Accelerometers (measure vibration)

  • Crack Sensors (detect crack growth)

  • Load Cells (measure applied load)

In this project, a flex sensor is used to simulate structural bending detection.


πŸ”Ž 3. Component Introduction

🟒 3.1 ESP32 Microcontroller

The ESP32 is a powerful microcontroller used for IoT and embedded systems.

Key Features:

  • 12-bit Analog-to-Digital Converter (ADC)

  • Multiple GPIO pins

  • Built-in WiFi and Bluetooth

  • Low power consumption

  • High processing speed

Role in Project:

  • Reads analog voltage from flex sensor

  • Compares value with predefined threshold

  • Determines bridge condition

  • Displays bend status

The ESP32 acts as the brain of the system.


🟒 3.2 Flex Sensor (Main Component)

What is a Flex Sensor?

A flex sensor is a variable resistor whose resistance changes when bent.

It is a thin, flexible strip made of conductive material embedded in a flexible substrate.


Internal Working of Flex Sensor

https://content.instructables.com/FBK/WEOU/KKQ0ZIXS/FBKWEOUKKQ0ZIXS.png?auto=webp&fit=bounds&frame=1&width=1024
https://www.ic-components.com/upfile/images/b7/20260113205425242.jpg
https://www.researchgate.net/publication/354471064/figure/fig4/AS%3A1078503743193090%401634146738434/The-flex-sensors-linearity-graph.ppm
4

Inside the flex sensor:

  • Conductive ink or carbon particles are embedded.

  • When straight β†’ particles are closer β†’ lower resistance.

  • When bent β†’ particles move apart β†’ higher resistance.

Resistance Behavior:

  • Straight position β†’ approximately 10kΞ©

  • Bent position β†’ 20kΞ© to 30kΞ© or more

This change in resistance is the key working principle.


🟒 3.3 Resistor (10kΩ)

A fixed resistor is used to create a Voltage Divider Circuit.

Why needed?

The ESP32 cannot measure resistance directly.
It can only measure voltage.

So resistance change must be converted into voltage change.


🟒 3.4 Breadboard & Connecting Wires

Used to assemble and connect all components without soldering.


πŸ”Œ 4. Connection Diagram Explanation (Without Code)

Voltage Divider Circuit

https://makeabilitylab.github.io/physcomp/esp32/assets/images/Huzzah32_PotFade_CircuitDiagramAndSchematic_Fritzing.png
4

Connections:

  1. One end of Flex Sensor β†’ 3.3V (ESP32)

  2. Other end of Flex Sensor β†’ Analog Pin (GPIO 34)

  3. 10kΞ© Resistor connected between GPIO 34 and GND

This forms a voltage divider.


Why Voltage Divider Works?

Voltage Divider Formula:

Vout = Vin Γ— (R2 / (R1 + R2))

Where:

  • R1 = Flex sensor resistance

  • R2 = 10kΞ© resistor

  • Vout = Voltage read by ESP32

When flex sensor bends:

  • R1 increases

  • Output voltage changes

  • ESP32 detects voltage variation


βš™οΈ 5. Detailed Working Logic (Step-by-Step)

Step 1: Normal Condition

  • Bridge is straight.

  • Flex sensor is straight.

  • Resistance is low.

  • Voltage at analog pin is within normal range.

  • System displays β€œNo Bend.”


Step 2: Load Applied on Bridge

  • Load causes slight bending.

  • Flex sensor bends with structure.

  • Resistance increases.


Step 3: Voltage Change

  • Because resistance increased,

  • Voltage at analog pin changes.

  • ESP32 reads higher analog value.


Step 4: Threshold Comparison

The ESP32 compares:

  • Current analog value
    With

  • Predefined safe threshold value

If value > threshold:
β†’ Bridge bending beyond safe limit
β†’ β€œBend Detected”

If value ≀ threshold:
β†’ Safe condition
β†’ β€œNo Bend”


πŸ“Š 6. Logical Flow of System

  1. Start system

  2. Read analog voltage

  3. Convert voltage to digital value (ADC)

  4. Compare with threshold

  5. Display bridge condition

  6. Repeat continuously


🎯 7. Objectives of the Project

  • To design a simple bridge deformation detection system

  • To understand sensor-based structural monitoring

  • To implement low-cost monitoring using ESP32

  • To simulate real-world structural health monitoring


⚠️ 8. Limitations of the Project

  • Only detects bending, not cracks or vibration

  • Suitable for model demonstration only

  • Not industrial-grade accuracy


βœ… 9. Conclusion

The Bridge Health Monitoring System using ESP32 and flex sensor is a simple prototype that demonstrates how structural bending can be detected using resistance-based sensors. The flex sensor detects deformation by changing its resistance, which is converted into voltage through a voltage divider circuit. The ESP32 processes this signal and determines whether the bridge is in safe condition or under stress.

Although this system is a basic prototype, it clearly illustrates the fundamental principles of real-time structural health monitoring and can be expanded into advanced systems using additional sensors and wireless communication technologies.

Scroll to Top