hey guys,
i'm pretty new arduino. in fact have yet buy arduino yet not sure of capabilities or find information. i have watched arduino tutorials , familiar programming. question is, input speed or in other words highest frequency of input signals 1 can input arduino? trying build project attempt measure rpm of gasoline engine, rpms 20,000 revs per minute, in other words 334 input signals per second, , want arduino able calculate instantaneous rpm. possible arduino? if not possible, there other approaches can calculate rpms of speed? other possible guidance? willing accept help! all!
-khan
i'm pretty new arduino. in fact have yet buy arduino yet not sure of capabilities or find information. i have watched arduino tutorials , familiar programming. question is, input speed or in other words highest frequency of input signals 1 can input arduino? trying build project attempt measure rpm of gasoline engine, rpms 20,000 revs per minute, in other words 334 input signals per second, , want arduino able calculate instantaneous rpm. possible arduino? if not possible, there other approaches can calculate rpms of speed? other possible guidance? willing accept help! all!
-khan
use interrupt input.
clear total count.
start timer, every time interrupt occurs, have add 1 count.
after 1 second (1000ms), take count , multiply 60 , display result.
repeat.
or time 1/2 second (500ms) , multiply 30.
or time 1/5 of second (200ms) , multiply 12.
or time 1/10 of second (100ms) , multiply 6.
clear total count.
start timer, every time interrupt occurs, have add 1 count.
after 1 second (1000ms), take count , multiply 60 , display result.
repeat.
or time 1/2 second (500ms) , multiply 30.
or time 1/5 of second (200ms) , multiply 12.
or time 1/10 of second (100ms) , multiply 6.
Arduino Forum > Using Arduino > Project Guidance > Arduino input speed
arduino
Comments
Post a Comment