Description: This is the Wheel Encoder Kit from DAGU, a simple add-on to any wheeled robot that can help measure the speed or distance the chassis travels. Each wheel encoder kit consists of two neodymium 8-pole magnets with rubber hubs and two hall-effect sensors terminated with 150mm cables and 3-pin female servo headers. These wheel encoders require a supply voltage of 3-24V with a supply current of 4mA.
Based on 2 ratings:
I was able to install the discs on my existing DAGU motors, no problem. It took a little bit of wrangling and ties to get the Hall Effect sensors in the right place. Then I was able to read the change in state on the encoders using the attachInterrupt() call in Arduino.
1) A pullup resistor on the output line was useful to get clear signals. 2) If you use the CHANGE sense type for attachInterrupt, then you will get all the rising and falling signals (8) and get the most resolution.
The encoder is working well for me. I’ve mounted the magnetic disk on the drive shaft of a 4x4 car, after removing the rubber backing. I had first tried mounting the disk on an axle, but I over tightened the wheel nut and broke the disk. It looks like a washer made of steel, but it is more brittle than I expected. It is working well on the drive shaft for counting revolutions, approximating travel distance.