|
Re: Question about Gear Sensor
Do as above, but note that the gear tooth sensors in the kit have only a single phase. This means that the encoder code will only count either up or down.
If you want direction information (i.e. a count that goes up when rotating one way, and down when rotating the other), you need to estimate it based on other factors (such as commanded motor direction, etc.).
|