A DRO saves a lot of time when making something on the lathe, however, regular DRO's require quite some real estate for the display and have wires running everywhere. The plan was to make something that would be less intrusive and still have some useful functionality to make lathe work more efficient.
The project was inspired by the AS5310 magnetic encoder chips from Austria Microsystems.
Files
bluetooth.pdf
Electrical schematic of bluetooth expansion board
Adobe Portable Document Format -
10.55 kB -
08/30/2017 at 09:55
Well, it took some time to complete, but it has been in happy service for a few years now.
The 1 micron resolution is a bit overkill as the flexibility of the rest of the machine is the weak link. However, if I ever bother to make a fancy toolpost grinder, the accuracy might come in handy.
I did make it work with Yuri's android DRO, but actually never bother to bring the tablet. If my eyesight goes bad when I get old I'll dig it up again.
Things to do different if you ever get around to undertaking something like this:
- Use a push button to switch it on and have an auto shut-off. I often forget to switch if off and come back to an empty battery. They're rechargeable but it's a nuisance.
- Make the housing much stiffer. Plastics warp over time under pressure so taking this more into account will improve your experience
- Don't use an LED to light the LCD. Nowadays there are cheap OLED displays which will make life better.
- Use something with more than 2k of program flash.......
The display is a bit on the small side and as I came across Yuri's site here I thought it would be good to integrate a bluetooth link to show the numbers on a tablet.
I made a small board so I could mount an RN42 bluetooth module onto the programming port.
I didn't pay enough attention and found out later I only had one pin available. So after cutting those traces off the power control and LED control couldn't work anymore.
With the UART pins already occupied by something else, the serial stream is bit banged through a single pin on the programming port. Timing was a bit tricky as the serial stream shouldn't affect the reading frequency of the magnetic sensors.
Now the 2k of flash was really starting to hurt and I had to optimise the code for the lcd severely.
But, in the end it worked. Bonus feature was that it also displays the battery voltage on the Y channel so you know when it's going to quit on you.
At the time (in 2012) Shapeways was just starting their 3D printing services, so I happily made use of them. Colored options were not yet available which means I had to paint them if I wanted another color but it was not much of a success. This 3D printing process at the time still used wax supports or something like that which didn't come off properly and I didn't want to use any harsh solvents. As a result the paint doesn't adhere well.
The design consist of two main parts; the main housing with the longitudinal sensor plus a small satellite housing for the cross slide sensor. It was the first CAD part I ever designed so it's a bit crude, but it's functional.
If you remove the satellite connector on the side the cover can rotate open to give access to the battery compartment. When closed the connector keeps it securely in place.
Things that went wrong: - small pins to hold pcb were not strong enough and are breaking off. Splitting them four ways to snap into the hole didn't help. Should have made them solid or better, used some screws. - the material warps, so now a few years later it's not straight anymore. The only issue is that it doesn't snap closed anymore but the connector hold everything together anyway. - the painting obviously, but now you can just get colored plastic straight from the printer..... - the holes for the buttons are fine when the cover is closed, but they slightly interfere during opening
The main sensor sits in a pocket behind the pcb, I added a conector later so I could take it apart again:
The satellite just holds a pcb with the sensor IC. The sensors are "potted" with hotmelt, which still works just fine five years later.
So, normally you don't mount the sensor on this side of the cross slide, but on the other side it would interfere with the tailstock. The magnetic target only adds 2mm to this side and the sensor is rather small, so it's not really in the way.
This project started out already quite some years ago and has been more or less finished for a while now. Projects don't go very fast when you have kids.
However, I thought it would be nice to show how it was done and perhaps inspire someone else.
As mentioned, the idea came when I saw the magnetic encoder sensors from AMS and I thought it would be nice to whip up a DRO out of them.
Regular DRO's have quite some functionality but also require a large keypad. I figured I would need only reset inputs for the scales. It's a bit more work than with a keyboard, but it's fine really.
The design started with an ATTiny2313, as I only required an I2C bus and not much programming. This came back to bite me as the 2k of flash required quite some squeezing when I added a Bluetooth interface later. But in the end it all fit.
To keep everything small I wanted to use only one AA battery, so there's a small boost converter to create 3.3V for the MCU. The lcd display required 5V so a voltage doubler is connected to a pwm output and regulated by a 5V zener.
The on/off switch also lights an LED for the display in one of the positions to enable working in the dark. Overall the LED is pretty useless though.
It's great to hear about your project to make lathe work more efficient using a DRO with a smaller footprint. The AS5310 magnetic encoder chips from Austria Microsystems sound like an excellent source of inspiration.
Having a DRO with a smaller display and fewer wires would certainly make lathe work more efficient, and it's impressive that you're taking on this project. The magnetic encoder chips offer a unique advantage over traditional DROs since they can measure linear and rotational movements without physical contact. This technology can also help reduce the number of wires required, which would make the installation process easier and cleaner.
I look forward to hearing more about your progress on this project and how the AS5310 magnetic encoder chips are integrated into your design. Good luck!
Can you share the complete model script of this program? I want to implement it on my real estate project, you can see here https://www.phoenixhomes.com/
Hi all, I wonder if anybody has some AS5311 encoders to sell. Currently it is extremely difficult to get them. I will pay at least 30€ per device. Up to 50 parts required but 10 would also be fine.
Hi all, I wonder if anybody has some AS5311 encoders to sell. Currently it is extremely difficult to get them. I will pay at least 30€ per device. Up to 50 parts required but 10 would also be fine.
Igor, where did you get the AMS NSE-5310? I can't find anyone with stock.
Also the I2C interface gives you the position within a magnetic pole (12 bits) how did you manage to add in the pole count and their direction for longer moves?
There isn't much to the code but perhaps I'll make a quick writeup later. I used an I2C and HD44780 lcd library from somewhere and wrote the rest myself.
That's a pretty cool and complete project :) I had to google what DRO means and was surprised that it stands for "digital readout" - which is so obvious when you know :D
It's great to hear about your project to make lathe work more efficient using a DRO with a smaller footprint. The AS5310 magnetic encoder chips from Austria Microsystems sound like an excellent source of inspiration.
Having a DRO with a smaller display and fewer wires would certainly make lathe work more efficient, and it's impressive that you're taking on this project. The magnetic encoder chips offer a unique advantage over traditional DROs since they can measure linear and rotational movements without physical contact. This technology can also help reduce the number of wires required, which would make the installation process easier and cleaner.
I look forward to hearing more about your progress on this project and how the AS5310 magnetic encoder chips are integrated into your design. Good luck!