We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]
posted on 2014/09/01 10:23:32 AM CEST
I am looking to experiment with the AS5311 Chip which is capable of highly acurate linear motion sensing. This looks a very versatile chip with a variety of communication outputs.
I am using an EasyPic 7 development board with MikroBasic Pro and was wondering if anybody in the MikroElektronika community has experience of using the AS5311 or could point me in the direction any appropriate documentation (other than the manufacturers data sheets) that may help.
If I can get this combination working I think the Libstock community would find this a very useful project.
USER Comments
posted on 2014/10/18 07:24:53 PM CEST
Hi Peter, Many thanks for responding to my request.
I have now written a program that reads the SPI information directly and gives a precise reading of the distance the magnetic strip has moved. This is actually a part of a larger program I am developing and I will publish here when I have completed the project. Kind regards.
Do you want to report abuse comment ID: 1329 in "AS5311 Magnetic Linear Encoder" request.
posted on 2014/10/15 02:40:02 AM CEST
Hi Ken, I've used the AS5311 with a Arduino.
You can make life easier by using a dedicated quadrature decoder chip. I used the LS7366. This can count pulses from the A/B outputs from the AS5311. You can read the count from the LS7366 over SPI bus. Then you have no issues with your pic keeping up with pulse count. No need for interrupts etc. My project is still work in progress but I'm sure something similar could be done on the EasyPic7. http://pcm52.com
Do you want to report abuse comment ID: 1323 in "AS5311 Magnetic Linear Encoder" request.