Quote:
|
Originally Posted by Avarik
Also, can the gear tooth sensors sense the direction of the spin, or just velocity?
|
According to the datasheet, this sensor outputs a 45 us pulse for one direction and a 90 us pulse for the other. I think you can detect this difference with the uP.
If you only want to know the speed of rotation though, just the number of pulses in a fixed period of time is enough. A simplified version of the encoder code could count pulses (in an interrupt function) without worrying about the other input.