Hackster will be offline on Monday, June 15 from 5pm to 7pm PDT to perform some scheduled maintenance.
EdOliverVictor Altamirano
Published © MIT

BBM: Bridge Baby Monitor for Predictive Maintainence

Ultra96 FPGA-based platform to predict structural failure to cut costs of maintenance and also prevent disasters.

AdvancedFull instructions provided10 hours1,627
BBM: Bridge Baby Monitor for Predictive Maintainence

Things used in this project

Hardware components

Ultra96-V1
Tria Technologies Ultra96-V1
×1
Arduino 101
Arduino 101
×1
Raspberry Pi Zero Wireless
Raspberry Pi Zero Wireless
×1
Power Bank 5v, 10000mAh
×3
Arduino UNO
Arduino UNO
×1
Arduino Motor Shield
×1
SG90 Micro-servo motor
SG90 Micro-servo motor
×2

Software apps and online services

BlueMix
IBM BlueMix
Watson
IBM Watson
SDSoC
Fusion
Autodesk Fusion
AMD Vivado Design Suite
Raspbian
Raspberry Pi Raspbian
Arduino IDE
Arduino IDE
PYNQ

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)
3D Printer (generic)
3D Printer (generic)

Story

Read more

Schematics

Main hardware

Flowchart

Code

Arduino 101 code

C/C++
#include "CurieIMU.h"

float ax, ay, az;         // Acceleration Values
float cx,cy,cz;           // Auto-Calibration

void setup() {
  Serial.begin(115200);   // initialize Serial communication
  while (!Serial);        // wait for the serial port to open

  // initialize device
  Serial.println("Initializing IMU device...");
  CurieIMU.begin();

  // Set the accelerometer range to 2G
  CurieIMU.setAccelerometerRange(2);
  delay(30);                // Delay While the accelerometer start correctly (DONT TOUCH!)
  CurieIMU.readAccelerometerScaled(cx, cy, cz); //We obtain the Auto-Calibration values

}

void loop() {
  CurieIMU.readAccelerometerScaled(ax, ay, az);
  Serial.println("x:"+ String(ax-cx));
  // This delay is 100 data per second 10 miliseconds / 3, 3333 micro seconds per axis data.
  delayMicroseconds(3333);  
  Serial.println("y:"+ String(ay-cy));
  delayMicroseconds(3333);
  Serial.println("z:"+ String(az-cz));
  delayMicroseconds(3333);
}

git repository code

Every single code is in this repo.

Credits

EdOliver
40 projects • 78 followers
Engineer, Scientist, Maker. Entrepreneur and Futurist.
Victor Altamirano
26 projects • 87 followers
I am a Biomedical engineer who likes to develop hardware and software solutions.

Comments