Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Optical Tachometer (http://www.chiefdelphi.com/forums/showthread.php?t=114658)

THE DYNAMO 04-03-2013 21:22

Optical Tachometer
 
After first trying to measure our tacos we figured out that we would probably get better success by measuring how fast one of our motors is going for our shooter.

However, because it is going 12k RPM the java code we use isn't able to measure the difference between it sensing on and off. Does anyone know of a way to measure time at smaller intervals in java than the regular timer class, which measures in milliseconds.

Team3266Spencer 04-03-2013 22:17

Re: Optical Tachometer
 
I don't think you'll be able to get the FPGA to read that extreme of input, will you?

Joe Ross 04-03-2013 23:04

Re: Optical Tachometer
 
Quote:

Originally Posted by THE DYNAMO (Post 1243702)
After first trying to measure our tacos we figured out that we would probably get better success by measuring how fast one of our motors is going for our shooter.

However, because it is going 12k RPM the java code we use isn't able to measure the difference between it sensing on and off. Does anyone know of a way to measure time at smaller intervals in java than the regular timer class, which measures in milliseconds.

The FPGA has hardware counters that can read that fast. You can access them using the counter class.

Ether 04-03-2013 23:24

Re: Optical Tachometer
 
1 Attachment(s)
Quote:

Originally Posted by Joe Ross (Post 1243760)
The FPGA has hardware counters that can read that fast. You can access them using the counter class.

US1881 Hall Sensor and a diametrically polarized ring magnet rotating on-center should do the job with room to spare.


All times are GMT -5. The time now is 22:15.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi