Shop OBEX P1 Docs P2 Docs Learn Events
Strain Gages — Parallax Forums

Strain Gages

JsavJsav Posts: 25
edited 2007-03-25 02:01 in BASIC Stamp
As a project we are using a BS2P to take inputs from 4 50kg strain gages to calculate the center of gravity (and determine if it is moving) on a surface from these four points. The equations are worked out, and I'm pretty sure we won't have problems connecting the gages to the inputs, but I'm not sure of the best way to set up the code for the program. Any ideas?

Comments

  • Capt. QuirkCapt. Quirk Posts: 872
    edited 2007-03-25 02:01
    There should be info on the web for this, there are way to many racers out there using scales to setup there cars, Somebodys got to be a little gabby.

    But this is my thoughts, who knows if I am right.

    (1) measure your wheel base front to back and left to right.

    (2) measure the·weight per scale and document the values

    (3) add the 2 front scales together and document the value.

    (4)add the 2 rear scales together and document the value.

    (5) add the front and rear to get the total weight.

    (6) divide the heavy axle into the total weight

    (7) multiply that % times the wheelbase

    (8) measure that % of length from the light·axle to find the center of gravity

    Axle 1 600 lbs.
    Axle 2 400 lbs.
    Gross 1000 lbs
    Axle 1 / Gross = .6
    .6·* wheel base(100")
    CG is 60" in front of Axle 2

    With a little more work you should be able to rearrange that for "Tire to Tire" and figure out how far your CG is off center.

    Write some code that follows that senario

    If you already new this, write it out as a series of simple equations and study up on the Basic Stamp math operators on pg 103 of the Basic Stamp syntax and reference manual

    Good luck
Sign In or Register to comment.