Shop OBEX P1 Docs P2 Docs Learn Events
NEWBIE Again, FREQ In and ustilizing the data — Parallax Forums

NEWBIE Again, FREQ In and ustilizing the data

Frank FernandezFrank Fernandez Posts: 12
edited 2013-02-18 05:09 in BASIC Stamp
Hi again all, thanks for the great response so far. Cant believe how helpful everyone is here.

Okay, here's my question. I have a TTL input signal that I need to do the following.

I need to take a varying input signal from a transmission output sensor, the incomming signal is 22 pulses per revolution. I then need to calculate the the overall tire diameter and factor in the final drive ratio from the differential gear-set to determine vehcile speed.

I will then need to enact certain devices automatically above certain speed and have the same devices shut off whe the vehicle speed falls below a predetermined rate.

I have the math done, but I have no clue how to write the program.

Comments

  • stamptrolstamptrol Posts: 1,731
    edited 2013-02-18 05:09
    Hi Frank,

    Good to see you on the Forums.

    You should be able to use the COUNT or PULSIN commands to get going. One may be more useful, depending on the maximum RPM to be measured. See the Help file.

    Regards,
Sign In or Register to comment.