Electronic Leadscrew Torque Test
5:52
"Angel Eye" Light Wrap-Up
7:39
4 жыл бұрын
"Angel Eye" Light for the Mill
3:48
4 жыл бұрын
Logan 200 Crossfeed Threading Stop
8:00
Clausing 8520 TouchDRO
3:14
6 жыл бұрын
Teco L510 VFD for Sears Drill Press
12:03
The Atomic Pick
8:59
8 жыл бұрын
Blues For Dixie
2:13
15 жыл бұрын
Пікірлер
@Actually_Miralles
@Actually_Miralles 9 ай бұрын
Do you have a video or schematic on wiring the external pot and start/ E-stop (braking resistor?) I have the same setup with a Fujitsu VFD
@jonrbryan
@jonrbryan 9 ай бұрын
I didn't wire a remote pot, I use the one on the VFD. The braking resistor connection is really straightforward. You won't have any trouble figuring it out.
@epsail
@epsail 9 ай бұрын
Jon, can you kindly let me know what stepper you installed? I’ve got a Logan 210 and would like to keep it all inside the cover like you were able to do. Also, have you had any issues with it not having enough torque?
@jonrbryan
@jonrbryan 9 ай бұрын
The documentation is at github.com/ccomito1223/ELS-Jon. I used a "Nema 24" motor from omc-stepperonline that was only available for a short time. It's a unicorn, with an 8mm shaft, Nema 23 mounting holes, 3.5Nm torque and was (I think) 110mm long. I've cut 8tpi Acme threads with it with no hiccups. I did get some occasional chatter with a 3Nm Nema 23 motor, which was why I upsized. You might get away with a Nema 24 4Nm motor if someone makes one shorter than 125mm, with a 6:1 20T/120T pulley combination.
@jonrbryan
@jonrbryan 9 ай бұрын
If I was looking for a replacement for the motor I'm using now I would look at teknic.com/model-info/CPM-SDSK-2321S-RLN/?model_voltage=75VDC and get the 1/4" shaft option. It's a servo motor with step and direction input. I would have to go to a 75-volt power supply, too. Then I would look at timing pulley and belt options. The 15mm belt that I used is probably overkill, and 10mm would probably work fine (timing belts are amazingly strong for their size). I would stick with the 8:1 reduction on the pulleys. The Clearpath motor would probably outperform a stepper. Might be quieter, too. I think they have some cool software tools, too.
@jonrbryan
@jonrbryan 9 ай бұрын
I just looked on eBay and found a couple of 8:1 timing pulley sets. I believe an HTD3M set with a 6.35mm (1/4") bore on the small pulley and 192.3mm wheelbase would work with the Clearpath motor. Be advised that the big pulley has to be bored, counterbored and a keyway cut to go on the leadscrew, if you haven't figured that out already. You're getting me going here. I can't get sucked back into this. I have too many other things going on these days :).
@douglassmith2055
@douglassmith2055 10 ай бұрын
Nice little gem of American cast iron
@aarondefazio989
@aarondefazio989 10 ай бұрын
Hi Jon. I have installed your ELS on my lathe after considering many other examples found online. I have some questions, but I have little hope of reaching you here after all this time. We'll see. I made very few changes from your setup. My original plan was to run it on an ESP32, but that plan failed mostly because I don't know what I'm doing. It's working with the Mega2560R3 now with my main problem being that the leadscrew doesn’t reverse when the spindle runs backwards. All the transitions look good on the scope and the arrow on the display even changes but the leadscrew keeps running the same way. I don't expect you to solve it for me, you've done more than enough by designing it to begin with. Excellent work, thanks from Aaron in San Diego.
@jonrbryan
@jonrbryan 10 ай бұрын
Bravo, Aaron. We just left San Diego this morning after spending Thanksgiving with our kids and grandkids. Now we're in Tucson for the night before heading the rest of the way home tomorrow. If the display is indicating the direction change and the leadscrew is turning and changing speed then the only thing left is the direction control connection between the Mega and the motor controller. Make sure DR+ is pulled up to 5V and DR- is connected to D7 on the Mega. -Jon
@Tailhook69
@Tailhook69 Жыл бұрын
Superb project and built by a very talented guy! Thank you
@jonrbryan
@jonrbryan Жыл бұрын
Thank you! I use it quite a bit, and have some ideas for enhancements. Maybe someday I'll revisit it and make an updated video. Maybe someday I'll make another video, period :).
@opieshomeshop
@opieshomeshop Жыл бұрын
*_You're more than welcome to come do this to my lathe because I have no idea how to do any of this._*
@williamclarkson1698
@williamclarkson1698 Жыл бұрын
Is this sold to people at this time. I have a craftsman lathe with 8 tpi leadscrew. I would like to have your controller.
@MotoChassisByTonyFoale
@MotoChassisByTonyFoale 2 жыл бұрын
Jon, Nice job. You may find my own electronic lathe conversion of interest kzbin.info/aero/PLyn2snGjYlHw_e4LomNphh8KleeqPiqpz
@Wachuko-1
@Wachuko-1 2 жыл бұрын
Excellent. Thank you for sharing. Just what I needed to see. I have all the components and will be installing on a 1945 Logan 820 lathe... This helps visualize where and how to install the brackets.
@jasemali1987
@jasemali1987 2 жыл бұрын
I don't have a half nut on my proxxon, how can this be useful ?
@jonrbryan
@jonrbryan 2 жыл бұрын
It should be possible to do it using the "enable" input on the motor controller, but I haven't tried it.
@CharlieWilkins
@CharlieWilkins 2 жыл бұрын
This is amazing. Quieter than a gear train too
@mrx.2233
@mrx.2233 2 жыл бұрын
Your audio is very soft. Need to work on that
@mrx.2233
@mrx.2233 2 жыл бұрын
I saw Clough42 could not get this right on the Arduino and selected TI Launchpad instead. Nevertheless you both did well here.
@jonrbryan
@jonrbryan 2 жыл бұрын
The Arduino Mega gets the job done, but there's not a whole lot of CPU left to spare. It handles 1500rpm just fine, but going above 2000 would get into problems with the interrupt handler. Easiest way to resolve that would be to reduce the spindle encoder resolution from 800ppr to 600 or even 400. The feed resolution would still be sub-tenths.
@mrx.2233
@mrx.2233 2 жыл бұрын
Nicely done Sir!
@kelleypack1000
@kelleypack1000 2 жыл бұрын
Nice video. I’ve installed the same VFD on a old drill press. I’ve set it to 60 HZ and it works good. I don’t know much about automation so I’m going to ask some questions. I’d like to have forward and reverse. How did you wire your forward and reverse switch and where did you get the switch and what is the switch called? Thanks for the video I need to watch it again I don’t want to mess this VFD up.
@jonrbryan
@jonrbryan 2 жыл бұрын
There are several different ways to configure it. I don't know where my sketch is now, but I believe that I used the 3-wire mode with the E-Stop mushroom switch wired to terminal S1 and FWD/REV on S2 and S3. It doesn't have to be momentary switches on S1. Parameter 00-04 controls the mode. The FWD/REV switch is a modular 22mm 2-position rotary selector switch. If you're not familiar with such things you could just use a 2-way toggle switch. You could use an ON-OFF-ON 3-position toggle and run it in 2-wire mode without the E-stop in 2-wire mode. You could use two NC switch blocks on the E-stop switch and wire them in series with the FWD/REV lines in 2-wire mode. More than one way to do it. Please don't electrocute yourself.
@kelleypack1000
@kelleypack1000 2 жыл бұрын
@@jonrbryan I probably would use a toggle switch when I get everything setup which will be awhile. I’ll ask more questions when I get started, I’ve handled electric stuff a good bit so I’m pretty carful. I just can’t wrap my head around programming. I really appreciate you answering.
@Richard-gh1gv
@Richard-gh1gv 2 жыл бұрын
I enjoyed your video immensely. Very professional modifications. I can see this helping me greatly for gears that don’t stay set tight enough and no ability for reverse threads. I hope you go into more detail of how you did it all. Something that rookies like me can pick up on.
@mibooth1852
@mibooth1852 2 жыл бұрын
Sorry i meant Atlas/Clausing
@mibooth1852
@mibooth1852 2 жыл бұрын
What a coincidence i have the same lathe and mill as you have, although my mill might be a little older the tag reads Atlas / Colchester. I really enjoyed this video and the others on your channel !
@jonrbryan
@jonrbryan 2 жыл бұрын
Thank you. They're surprisingly common machines, and I was lucky to get good ones. I once saw a Clausing 8520 in someone's basement on an episode of "This Old House".
@TheElderlyBiker
@TheElderlyBiker 2 жыл бұрын
Jon, I love the idea of this setup. Do I take it that the config file will allow for changes in specification of different lathes and also the encoder steps etc? ie 1000 step as opposed to 800 step.
@jonrbryan
@jonrbryan 2 жыл бұрын
Thanks, Matt. Yes, things like the encoder resolution can be easily changed. The Arduino has some practical limits, and if my lathe could go faster than 1500rpm I would probably drop to a lower resolution encoder so that the Arduino would still have some margin. It would still cut very good threads with a 400ppr encoder on the spindle while handling 3000rpm. There are people who manage to cut threads with 1ppm encoders. If I had a Monarch 10EE that could go up to 4000rpm I might start thinking about a faster microcontroller.
@robertqueberg4612
@robertqueberg4612 2 жыл бұрын
Hello Jon, This project seems to have been in process for at least two years. My life supporting skill set has been building and designing industrial gizmics for people. Electronics seem more like a window shade for my sense of logic. I have watched your demonstration twice, and am still in awe of your controller, while still not fully understanding all of it’s capabilities. Is it still necessary to leave the half nuts engaged for metric threading with an inch threaded lead screw? I believe that you have managed to create your missing quick change gear box, while at the same time, incorporating a pseudo metric change gear set without the need for consultation with charts and loose gears. Have you devised a way to reposition the carriage in preparation for the next pass, in a faster way than has been standard practice over the past century or so? In my book, I will give you high marks for the technical project, as well as for your very personable manner of it’s presentation.
@jonrbryan
@jonrbryan 2 жыл бұрын
Thanks, Robert. I usually use jog to set the limits and leave the half nuts engaged. It resynchronizes with the thread whenever the feed direction is changed. Otherwise I use it exactly like a gearbox with the threading dial. I've toyed with the idea of implementing a rapid reverse, and maybe I'll get around to it one of these days.
@jamiewilliams6763
@jamiewilliams6763 2 жыл бұрын
Thank you for this awesome gem of information! Any chance you can post a link to the forum of the 10ee rebuild?
@jonrbryan
@jonrbryan 2 жыл бұрын
I just spent a few minutes looking for it and couldn't come up with the right search terms. If I eventually find it I'll let you know.
@jamiewilliams6763
@jamiewilliams6763 2 жыл бұрын
@@jonrbryan Yeah, looking at the clutch assembly on the 10EE It's brilliant but definitely over engineered. I think I'm just gonna go with a set screw like yours.
@jonrbryan
@jonrbryan 2 жыл бұрын
@@jamiewilliams6763 The way I did it is kind of half-assed. Ideally, the dial would be part of the mechanism so that the positive stop aligned with "0" on the dial. My way "works", but requires that the thumb screw be tightened just enough to drag all the dogs into contact at the set point before tightening it firmly. I had to practice with it a bit to be consistent.
@jamiewilliams6763
@jamiewilliams6763 2 жыл бұрын
@@jonrbryan Right, I was concerned about binding. I was planning to having the two pins on the dial with a shoulder for the rings to sit on and have the lock screw on the other side locking to the hand wheel. Just gotta decide if I want to use alloy or O1 to make the rings. It's a shame that this is not a feature on any modern lathes.
@winandd8649
@winandd8649 3 жыл бұрын
For an electronic leadscrew to work without issues, i read on multiple sites that an 8 bit Arduino is way too slow to pickup all pulses of the spindle and control a stepper motor at the same time. What is you experience? Up to what spindle rpm speed did you test your ELS? Does the stepper looses steps occasionally? Looks very nice btw!
@jonrbryan
@jonrbryan 3 жыл бұрын
I'm using an Arduino Mega, a spindle encoder with 800 counts per revolution, and the stepper is set to 400 steps per revolution and drives the 8tpi lead screw through an 8:1 reduction. It takes 25,600 steps to move the carriage one inch. The lathe maxes out at just under 1500rpm, but has enough margin to get close to 2000. Faster than that would require decreasing the encoder resolution. The real-time code is all interrupt driven, and doesn't lose counts or steps at reasonable feeds. I enhanced the user interface since I did this video and display the maximum spindle speed for the selected pitch/feed rate. I also warn the user if the spindle RPM is too high for the selected rate. It won't drive the carriage at 4tpi with the spindle running at 1500rpm, but you couldn't do that through a gear train either, and would likely strip the gears. Ultimately, the system is torque limited, and starting the spindle with the rate set too high just causes the stepper driver to error out because it doesn't have enough power to keep up. The code and design information are available at github.com/ccomito1223/ELS-Jon. We have a small user group at groups.io/g/AtomicELS.
@winandd8649
@winandd8649 3 жыл бұрын
@@jonrbryan Good to know! Thank you for sharing!
@qzwqsy
@qzwqsy 3 жыл бұрын
What motor setup did you go with? I was to update my 8520.
@jonrbryan
@jonrbryan 3 жыл бұрын
I'm using a 1/2hp Hallmark Industries MA0505E 3-phase motor from Amazon that I'm driving with a Fuji Frenic-Mini FRN0003C2S-6U VFD from Wolf Automation. I put the VFD and braking resistor in a proper enclosure after this video was made. It's worked great for everything that I've done with it so far, and I haven't felt any need for more horsepower.
@qzwqsy
@qzwqsy 3 жыл бұрын
Thank you very much for the information.
@qzwqsy
@qzwqsy 2 жыл бұрын
Hoping you do more videos on your 8520.
@gordon6029
@gordon6029 3 жыл бұрын
I would love one of these milling machines. They are rare but nonexistent where I live. There is one about 3000 miles away but I can’t buy it unseen and shipping might hurt.
@jonrbryan
@jonrbryan 3 жыл бұрын
I got lucky and picked mine up from a retiring machinist. He had it set up to do finer work because it would hold closer tolerances than his Bridgeport clone (that I was actually there to look at). It's a good, solid machine if you can live with its limitations.
@mibooth1852
@mibooth1852 3 жыл бұрын
Jon , where did you get your keyless drill chuck is it MT2 3/8" 16 ?
@jonrbryan
@jonrbryan 3 жыл бұрын
It's a Grizzly 5/8 with a JT3 taper. I believe the JT3 to MT2 arbor was also from them, but it's been too many years. It's been a good chuck.
@mibooth1852
@mibooth1852 3 жыл бұрын
@@jonrbryan Thank you for the info sir.
@wm210v
@wm210v 3 жыл бұрын
Фантастика! Супер!
@jonrbryan
@jonrbryan 3 жыл бұрын
Thank you.
@lucwybo
@lucwybo 3 жыл бұрын
Dear Jon, I watched your videos about ELS with great admiration. I also have a good look at the programs on arduino-mega and Nextion. I still had arduino-mega on the rack, and it is already charged. I also tried to compile your program with arduino-IDE and the STM32 library without modifications resulting in 20 errors, mostly caused by different names of timers, interrupts and processor dependent hardware. I recently bought some STM32 F411RE nucleo pcb boards for that purpose. I still have to make adjustments to both programs because I still use the small gearbox on the lathe. It is equipped with lead spindle and separate feed shaft for longitudinal and transverse feed. I would like to email you because I have some questions and also comments. My email "[email protected]" Best regards, Luc
@jonrbryan
@jonrbryan 3 жыл бұрын
Thanks, Luc. I bought a couple of STM32 boards just in case, but the Mega is working fine. I've made some relatively minor modifications to both the hardware and code since I did this video. I was able to squeeze a slightly larger stepper in and also changed the stepper-to-lead screw ratio to 8:1, which gave better results cutting 8tpi Acme threads in bearing bronze. There is an "Atomic Leadscrew" forum on groups.io if you want to check it out.
@strykerjones8842
@strykerjones8842 3 жыл бұрын
Fine work, I wonder if one could use a similar system to make a semi-universal dividing head capable of universal dividing head operations.
@jonrbryan
@jonrbryan 3 жыл бұрын
Certainly. The fundamental components are the same. I used an 800-count spindle encoder, which works very well on my lathe. For an indexer I would want higher resolution, since any angular error is multiplied by the radius of the workpiece.
@mibooth1852
@mibooth1852 3 жыл бұрын
Any updates on this great machine ?
@alargiader7396
@alargiader7396 3 жыл бұрын
Jon, this video shows exactly what I'm looking for. I've been watching your overview video and Clough42's videos and it was never clear that you had gotten away from the threading half-nut (it is clear that Clough hasn't). For those of us who thread metric, it's a big deal. This one seems to show that you are doing that... rewinding to the carriage stop that you show in the overview video, but then starting the ELS in synch with the spindle to pick up the same thread. Is this feature in the code that you have on GitHub? I looked through it and thought it wasn't. And most importantly, does this video show what I think it does? I don't know what thread you are cutting and I can't see what you are doing with the controls.
@jonrbryan
@jonrbryan 3 жыл бұрын
Well, the carriage won't move unless the half nuts are engaged. When they are left engaged I sync to the thread on direction changes, and have left and right programmable stops. Doesn't matter if it's English or Metric. It can also be used conventionally, engaging and disengaging the half nuts on a mark just like a regular geared setup. I've let this languish because it does exactly what I want it to do right now. There are some little things that I would like to add, and will get around to eventually. It's just that other things have required my attention for a while. There's an "Atomic Leadscrew" forum on groups.io where I've offered support for people who have implemented their own versions. The biggest stumbling block for people has been getting reliable encoder signals. Mine is rock-solid (of course :/).
@MaximKachurovskiy
@MaximKachurovskiy 3 жыл бұрын
Jon, nicely done. Very clean and professional hardware build. I'm also working on an ELS project in github.com/kachurovskiy/nanoels but using a different approach to most challenges :) It's funny how we're solving each problem differently. I'm currently having problems with my 600 step optical rotary encoder, it reads the wrong direction every one in a while, ruining the direction control :/ Wonder if you had that problem.
@jonrbryan
@jonrbryan 3 жыл бұрын
I tried using the Arduino internal pull-ups at first, but switched to 2k external resistors because the slow rising edges were resulting in random counts in the wrong direction. I haven't had a problem since.
@MaximKachurovskiy
@MaximKachurovskiy 3 жыл бұрын
@@jonrbryan bingo. Thank you so much! Looks like I need to make a few changes to github.com/kachurovskiy/nanoels/tree/main/h1/pcb to support that :/ Hardware is hard! I think I managed to overcome this through software though: once spindle speeds past 10rpm, I just stop reading the second line assuming spindle can't change direction while turning :)
@mlminto
@mlminto 3 жыл бұрын
forgive my ignorance, but what type of motor is on the press? (stock/replacement - voltage and phase) thanks!
@АнтонПовар
@АнтонПовар 3 жыл бұрын
kzbin.info/www/bejne/oJPXmmqvhceVmMU :)
@jasonestes8954
@jasonestes8954 3 жыл бұрын
This is an excellent project! The threading to a stop alone is worth the implementation. I plan to adapt this to a 10x22 import lathe with a totally different leadscrew. To make it more portable, have you considered converting the #defines listed under "Scaler Magic Numbers" to variables and read/write them to EPROM? If you did that, you could give the user the ability to modify their values on the Settings screen and for the 80%+ case, there would be no need to modify code it use this on different lathes. Maybe the timing values would be needed as well, I have not dug into it that much yet.
@jonrbryan
@jonrbryan 3 жыл бұрын
That's an excellent suggestion, Jason, and one I've thought about. I think I would need to add another setup screen to do it properly.
@jasonestes8954
@jasonestes8954 3 жыл бұрын
@@jonrbryan I was thinking the same thing. Maybe move the speeds table to an Information screen and use the free space on Settings to add the editors.
@jasonestes8954
@jasonestes8954 3 жыл бұрын
@@jonrbryan Another thought would be to use the encoder for the jog function. If you tap the Leadscrew textbox, the background changes color indicating that turning the encoder will jog the leadscrew. Tap it again and the color returns to normal. Maybe even support a single tap to jog slow and a double tap to jog fast.
@jasonestes8954
@jasonestes8954 3 жыл бұрын
I can't get the Arduino code to compile. Am I missing a library? Sorry, I'm new to Arduino and having a tough time figuring this part of the code out. AtomicELS:980:5: error: expected constructor, destructor, or type conversion before '(' token ISR(TIMER3_OVF_vect) { ^
@jonrbryan
@jonrbryan 3 жыл бұрын
@@jasonestes8954 Make sure your target processor is the Mega (2560).
@Jacek380
@Jacek380 3 жыл бұрын
Hello Jon in your lathe lead screw 8 turns per 1 inch in my stroke is 5 millimeters per 1 turn, what should be changed in the Atomic ELS program so that I can install your driver in my lathe. Regards Jacek.
@jonrbryan
@jonrbryan 3 жыл бұрын
You will need to change some #defines to scale things properly.
@kentvandervelden
@kentvandervelden 3 жыл бұрын
The curse of the Internet: There's someone on the Internet who has already done the work better. I've been adding a touchscreen display to another ELS project. Seeing how much more you have done, I'll stop (re-)inventing the wheel. Wonderful project, and I appreciate how much work you have put into this. Very well done!
@kentvandervelden
@kentvandervelden 3 жыл бұрын
Take a look at the Teensy. Programming would be similar, with the Ardunio IDE. The Teensy is pretty small, very fast, and has hardware decoding of quadrature encoders. Wonderful project!
@JesseSchoch
@JesseSchoch 3 жыл бұрын
Thanks for sharing this great project!! Some questions if you don't mind: Why do you need so much torque? how much torque is needed to advance the carriage when cutting threads? It seems to me the motor would stall or the tool would break before you need 1k lbs of force to move the carriage. My lathe is small so maybe I don't realize the forces involved. I also thought that you'd want as low of an RPM on the stepper as you can get so you stay close to the 3.5Nm rating. Do you have a target mm per step size in mind? The torque falls off pretty quickly as the RPMs of the stepper go up. Maybe you are just running up against the limitations of the arduino for generating step pulses? If that is the case you should look at a more modern 32bit processor with a higher clock speed. I found a project called Didge which has a very very nice write up on how it does accurate step generation based on a modified Bresenham algorithm. It runs on a stm32 blue pill board which is about $2 USD. The stm32 also has hardware quadrature decoding. His uses the gnu arm toolchain but you can also use the arduino tools for the same board.
@jonrbryan
@jonrbryan 3 жыл бұрын
The forces on the tool are quite high. There are some equations in Machinery's Handbook that gave me numbers that were in line with what I observed cutting 8tpi Acme threads where I was getting some divots (momentary stalls) before I changed the motor and gear ratio. I have a couple of STM32 boards that I thought I might have to resort to, but the Arduino Mega is getting the job done at this point.
@JesseSchoch
@JesseSchoch 3 жыл бұрын
@@jonrbryan I'm playing around with my own implementation using an esp32 which would let me change parameters via a web interface. I have a lot of c++ to learn to get the Didge motion algorithm implemented though. I want a nice solid feeling lever control for the left/right feeding. Have you done any prototyping of physical controls?
@jonrbryan
@jonrbryan 3 жыл бұрын
@@JesseSchoch You can see the black box with the red toggle switch on top in this video. It's a MOM-OFF-MOM switch to select the left/right feed direction. Has to be momentary so the direction can be controlled from either the touch screen or the switch.
@mahudson3547
@mahudson3547 Жыл бұрын
You said "I found a project called Didge which has a very very nice write up on how it does accurate step generation based on a modified Bresenham algorithm. It runs on a stm32 blue pill board" - I've looked everywhere for this - can you remember where you found it?
@jozefkumberger1926
@jozefkumberger1926 4 жыл бұрын
Hello,Jon! I am trying to integrate your creation on chinese mini lathe for my friend. I have a situation...If I change direction of the chuck (spindle encoder) on the lathe, (not on ELS), leadscrew (stepper motor) does not change direction. Do I have to change direction on ELS direction switch everytime I switch direction on the lathe? I would expect direction of the leadscrew would follow chuck automatically - that is - when I change chuck direction, lead screw changes direction as well without switching direction switch on ELS. Sorry for bothering you...I just want to put lathe back to work and this seems to be a problem. Thank you for your time.
@jonrbryan
@jonrbryan 4 жыл бұрын
If you roll the chuck back and forth the lead screw and display arrows should change automatically. If they don't then one spindle encoder phase is not working and stuck either high or low.
@unokarpa4405
@unokarpa4405 4 жыл бұрын
привет всем кто заглянет с видоса Левши ) kzbin.info/www/bejne/eaTVYXisnKmrl6s
@GenePavlovsky
@GenePavlovsky 4 жыл бұрын
Amazing project, the final UI looks nice and simple, and appears to be very convenient to use. It seems that the Arduino Mega has enough processing power for this. But if more speed would be needed, I guess the code could be adapted to run on STM32- or ESP32-based Arduino boards (72 MHz and 160/240 MHz dual-core, respectively). There's another ELS project using Arduino Mega, for a little Hobbymat MD65 lathe. The latest version has a stepper motor on the carriage feed as well, allowing fully automatic thread cutting, cutting tapers, curves and some other features. Have you considered going further and implementing something like this? Info about the project (in Russian, Google Translate is our friend) can be found here: www.chipmaker.ru/topic/118083/ The UI certainly looks complicated, with all the buttons, switches and the joystick, and only a 16x2 text display. I like the touchscreen interface you've made better (although a joystick might be a good controller for some things).
@jonrbryan
@jonrbryan 4 жыл бұрын
Thank you for the kind words, Gene. I bought an STM32 board just in case, but the Mega has worked out well so far. As for going further, my goal was basically a programmable gearbox and I'm sticking to that. I added programmable stops because they were useful and easy, but otherwise the lathe works exactly like it would with a gearbox.
@GenePavlovsky
@GenePavlovsky 4 жыл бұрын
@@jonrbryan I understand. It does the job beautifully and is quite minimalist. Maybe the manual jogging (if you use it often), for which you implemented acceleration, could benefit from a joystick like an RC controller has (i.e. the further you push it away from center, the faster it goes). How easy/difficult would it be to adapt the code to work with another lathe? Besides the leadscrew pitch, is there anything else that would change? I think I might just go minimalist with my Hobbymat, and try doing it with your design. And with regards to the parts you used, do you think some changes would be needed? Hobbymat is a very little lathe :) By the way, did you do the improvements which you had in mind / mentioned in this video?
@jonrbryan
@jonrbryan 4 жыл бұрын
@@GenePavlovsky I did add a ON-OFF-ON momentary toggle switch to change direction, after I did this video, that attaches to the ways with magnet bars. A stick would be interesting to implement. I'm satisfied with the acceleration algorithm that I'm using for now, but it might be something to play with in the future. I have a "minion" in England who has adapted it to a Myford lathe. He had to use a two-step reduction (4 timing pulleys) to drive the lead screw and fit the available space, but it seems to work well for him once he scaled for the odd ratio that it came out to. Are you also in the UK? Another person in Australia has done a more involved adaptation for a very specific application. He's even changed to a smaller Nextion display. The size of the lathe has to be considered when selecting the stepper motor to get an appropriate amount of torque. I started with a Nema 23 motor and a 4:1 ratio, but changed to a Nema 24 motor and 8:1 to get more torque. On something like a Hobbymat you could downsize everything. I haven't watched the video in quite a while, so I forget what I talked about. I have changed the STOP screen quite a bit, and I have the feed synchronized when changing directions. I added British Association threads plus a couple of other oddball ones. The SETUP screen now displays only the belt positions/speeds recommended for the currently-selected feed rate. It's all available on github.com/ccomito1223/ELS-Jon if you want to give it a try. You can also join the Logan Lathe Users Group on groups.io where I hang out and help people with their implementations.
@GenePavlovsky
@GenePavlovsky 4 жыл бұрын
@@jonrbryan Thanks for the detailed reply. I've joined the Logan group as you suggested. What is meant by "minion" in this case? It's not the first time I encounter it's usage which I don't understand. The lead screw pitch also has an effect on the torque, right? E.g. on my lathe it's quite fine pitch, 1.0 mm. Given a same motor and belt reduction, the torque will be 3 times higher than on an 8 TPI leadscrew, at least that's my thinking :) If too much reduction is used, the max speed is going to get limited, right? On my lathe the leadscrew nut is solid, so I think I'm going to be using the powered traverse more often than you. By the way, if you move the carriage using the handwheel (half nuts engaged), does the ELS keep track of the position changes? How does that work? Another feature which could be nice to have with your setup, and this won't require any hardware changes, is spindle division. With an 800 PPR encoder, using both rising and falling edges of the pulses, you could have a resolution of 360 / (2*800) = 0.225 degrees. By the way, the Russian project I referred to earlier, is using a 1800 PPR encoder on the spindle, and counts both rising and falling edges for an effective resolution of 3600 steps per revolution. The spindle dividing feature has a resolution of 0.1 degrees. And it seems that Arduino Mega is still able to pull this off, although I don't know if it uses any tricks at high RPMs.
@jonrbryan
@jonrbryan 4 жыл бұрын
@@GenePavlovsky All evil geniuses have followers, Gene ;). A 1mm pitch lead screw would have a 3.175 mechanical advantage over an 8tpi leadscrew of the same pitch diameter, but friction has a large influence. I have a 1000-pound dial force indicator that I picked up on eBay to compare different motors and ratios, and torque/force isn't particularly linear. The only way to know is to try it. The ELS only knows how much it has turned the lead screw, so the half nuts have to remain engaged for the programmable stops to work. I haven't connected the driver alarm output back to the Arduino, either, so it doesn't "know" if you have stalled the motor. Since that is an unrecoverable condition requiring the power to be cycled I figured it would be pretty obvious. Several others have brought up spindle division, but I haven't felt strongly motivated to implement it. I would be more inclined to get a dividing head for my mill to do that sort of work, or use the bolt circle calculator on the mill DRO, which would provide much greater accuracy than the 800ppr encoder that I'm using on the ELS. At one point I had full quadrature decoding implemented, but it's cumbersome in software. To save clock cycles I switched to simply interrupting on the falling edge of one phase and looking at the high/low state of the other phase to determine direction, and it has been very stable.
@mickscully9558
@mickscully9558 4 жыл бұрын
Truly excellent... and very kind of you to share all the design info - Thank you.
@minskmade
@minskmade 4 жыл бұрын
nice job. whoa thanx for the tip on the scale factor..im going to use one of these on a little mill. thats a game changer.
@voyapavlovic1186
@voyapavlovic1186 4 жыл бұрын
Genius.
@brucefitzgerald9789
@brucefitzgerald9789 4 жыл бұрын
Jon doesn't tell you how to convert line frequency to quill speed. There are two settings on this VFD that must change. Set 12-04 to "1" and set 12-03 to the corrected RPM. In my case, my bandsaw uses an 1800 rpm motor so the correction factor that gets entered to convert rpm to surface feet per minute is 02677 which is entered as the integer value for 12-03
@christhesnaildriver
@christhesnaildriver 4 жыл бұрын
Strewth Jon - what you've achieved here is truly superb! Very impressive. I have been looking into building James Clough's ELS (which is also a great bit of work, and getting better), but yours adds some brilliant functionality with a nice GUI too. I found you via a forum post while I was researching, and I'll now enjoy watching your other videos! +1 sub :-)
@jonrbryan
@jonrbryan 4 жыл бұрын
Thanks for the kind words. I was using it yesterday to cut an internal 3/4-8tpi Acme thread. I suppose I should be making a video, eh?
@ionutpop5846
@ionutpop5846 2 жыл бұрын
@@jonrbryan yes you sude
@johnspathonis1078
@johnspathonis1078 4 жыл бұрын
Hi Jon Absolutely great video. I may have missed this, sorry if I did---- What happens if power is lost/interrupted halfway through cutting a thread. Are the encoders absolute so the system can start up again? Or have you a way of zeroing the system? Cheers John
@jonrbryan
@jonrbryan 4 жыл бұрын
That's one advantage gears have - they don't forget. I used incremental encoders. I've toyed with the idea of battery backup and/or saving the state to EEPROM, but decided to take my chances for now. There is a zeroing function.
@johnspathonis1078
@johnspathonis1078 4 жыл бұрын
@@jonrbryan Hi Jon, Thank you for replying. Would it be feasible to synchronise the chuck and lead screw before any screw cutting operations at all times . A possible way is to fit absolute encoders to the chuck and lead screw. When cutting a screw thread there will be a ratio between the two - say for argument for a particular thread the ratio is 6:1. As the chuck cannot be accurately positioned just read its position from its single turn absolute encoder -- say it is sitting at 37 degrees. Execute a synchronise command and the lead screw will rotate independently until it has reached the position of 37 x 6 = 222 degrees. When more than 360 just keep track of the turns or use a multi turn absolute encoder. The lead screw should then be synchronised with the chuck. As long as the work piece is not removed from the chuck. Would this work?
@jonrbryan
@jonrbryan 4 жыл бұрын
@@johnspathonis1078 Well, if I lost power while cutting a thread, I would probably just adjust the compound to reestablish the alignment and go from there.
@PoYoTheWild
@PoYoTheWild 4 жыл бұрын
Hello John, how is the current status of the ELS? planning on a kit or making it open source ? :)
@jonrbryan
@jonrbryan 4 жыл бұрын
Check the GitHub link in the description, and join the Logan Lathe Users Group on groups.io.
@PoYoTheWild
@PoYoTheWild 4 жыл бұрын
@@jonrbryan I must be blind I thought I checked the description I even looked it up at github :) thanks a lot. I don't own a Logan lathe, but similar size soviet lathe I have. Which i bought recently and I don't have the change gears for leadscrew therefore els is my only way :)
@jonrbryan
@jonrbryan 4 жыл бұрын
@@PoYoTheWild You're doing fine, I just edited the description. Thanks for your interest.
@PoYoTheWild
@PoYoTheWild 4 жыл бұрын
@@jonrbryan would you have some time to answer some questions? I'd be building it on a metric lead screw to cut probably only metric threads since I don't remember ever needing imperial threads around here.
@jonrbryan
@jonrbryan 4 жыл бұрын
@@PoYoTheWild If you want to modify the code that's up to you. I won't be providing technical support, but feel free to ask as long as it's not too esoteric.
@jozefkumberger1926
@jozefkumberger1926 4 жыл бұрын
Great stuff...is there any chance you would share details of this project? If not- I am happy to buy kit also...Would like to install this on my friend's lathe...Amazing job no doubt about that.
@jonrbryan
@jonrbryan 4 жыл бұрын
The details are now posted on GitHub: github.com/ccomito1223/ELS-Jon If you join the Logan Lathe Users Group at groups.io there are several people building their own versions with my help. -Jon
@garthlee8166
@garthlee8166 4 жыл бұрын
very neat project thanks for sharing
@jonrbryan
@jonrbryan 4 жыл бұрын
Thank you for watching.
@debart100
@debart100 4 жыл бұрын
Jon, I’ve been following this project almost since the start. I’ve looked at several others and have to say that it’s by far and away the most elegant and feature packed ELS I’ve seen to date. I love the way you’ve managed to use an Arduino, something very many people will understand, when other constructors are using high end controllers which require a masters in computing to operate. Whilst watching your progress I’ve had the hope that you would publish the Arduino code so others could have a stab at emulating your fine example (you have said you would on several occasions). It looks like I’m going to have a great deal of spare time on my hands in my little garage here in the UK and I’m sure many others are in the same boat. So a plea from the heart … would you be prepared to publish the code so I can fill my time with a really worthwhile project. I appreciate that you may still be finalising things especially with regard to the torque required on the lead screw, but I’d be happy to have things just the way they are on the strict understanding that it’s up to me to work out the gearing (so long as it can be changed in the code) and motor power required. If I can get it to do just 50% of what it’s capable of I’d be over the moon! Best regards and keep safe, Julian
@jonrbryan
@jonrbryan 4 жыл бұрын
Thank you, Julian. Go to groups.io and subscribe to the Logan Lathe Users Group. I've put up the schematic, Fusion 360 models and drawings for the mounting hardware and timing pulley modifications that I've done to adapt it to my Logan lathe, and shortly I will be putting up the Arduino and Nextion code. Search for "Electronic Leadscrew Offer". The new Nema 24 motor and CL57Y driver from Stepperonline that I switched over to made for a good torque boost. I guess I should put up at least a short video here to follow up on this one and demonstrate the difference. I recently added 0 to 10 British Association pitches, by the way. I hadn't known that they existed, but it only took a few minutes the way that I structured the code. I already had that 19tpi British Pipe pitch. What kind of lathe do you have? You may already know it, but groups.io has Myford and Emco forums as well. I made the same offer in the Enco group because I think the Compact 10 would be a perfect candidate for this, but didn't elicit much interest.
@debart100
@debart100 4 жыл бұрын
@@jonrbryan Jon, Many thanks for that. I’ve subscribed to the Logan users group and will down load all the relevant information. Have to say it takes a little while for an old decrepit brain to navigate the format when you've only just mastered regular forums! I have a rather antiquated Myford ML7 lathe (I also subscribed to the Myford group you mentioned) for which I’d started building mountings etc. for the stepper and encoder based on your earlier videos so I may need to start a fresh once I’ve digested the information on the Logan group. I use Fusion 360 to design various projects and to create .stl files for 3D printing, so I should be able to take your models and adapt them to the Myford with relative ease. It’ll need further investigation, but I’m guessing I may have to find alternatives to some of the components you describe due to lack of availability in the UK and/or cost of shipping from the US, but that's half the fun of a project like this. You mentioned adding BA threads to the Arduino code. We have a host of “historical” threads in the UK many of which I guess will already be covered by pitches from other thread types. But just a few examples (forgive me if you are already aware) … ME (Model Engineer) which uses 32 and 40 TPI to cover 1/8 to 1/2 inch BSB (British Standard Brass) which uses only 26 TPI (I think regardless of diameter) BSC (British Standard Cycle ) which uses 26, 32 and 40 TPI to cover 1/8 to 1 inch For info. BSC superseded CEI (Cycle Engineers Institute) which also included 62, 56, 44 and 30 TPI. We really know how to make life confusing over here! Thanks again, I’m off to spend the rest of the weekend on groups.io.
@jonrbryan
@jonrbryan 4 жыл бұрын
@@debart100 Thanks for all the information, Julian. I just added 62 to cover CEI. I think all the others were implemented already. I don't think you will have any trouble in the UK getting the motor and drive module from Stepperonline. I would recommend them. They came out with the 3.5Nm Nema 24 motor, I bought one, then it went away, but now it appears to be back. It's working quite well for me with their CL57Y drive. Their CL57T drive just isn't happy at low speeds even with tweaking, but the Y is smooth and quiet. I haven't looked at the Myford closely enough to have a good idea how you would mount the stepper and encoder. Offhand, it doesn't look like it would lend itself to the scheme that I used with the motor hanging from the banjo and squeezed in under the end of the bed. I think that you might have to drive from the outboard end in place of the handwheel. You might be able to adapt the timing pulley while keeping the handwheel, implement the Enable input on the driver, and still have the manual adjustment. Then you would have room to go up to a Nema 34 motor as well, and get the same or better torque with a smaller timing pulley. You would have to fabricate a guard.
@jonrbryan
@jonrbryan 4 жыл бұрын
Julian, I have been studying pictures and diagrams of the ML7 intently this afternoon, trying to figure out how you could connect an encoder to the spindle, and it looks like it will be a real challenge. How were you thinking you might do it? It looks like it might be possible to replace the spacer behind the tumbler cluster gear with a modified timing pulley and then squeeze the encoder in below the reverse lever like I did, but with the encoder body on the outside. Then the encoder bracket could still attach to the upper arm of the banjo in some fashion. Do you have the gearbox or change gear model?
@debart100
@debart100 4 жыл бұрын
@@jonrbryan I didn’t realise stepperonline held stocks in the UK and several other places world wide. This makes shipping for me only a few quid, so good choice of supplier. I note they also offer a 4Nm version of the NEMA 24 complete with the CL57Y driver at very little extra cost. It ships from Europe so for me has increased postage but I may give that a try. I’d rather err on the overkill side! My lathe doesn't have a gear box. Originally I was reckoning doing away with the change gears altogether and had come up with a reasonably neat replacement for the banjo on which mount the stepper motor. I could then make a bracket to hold the encoder with its shaft facing the spindle all within the confines of the change gear cover if I spaced it a little off the backplate. I think now I need an 8:1 ratio on the stepper drive I’ll probably remove the backplate for the change gear cover and make a new one mounting the stepper motor outside and under the main drive motor then again make some sort of bracketry to hold the encoder in the above orientation. A new change gear cover (not that it would cover any change gears!) would need to be fabricated and I’m thinking it could incorporate an enclosure for the Nexon, encoder control knob, direction switch and remote controls for the VFD. Those are my immediate thoughts, but as they say, the best laid plans of mice and men ... Although it’s a lot of work, it would mean the lathe could be returned to standard in the future if required. I think it may be best to try out the design in Fusion first, it’ll take me a while but I’d be happy to share the design if it’s of interest anyone.