Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/11/02 21:57
Read: times


 
#18547 - RE: A wheel is rotating ,which direction???
Set up the sensors so that both are looking at the same dark or light area slightly offset. As the wheel rotates sensor A sees light first followed by sensor B. Using only one interrupt triggerd by sensor A have the interrupt routine check to see if sensor B is seeing dark or light.
For instance, when turning clockwise sensor A triggers an interrupt and the routine sees that sensor B is still in the dark. Now reverse rotation and when Sensor A triggers the interrupt sensor B is already seeing light. This way the rotation can be checked at any time without having to keep track from startup.
(This isn't homework, is it???)


List of 10 messages in thread
TopicAuthorDate
A wheel is rotating ,which direction???            01/01/70 00:00      
RE: A wheel is rotating ,which direction???            01/01/70 00:00      
RE: A wheel is rotating ,which direction???            01/01/70 00:00      
RE: A wheel is rotating ,which direction            01/01/70 00:00      
RE: A wheel is rotating ,hal            01/01/70 00:00      
RE: Your wheel is going to stop !!            01/01/70 00:00      
RE: A wheel is rotating ,which direction???            01/01/70 00:00      
RE: A wheel is rotating ,which direction???            01/01/70 00:00      
RE: A wheel is rotating ,which direction???            01/01/70 00:00      
RE: A wheel is rotating ,Ben            01/01/70 00:00      

Back to Subject List