Which the Macintosh (and most other similar computers) collapse into a simple process: Then if the cog is turning one way you'd expect to see the time-ordered input: sensor 1 on, sensor 2 on, sensor 1 off, sensor 2 off, sensor 1 on, etcīut if it's turning the other way, you'd instead see: sensor 2 on, sensor 1 on, sensor 2 off, sensor 1 off, sensor 2 on, etc What a quadrature encoder does is it uses two sensors, half a groove apart. (Disclaimer: it's not really a cog, but that's an easy image) If you observed the digital output of that sensor, you'd be able to tell how fast the cog is turning, which is half the problem solved. Picture a cog, with an optical sensor pointing through the grooves. ![]() ![]() ![]() Quadrature encoding is a simple, physical process, that lends itself to a convenient cheat if you're synthesising input. The pre-ADB Macintoshes use a simple quadrature-encoded mouse input, no formal serial protocol.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |