1
Project logs / Re: Magnetic rotary encoder with AS5043
I used code from this guy and did just a quick test with his setup.
If I remeber right the code polls the digital output every second and during the poll the analog output went down.
http://www.youtube.com/watch?v=gXewDdlUT_Q
This PCB is going to be a position sensor for a motorcycle gearbox since the setup doesn't require any sort of bushing where oil could leak out. I happens that the shift drum got a 6mm hole on the front side where the magnet fits perfectly. I use the magnets mentioned in the pdf manual.
One downside is that you need to position the sensor board to have the output show around 0V in the first gear.
Have you tried to program the chip itself?
I will give your code a try
Cheers,
Michael