- This topic has 3 replies, 2 voices, and was last updated 12 years, 5 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
|
Microcontroller › 8051 › external interrupt interval
how many times external interrput can be executed in 1 second,infact i made cloth measuring meter using wheels and sensor.it works fine at 1000 pulses/min but when i give it 2000 pulses/min it does not show actual value,it seems hardly can count 1200 pulses /min.i am using 12 mhz crystal
i am using external interrupt ,can someone tell me the frequency of exteral interrpt in 1 second or solution for my problem
I think, it depents on how long your ISR takes to finish executing.
At 2000 pulses per second, may be you are generating the next interrupt before the previous interrupt’s ISR returns.
I AM USING 2000 PULSES PER MINUTE NOT PER SECOND.MY MECHNICAL WHEEL GIVE 10 PULSES AFTER 1 METER CLOTH PASSED.I WANT A SPEED 200 METER PER MINUTE.CAN I DO IT WITH EXTERNAL INTERRUPT?
Thats more than 30 pulse per second. Which controller are you using?
What all things are you doing in the ISR? If possible, share the code in your interrupt ISR.