Professional Documents
Culture Documents
Structural Health Monitoring
Structural Health Monitoring
MQTT:
Web Technologies:
Internet of things (IoT) was experienced by everyone who has mobile phones, laptops,
wearables, washing machine, smart speaker, and electronic gadgets connected with the
Internet. Many areas that IoT will make changes, which includes Web Design and
Development. It can help us to develop the future effectively. Internet of Things is a
technology that connects the digital world by transforming the UI interactions between
the man and machine. Now IoT entered into the realm of Web Development and make
users more interactive with the websites. And create a smart & significant role in the
development world. It’s immense power of connectivity and computerized sensibility
feature to help to understand the client features and build the right strategies. IoT edge in
web development will make change the front-end interface and user interactions etc. All
users will use this front-end interface to communicate with cameras, sensors, and other
devices on the Internet.
o HTML
Hypertext Markup Language (HTML) is the standard markup language used to
create web pages. A markup language is your way of making notes in a digital
document that can be distinguished from regular text. It’s the most basic building
block you’ll need for developing websites.
o CSS
CSS (Cascading Style Sheets) is the language used to present the document you
create with HTML. Where HTML comes first and creates the foundation for your
page, CSS comes along next and is used to create the page’s layout, color, fonts,
and…well, the style!
o JavaScript
Another MAJOR tool in your front-end developer toolbox is going to be
JavaScript (JS). Where HTML is a markup language and CSS is a style sheet
language, JS is the first language I’ve mentioned that’s a Bonafede programming
language. What’s the difference? Where HTML and CSS determine the
presentation of a page, JS determines the function.
Arduino Ide
Arduino IDE is an open source software that is mainly used for writing and compiling the
code into the Arduino Module. It is an official Arduino software, making code
compilation too easy that even a common person with no prior technical knowledge can
get their feet wet with the learning process.
6.3 Project Code
Controller Code
#include <FirebaseESP32.h>
#include <LiquidCrystal_I2C.h>
#include <WiFi.h>
#include "HX711.h"
#define DOUT 2
#define CLK 4
FirebaseData firebaseData;
FirebaseJson json;
HX711 scale(DOUT, CLK);
float calibration_factor = -106650;
LiquidCrystal_I2C lcd(0x27,20,4);
void setup()
{
pinMode(18,OUTPUT);
lcd.init();
lcd.backlight();
lcd.setCursor(0,0);
lcd.print("STRUCTURAL HEALTH");
lcd.setCursor(0,1);
lcd.print("MONITORING SYSTEM ");
lcd.setCursor(0,2);
lcd.print("AMRUTVAHINI COLLEGE,");
lcd.setCursor(0,3);
lcd.print("-OF ENGINEERING");
delay(5000);
lcd.clear();
lcd.setCursor(0,0);
lcd.print("PLEASE WAIT");
lcd.setCursor(0,1);
lcd.print("CONNECTING TO WI-FI");
lcd.setCursor(0,2);
lcd.print("GETTING READY ...");
lcd.setCursor(0,3);
lcd.print("IT TAKES 10-15 SEC. ");
Serial.begin(9600);
scale.set_scale();
scale.tare();
WiFi.begin(WLAN_SSID, WLAN_PASS);
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(".");
}
Serial.println();
Serial.println("WiFi connected");
Serial.println("IP address: "); Serial.println(WiFi.localIP());
lcd.clear();
lcd.setCursor(0,0);
lcd.print("CONNECTED SUCESSFULLY");
lcd.setCursor(0,1);
lcd.print("TO NETWORK (WI-FI)");
lcd.setCursor(0,2);
lcd.print("CONNECTING TO CLOUD");
lcd.setCursor(0,1);
lcd.print("~~~~~~~~~~~~~~~~~~~");
delay(5000);
Firebase.begin(FIREBASE_HOST, FIREBASE_AUTH);
Firebase.reconnectWiFi(true);
}
void loop()
{
int a = analogRead(36);
int b = analogRead(39);
int c = analogRead(34);
int d = analogRead(35);
scale.set_scale(calibration_factor);
float e = (scale.get_units());
Firebase.setInt(firebaseData, "moisture",a);
Firebase.setInt(firebaseData, "direction",b);
Firebase.setInt(firebaseData, "crack",c);
Firebase.setInt(firebaseData, "level",d);
Firebase.setFloat(firebaseData, "load",e);
if(a>3500 or e>1 or d<3000){
digitalWrite(18,HIGH);
}
else{
digitalWrite(18,LOW);
}
lcd.clear();
lcd.setCursor(0,0);
lcd.print("LOAD :");
lcd.setCursor(15,0);
lcd.print(scale.get_units(),2);
lcd.setCursor(0,1);
lcd.print("GYRO- LEVEL :");
lcd.setCursor(15,1);
lcd.print(b);
lcd.setCursor(0,2);
lcd.print("MOISTURE DATA:");
lcd.setCursor(15,2);
lcd.print(a);
lcd.setCursor(0,3);
lcd.print("WATER LEVEL :");
lcd.setCursor(15,3);
lcd.print(d);
delay(2000);
}
Chapter 7
Software Testing
7.1 Types of Testing
Testing is the process of evaluating a system or its component(s) with the intent to find whether
it satisfies the specified requirements or not. Testing is executing a system in order to identify
any gaps, errors, or missing requirements in contrary to the actual requirements.
Mastering the domain of a system always gives the tester an edge over someone with limited
domain knowledge. Unlike black-box testing, where the tester only tests the application's user
interface; in grey-box testing, the tester has access to design documents and the database. Having
this knowledge, a tester can prepare better test data and test scenarios while making a test plan.
7.3 Test Cases
7.3.1 Test Cases for Hardware
No. Module Expected Result Actual Result Status
1. Water Level Sensor should detect Sensor is giving data Success
Water level accurately. as per requirement.
2. Crack Sensor Sensor should measure Sensor is giving data Success
the crack. as per requirement.
3. Soil Moisture Sensor should detect Sensor is giving data Success
Moisture level more as per requirement.
than peak value.
4. Accelerometer Sensor should detect Sensor is giving data Success
change in x, y and z as per requirement.
direction.
5. Load Cell Sensor Should measure Sensor is work as per Success
the overloaded vehicle. requirements
9.2 Applications
Provide structural performance recommendations for evaluation.
Determine if the excessive wind event and associated bridge movement that was reported
was “accurate”.
Evaluate effectiveness of strengthening systems.
Determine if load rating is reasonable.
Validate evaluation process for subsequent permit trucks.
monitor redistribution of loads in hangers due to concrete creep.