The mock up example of an automotive transmission would be perfect for me to display vibration data from a couple of sensors.I made the following up this morning. I used the same sensor on a fan as earlier shown. I created a form and added a few text boxes. Don't pay attention to the bit count text as it is just something I use to see my actual Analog to Digital conversion. I added what is a real time chart to the form. In an actual test cell configuration the data could shut down an entire test cell if the vibration exceeded a pre-set limit. There is a little vertical scroll bar on the left of the display. Note in the first image the G display is green but the second image it is red.
View attachment 139667
The G force is set for 1 G and we are reading below the set point at 0.29 G. Now look at the second image...
View attachment 139668
The spikes are me tapping the sensor and notice the font color went from Green to Red. When a limit is exceeded we can do anything we want from changing a color to shutting down a system. Keep in mind this is just a simple form to illustrate some of what can be done.
Years ago I designed part of a Generator Test Panel for the testing of Generators used on the F15 Eagle fighter aircraft. The shaft speed was about 15,000 RPM so monitoring vibration was paramount as when a generator is out of dynamic balance at 15,000 RPM things get real ugly real fast.Much like a single nick in a jet turbine blade can cause an imbalance and trash an entire engine.
Maybe this will give you some ideas.
Ron
You must've been a great boss to work for... congratsI knowingly let my underlings learn from mistakes, I let them make mistakes
I only let them make small mistakes.You must've been a great boss to work for... congrats
void setup() {
Serial.begin(9600);
}
void loop() {
for(int I=0; I < 1; I++){
int sensorValue = analogRead(I);
// Display the analog reading (which goes from 0 - 1023)
float bits = sensorValue;
Serial.print("Channel ");
Serial.print(I);
Serial.print( " ");
Serial.print(bits);
Serial.print(" bits");
Serial.println();
// Pause 0.5 seconds
delay(500);
}
}
void setup() {
Serial.begin(9600);
}
void loop() {
for(int I=0; I < 3; I++){
int sensorValue = analogRead(I);
// Convert the analog reading (which goes from 0 - 1023) to a Voltage (0 - 5.0 Volts):
float voltage = sensorValue * (5.0 / 1023.0) - 0.00 ;
Serial.print("Channel ");
Serial.print(I);
Serial.print( " ");
Serial.print(voltage);
Serial.print(" Volts");
Serial.println();
delay(500);
}
}