Search the web
Sign In
New User? Sign Up
ultimaserial_group · UltimaSerial Users
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Vehicle Speed & Period Measurements   Message List  
Reply | Forward Message #235 of 794 |
I am trying to display the speed of my car on a computer screen.

I have installed a sensor on the wheel axle that gives 6 pulses per
revolution of the shaft (14" inches per pulse.)

The DI-194RS can count these pulses.

Counting the pulses produced in 500 milliseconds does not give me
enough resolution or accuracy at slow speeds, so I thought I could
instead measure the time period between 2 pulses and then calculate
the speed.

I am having trouble doing this in Visual Basic. I have been using
UltimaSerial.TransitionCounter(0, Low2High)

Can anyone suggest which of the UltimaSerial "properties" I should
use and / or suggest how to best do this?

Thank you in advance.

Dave




Sun Jun 6, 2004 2:10 pm

drdhdmd
Offline Offline
Send Email Send Email

Forward
Message #235 of 794 |
Expand Messages Author Sort by Date

I am trying to display the speed of my car on a computer screen. I have installed a sensor on the wheel axle that gives 6 pulses per revolution of the shaft...
drdhdmd
Offline Send Email
Jun 6, 2004
2:10 pm

I doubt DI-194 is fast enough for this project. Anyway, the best you can do is run DI-194 at max speed (480Hz throughput rate at 9600 baud), and monitor the...
Chen
xchen992000
Offline Send Email
Jun 7, 2004
12:33 pm

Dave- It depends on how fast you plan to go (and how accurate you need to be)- at 60 mph you are traveling at 88 fps so your pulses will be coming at 75 Hz, or...
Mike Antoniak
mikeantoniak
Offline Send Email
Jun 7, 2004
12:59 pm

Thank you for your replies. I thought the fastest the DI-194RS could sample was 240 as in "UltimaSerial.SampleRate = 240". Is this just for the four the...
drdhdmd
Offline Send Email
Sep 6, 2004
11:33 pm

The highest throughput rate for 194 is 480. With 4 AD channels, you can ge 120S/s ... could ... the ... (per ... me. ;-)...
ultimaserial
Offline Send Email
Sep 7, 2004
12:49 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help