|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
semi-period counter
Does the semi-period mode in the counters actually measure period (that is, measuring between the ON edges of a digital signal), or does it measure pulse length (measuring the time the signal is OFF)?
I was about to wire up the trigger for some maxbotix SONAR when I realized that perhaps I could wire the entire thing to the digital sidecar, not the analog inputs. (That way there would be less noise, and there wouldn't be the problem with sudden changes in distance). |
|
#2
|
||||
|
||||
|
Re: semi-period counter
Okay, I found a momentary push-button and made a test myself.
It does indeed measure the pulse width. Are there any specs on the accuracy? |
|
#3
|
||||
|
||||
|
Re: semi-period counter
Well, I either found the accuracy of the counter, or (more likely) I found the accuracy of the Digital Output "Pulse" function. It seems to be about 8 milliseconds longer than I tell it to be.
The Maxbotix Sonar sends a pulse width of distance (in) * 147 microseconds. Anyways, for now I'll just use Analog like usual, but I'd still like to get more info on the accuracy of the semi-period counter. |
|
#4
|
|||
|
|||
|
Re: semi-period counter
Quote:
-Joe |
|
#5
|
||||
|
||||
|
Re: semi-period counter
Oops, I'm sorry.
I was measuring low pulse, not the high pulse. Yes, I confirmed accurate measurement down to 6 microseconds. This should do excellently. |
|
#6
|
|||
|
|||
|
Re: semi-period counter
Quote:
-Joe |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| IR during teleopertated period? | Pneumaticsman | Technical Discussion | 11 | 16-01-2008 22:04 |
| Design Period, THEN Build Period | dtengineering | FRC Game Design | 13 | 09-06-2007 12:46 |
| Autonomous Period | Andy Grady | General Forum | 73 | 20-01-2003 21:34 |
| FIRST Build Period | Karl | General Forum | 5 | 09-12-2001 13:30 |