Your calculator is 10.3mm faster than mine....
Beer slows your reaction time!
In one nanosecond, light travels about 22.26 cm in beer.
(Beer has a refractive index of 1.3466).
In one nanosecond, light travels exactly 29.9792458 cm in a vacuum.
(Refractive index of a vacuum is defined as having a value of 1.0).
In one nanosecond, light travels about 29.89 cm in air.
(Refractive index of air is 1.003).
The exclusion of water from this theory was intentional.
(RI 1.33).
Luciano
Of course you can! (And you were worried, right?)
Courtesy Electronic Design mag:
[Design Briefs]
Measure Nanoseconds With A PIC Microcontroller
Jeffrey L. Rothman, Richard Michta
ED Online ID #5649
September 1, 2003
"Based on a PIC16F887 MCU, this circuit described measures pulse lengths from 2 to 950 ns with a 1-ns resolution."
http://www.elecdesign.com/Articles/A...5649/5649.html
But it's not a real-time measurement, but one that is delayed by the response of the ADC spinning up, and the PICs associated instruction processing. The equivallent of "Can I use an Abacus to calculate the National Debt?". Sure you can if you wait long enough for an answer....
I think it's a shame that Ernie contributed a useful answer, the first I've seen around these parts, and gets mocked for it? By an admin?
No, it was a valid answer. If you want to convert your Digital signal to Analogue, then wait, then have it converted back to Digital... then that's fine. But as at today, they've not made a PIC that can measure 50nS without a heap of external help.
>the first I've seen around these parts
Are you suggesting that this forum doesn't provide useful answers to it's members?
>the first I've seen around these parts
Are you suggesting that this forum doesn't provide useful answers to it's members?[/QUOTE]
Quite.
Bookmarks