With the development of civil engineering field, we can identify a lot of constructions everywhere. Metal structures, Concrete beams, Multi-platform buildings are some of them. Further, most of us are used to stay in a building or home during most times of the day. But how can we assure that building is safe enough to stay? What if there’s a small crack or over-inclined beam in your building? It would risk a hundreds of lives.
Earthquakes, Soil hardness, Tornadoes and many more things, could be factors for internal cracks and the deviation of the structures or beams from the neutral position. Most of the times we are not aware of the situation of the surrounding structures. Maybe the place everyday we walk in has cracked concrete beams and can collapse at anytime. But without knowing it we are freely going inside.
As a solution for this, we need a good method to monitor concrete, wood, metal beams of constructions where we cannot reach.
Solution“Structure Analyzer” is a portable device which can be mounted on a concrete beam, metal structure, slabs etc. This device measures the angle and analyze bends where it’s mounted and send the data to mobile app through Bluetooth.
This device uses an accelerometer/ Gyroscope to measure the angle in x,y,z planes and flex sensor to monitor the bends. All raw data are processed and information is sent to the mobile app.
Collect the following components.
- Arduino 101 Board
- 2 X Flex sensors
- 2 X 10k Resistors
To reduce the number of components Arduino 101 board is used here as it contains an accelerometer and a BLE module. Flex sensors are used to measure the amount of bending as it changes it's resistance when bending.
The circuit is a very small one as only 2 resistors and 2 flex sensors needed to be connected. Following diagram shows how to connect a flex sensor to the Arduino board.
One pin of the resistor is connected to the A0 pin of the Arduino board. Follow the same procedure to connect the second flex sensor. Use A1 pin to connect the resistor.
Connect the buzzer directly to the D3 pin and Gnd pin.
After making the circuit, it has to be fixed inside an enclosure. According to the above 3D model, 2 flex sensors have to be placed at the opposite side of the enclosure. Make space for the USB port to program the board and supply the power. As this device is needed to be used for a long period, the best method to supply power is using a fixed power pack.
Download and install Blynk from the Android Play Store. Start a new project for Arduino 101. Select the communication method as BLE. Add 1 terminal, 2 buttons and BLE to the interface.
Following images show you how to make the interface.
After making the interface on Blynk you will receive an authorization code. Enter that code at the following place.
#include <EEPROM.h>
#include <SPI.h>
char auth[] = "**************"; //Blynk Authorization Code
WidgetTerminal terminal(V2);
BLEPeripheral blePeripheral;
In the calibration process, current sensor readings are saved in the EEPROM.
values();
EEPROM.write(0,flx1);
EEPROM.write(1,flx2);
EEPROM.write(2,x);
EEPROM.write(3,y);
EEPROM.write(4,z);
terminal.print("Calibration Succesful");
After calibrating, the device will compare the deviation with the threshold values and beeps the buzzer if they exceed the value.
values();
if(abs(flex1-m_flx1)>10 or abs(flex2-m_flx2)>10){
terminal.println("Over Bend");
tone(buzzer, 1000);
}
if(abs(x-m_x)>15 or abs(y-m_y)>15 or abs(z-m_z)>15){
terminal.println("Over Inclined");
tone(buzzer, 1000);
}
FunctionalityStick the device to on the structure needed to be monitored. Stick the 2 flex sensors as well. Supply power to the board using the USB cable.
Open the Blynk interface. Connect with the device by touching the Bluetooth icon. Press the calibration button. After calibrating the terminal will show a message as "Successfully Calibrated."
Reset the device.
Now it will monitor the structure and notifies you through the buzzer if it deviates of deforms. You can check the angle and bend values at any time by pressing the Status button.
This might looks like a small device. But its' uses are priceless. Sometimes we forget to check the condition of our home, office etc, with our busy schedules. But if there is a small problem, it might end like......
But with this device, a hundreds of lives can be saved by informing the small yet dangerous problems in constructions.
Comments