AllanBertelsen
New Member
I need some quadrature wheel encoders for my robot.
I want to use encoder wheels and ID LEDs and detectors from a pc-mouse.
The inspiration came from
I have been looking for Quadrature Decoder/Counter Interface ICs. They are quite expensive.
I was thinking of making one myself by logical circuits. Now my MCU is a PICAXE. My concern is if it is fast enough. So my idea is to use up and down counters for the counting part. I don’t want to miss counts. So I will use registers for keeping the counted values. The loading of the counted values and the resetting of the counters can happen in parallel. Then the mcu can read the data in serial and do its odometry/PID things without missing counts.
But I'm not an engineer, so I could sure use a second opinion.
Take a look at the attached gif please.
I want to use encoder wheels and ID LEDs and detectors from a pc-mouse.
The inspiration came from
I have been looking for Quadrature Decoder/Counter Interface ICs. They are quite expensive.
I was thinking of making one myself by logical circuits. Now my MCU is a PICAXE. My concern is if it is fast enough. So my idea is to use up and down counters for the counting part. I don’t want to miss counts. So I will use registers for keeping the counted values. The loading of the counted values and the resetting of the counters can happen in parallel. Then the mcu can read the data in serial and do its odometry/PID things without missing counts.
But I'm not an engineer, so I could sure use a second opinion.
Take a look at the attached gif please.