Hi, I’m in charge of the programming and I was wanting to use interrupts to track the rising edges of the gear tooth sensors. My mentor is concerned that tracking this (max speed of 10ft/sec) will bog the processor down too much. He is proposing to build a byte counter circuit that will keep count will the processor is doing other things and then the count will be read by the processor for an update and reset. Can anyone provide insight to this?
Thanks,
Windell
Please only respond if you are a credible source because I don’t want to make myself an idiot to my mentor when I present him with an argument.
Like the thead points out, the number of gear tooth sensor interrupts are not a problem. They are a relatively low number compared to the encoders that people are using. We are getting around 1200 interrupts per second from the gear tooth sensor. The interrupt routine is simple too - just increment a counter and clear the interrupt flag.