Magnetic Rotary Encoder Eval

I got some samples of the nifty looking AS5040 10-bit magnetic rotary encoder IC from Austria Microsystems.  I want to do some experiments with these chips to possibly replace the mechanically coupled encoder I was planning to use to measure the spindle speed on my CNC mill.  The chips basically have Hall Effect sensors and signal processing internally to automatically detect the rotation of a magnet with very good precision (1024 counts per rotation, or 0.35 degrees per count!).  They can run up to 30,000 RPM, so speed is no issue for my application.  They can output quadrature like a regular mechanical or optical encoder, commutation signals for brushless motor control, or you can talk to them over a SPI bus.  Very cool!

To test out the chip (and possibly actually use it in my applications), I needed a PC board.  Laen’s service is a no-brainer when it comes to making a small board, as it’s practically free.  Here’s the little board I put together (red is top layer, blue is bottom layer (flipped).

And, if you’re interested, here is the schematic.

Related Posts

Project Frankenmill – Part 33, Claustrophobia

Final positions for the DIN rails and wire management have been nailed down. It’s much more tight than one should really wire a panel like this, but…

Project Frankenmill – Part 32, You’re Gonna Need a Bigger Boat

It seems to be a rule that no matter what size electronics enclosure you have, you will always have at least 10% more stuff that you need…

Project Frankenmill – Part 31, Full Pull

While I still haven’t gotten into the detail of squaring and tramming, I’ve been intensely curious to see if the new Z axis would be happier with…

Project Frankenmill – Alpha and Omega

Since 2009, I’ve been messing around with CNC machines. I started out with a small manual milling machine from Grizzly, and converted it to CNC using a…

Project Frankenmill – Part 30, Do You Even Lift Bro?

Hauled the column back down to the shop and mounted it back on the machine. Sure is a lot heavier than it used to be! Muscling things…

Project Frankenmill – Part 29, More Machining and Motion

Had some productive time in the shop during the holiday. First step was to make the counterbores for the M6 cap screws a bit deeper. Easy to…

This Post Has 7 Comments

  1. Nice looking boards wow did these work out for you? I have a few of the AS5040 I got as samples and was going to try and make my own pcb this week. Is there any chance you would share the PCB layout files and schematic with me?

    Kind regards

Leave a Reply

Your email address will not be published. Required fields are marked *