We have been relying on the kit magnetic (rotary) encoder to measure the position of an arm, with decent success. However, at one point today, our encoder just stopped giving us good data (0 for position, 0 for magnetic field strength.) We are using it in SPI mode. We’ve ensured all proper wiring–and it’s definitely giving a signal–when it doesn’t, it reads 255, not 0.
Anyone else face similar problems/have suggestions?
The KOP magnetic encoder is ok as a demo board. For our robot we prefer a more rugged device. This year we are using Vishay 981He and last year Cherry AN8. Both are automotive qualified. They have some electrostatic protection and are sealed. They are both analog. Couldn’t find a spi or i2c device I liked that was with in our budget.
They have no dead band. How ever they are dependent on the supply voltage. if they are given 5 volts they will give an analog voltage from 0 deg - .5 volts and 360 deg 4.5. If the supply voltage was 4.95 then it would be .495 to 4.45.
This isn’t a problem with the analog break outs this year but was noticeable last year. We did manage to eat a Vishay this year from a mechanical failure. They work great as long as we don’t smash them. The Cherry AN8 served us well last year too. Ideal for pivot drive and arm sensing.