Shop OBEX P1 Docs P2 Docs Learn Events
Decting Vibration — Parallax Forums

Decting Vibration

GaryBGaryB Posts: 9
edited 2010-03-26 20:23 in BASIC Stamp
We have a rocket project·where we want to use a Basic Stamp to detect and record vibration during the flight. I've seen the Piezo strip, but looking though the forums, we haven't been able to figure out how to program it to record vibrations.

Questions:
1. Is the Piezo strip the best way to detect vibrations?
2. If not, what would do the job?
3. Regardless of sensor, we need assistance in writing/modifying the code, is there help somewhere?

Thanks in advance - Gary

Comments

  • FranklinFranklin Posts: 4,747
    edited 2010-03-25 15:12
    There is usually sample code on the product page for the product you are interested in using.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • GaryBGaryB Posts: 9
    edited 2010-03-26 00:57
    Yeah, and I got those and what it shows is that each product works. However, in the case of the Piezo, it shows it as a switch, but not how to make it detect vibration, which is what I want to do. And, is this the best sensor to measure vibration?

    Gary
  • FranklinFranklin Posts: 4,747
    edited 2010-03-26 02:13
    You have to decide what it is you need to measure and to what tolerance and then decide what is best for you. What is it you want to measure? Do you need quantitative data or just ""there is vibration" type data?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • GaryBGaryB Posts: 9
    edited 2010-03-26 03:47
    Tolerance isn't too too important. We're looking to determine the amount of vibration (if any) through out the rocket flight and then see if there is anything that we can do to reduce the vibration.

    We are using two as identical as possible high powered rockets with the same stamp/sensor shifted from one rocket to the other to establish some baseline data. Then we will modify one of the rockets to see if we can reduce the vibration. So with that in mind, which sensor makes the most sense (pun intended)? And, once that is determined, how do we program it?

    Thanks - Gary
  • FranklinFranklin Posts: 4,747
    edited 2010-03-26 03:50
    For that you would use an accelerometer, probably 3 axis and some form of datalogger.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • GaryBGaryB Posts: 9
    edited 2010-03-26 15:24
    Thanks, Stephen. THe accelerometers that I have seen list operational g forces considerbly less that wha'ts exeperienced in our rockets. At least the ones I've seen from Parallax.
  • kf4ixmkf4ixm Posts: 529
    edited 2010-03-26 15:28
    You could use either the 2 axis or 3 axis accelerometer for this, there is sample code on the store product page for the accelerometers that will debug out the g-force of the axis to the screen, this could be ported (changed from debugging out to the screen to outputting values to a usb drive) to a usb datalogger that parallax also sells to record the g-forces in 1/100 of a g onto a removable usb thumb drive.
  • GaryBGaryB Posts: 9
    edited 2010-03-26 17:34
    OK, I've got each and a USB datalogger. My concern is/was that they are rated at +-3g's. What happens when those g forces are exceeded?
  • kf4ixmkf4ixm Posts: 529
    edited 2010-03-26 17:39
    i have not tested this, but i suspect (assume) the readings will just 'top out' at the ends of thier ranges, at least till the g-forces get to where mechanical damage to the sensor occours, and im not sure what that limit is either.
  • GaryBGaryB Posts: 9
    edited 2010-03-26 20:23
    OK, we'll giver er a try. Thanks for your input.

    Gary
Sign In or Register to comment.