> Thanks Clark for the info. The encoder is a hall effect sensor coupled with a > disk that has a series of magnets. It is quite low resolution but does spin > at motor speed which gives several hundred pulses per second. I am using it > mainly for learning about motor control and I really don't care about > direction at least for now. > > I did notice the ePEP hardware does support a simple up (or down) count from > the A input. If this is the case I might be able to change the Strawson > library. I will post back one way or the other > > Mark >
Since you don’t care about direction, for now, you might try hooking the encoder to just the A channel. I’m not sure what will happen when the quadrature encoder input is missing the B channel, but it might work. Whatever you do, don’t hook the output from the sensor to both inputs, that will cause the quadrature input to be really confused….sometimes counting up and sometimes counting down. If that doesn’t work then I think you will have to modify the eQEP code. Clark -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/B73EE3BE-F4CE-4172-B146-38F70084A4FF%40icloud.com. For more options, visit https://groups.google.com/d/optout.
