This part is for members
Membership opens soon. Leave your email and we'll tell you the day it does. Founding members get the launch price.
Keep watching the free partsEncoders 5: ABZ, counting pulses
The same shaft on acm80 with an ABZ encoder, switched on at 0.2993 of a turn, then turning at 3000 rpm. No frames: timer 3 counts the A and B edges in hardware and the driver reads it live, zero ticks old. But the count starts at 0 at power-up, and the first Z only remembers it, so zero never moves to the index mark (70.92° off). An electrical-angle offset saved in flash is right only at the same power-up spot, or whole electrical turns away. Lost edges: wiped out at every Z; up to 200 a turn nobody counts them (up to 72°); over 200 they are counted and never forgiven, and twenty bad turns are an alarm; with the Z wire cut there is no snap and no check. Every stop guess-first, picture beside code.