Mechanical encoder interfacing and quadrature

MaxHeadRoom

Joined Jul 18, 2013
30,654
Software for what platform? Microchip has a quad module in one product.
'Encoder' covers a wide gamut of devices,
Cite an example of the encoder.
Max.
 

Marley

Joined Apr 4, 2016
519
Like all these things, start with what you know. Draw some diagrams.
What waveforms (voltage levels) come out of the device?
How do these levels change when the encoder turns? What happens when the encoder turns in reverse?
How could you tell which way the encoder is turning just by looking at the waveforms?
Does your software need to look at the voltage levels or the voltage steps (change in levels)?
What would happen if your software missed some of the steps (because it was writing to a display - for example)?

What I am saying here is before you think about the actual micro-controller and the programming environment, you need to think very carefully about how the encoder works. Do this in the right order and the actual software design will logically follow.
 

Thread Starter

selviceren

Joined Jan 20, 2017
3
Like all these things, start with what you know. Draw some diagrams.
What waveforms (voltage levels) come out of the device?
How do these levels change when the encoder turns? What happens when the encoder turns in reverse?
How could you tell which way the encoder is turning just by looking at the waveforms?
Does your software need to look at the voltage levels or the voltage steps (change in levels)?
What would happen if your software missed some of the steps (because it was writing to a display - for example)?

What I am saying here is before you think about the actual micro-controller and the programming environment, you need to think very carefully about how the encoder works. Do this in the right order and the actual software design will logically follow.
Thank you
 
Top