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 4 ratings:
1 of 1 found this helpful:
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.
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.
Bought this kit as a supplement for the RedBot robot kit that you offer. The item(s) worked as needed to get motor feedback to perform more complex tasks.
How do I determine what size of pullup resistor to use?
The short answer - for most applications, anything from 3.3k to 10k is fine.
For the long answer, check here: https://learn.sparkfun.com/tutorials/pull-up-resistors.