Lathe Electronic Leadscrew Part 1: Proof of Concept

I've always wanted an electronic leadscrew (virtual gearbox) for my lathe, but I haven't been able to find anything I like. So I'm going to build my own. Today we'll look at an overview of the project and progress so far.
Firmware on GitHub:
github.com/clough42/electroni...
3D Models on Thingiverse:
www.thingiverse.com/thing:374...
Parts and tools used in this video:
*This site contains affiliate links for which I may be compensated
4-Channel logic level converter (eBay*): ebay.to/2CoENsF
8-Digit LED display module with buttons (eBay*): ebay.to/2RvCCxR
Omron 1024 p/r rotary encoder (eBay*): ebay.us/U93ceD
Rigol DP832 Triple-Output Power Supply (Amazon*): amzn.to/2FHtSfz

Пікірлер: 769

  • @9z4clb
    @9z4clb2 жыл бұрын

    If you're viewing this and even remotely considering it, my advice is "GO FOR IT". I watched the entire series, made changes suitable to my machine, ordered all the bits and pieces and the project came out beautifully, even on my old Grizzly G4000. James is a brilliant engineer and indeed, a very capable teacher! Thank you Sir!!

  • @Swarmfan21
    @Swarmfan215 жыл бұрын

    When the phrase "so I decided to go ahead and develop one of my own" occurs in a video I am almost always compelled to subscribe, great stuff!

  • @johnyoungquist6540
    @johnyoungquist65405 жыл бұрын

    A decade or more ago I built a inch/metric electronic gear box using an Animatics smart motor for my Hardinge toolroom lathe. With an external latch chip I was able to scan and read a set of thumb-wheel switches with the motor and also read the encoder with the motor. The Animatic control language was used. They a ratio encoder following function which is ideal for this application. About 40 lines of code and an hour of programming completed the job. I had no prior Smartmotor experience. Most of the code involved reading the switches. The gear box part was 2 or 3 lines. Numbers withing a practical range for inches were interpreted as inches outside of that were mm. You just set the thread pitch in the switches and it worked flawlessly. I used a large motor but still needed a 3:1 planetary to get enough torque. Don't underestimate the leadscrew torque. The issue is initial acceleration. You want instant sync and tight control. The Hardinge HLV carriage probably exceeds 100 lbs. Using an open loop (no encoder) stepper will be trouble. The only way to avoid closed loop control of the stepper is to over kill the motor size and torque. You want a high drive voltage too, 48V or more. You VASTLY over estimate the processor chip required by many orders of magnitude. I have been doing embedded processor design in assembly for 40 years. Any 8 bit processor will do it. The code should be a few dozen lines in assembly. You don't need or want floating point. You will get no benefit from it whatsoever. Your data source, the encoder is an integer device, your output device, the stepper is an integer device too. You could calculate to 198 digits if you want but the answer is still a low resolution integer. A good programmer should write the app in a page of code in a hour or less. Think carefully about encoder resolution and motor resolution. It could make the code easy or difficult. You want use the quadrature from the encoder to drive the motor bi-directionaly so you can backup the carriage in sync. Years ago I built and still use an electronic gear hobber which does essentially the same thing with and 8 bit MPU. I took the Smartmotor off the lathe to use for something else and gave the lathe to an employee. I bought a new HLV with the inch/metric gear box so I didn't need the electronic box. The motor is on another device we use almost every day. Smart motors are convenient but expensive. I enjoy your videos. Best of luck. John Youngquist

  • @blackmanops3749

    @blackmanops3749

    5 жыл бұрын

    I thought I was the only one left still loving assembly code!! I agree about using integer math - even double precision integer is preferable to fp if you need the accuracy. I think he did make a great choice of platform though. It is a real motor control platform with lots of support that can be leveraged over a broad application area (I've been looking at it for an EV motor control drive board). At $30 for the hardware, you can afford to "throw out" a lot of functionality, but it also provides a path for growth for more sophisticated control projects. Since software is the real development bottleneck, having a long-term, stable hardware platform like this makes a lot of sense - to me anyway.

  • @johnyoungquist6540

    @johnyoungquist6540

    5 жыл бұрын

    @@blackmanops3749 The TI chip is a fine motor control and is widely used as such. A $30 demo board is certainly a magnificent value among countless similar devices available to the hobbyist. It might have larger startup inertia compared to hobby oriented boards. If that what you want to play with - have at it! But there is not much that can be done with with an open loop stepper. The application is pulses in pulses out. Most of what the TI chip is good at goes to waste. Home building a closed loop stepper or a closed loop servo is not worth the time when you can buy a Smart Motor on ebay for a few hundred bucks. It has an encoder ratio follower function that implements this lead screw drive system in a couple of lines of code. Once you have the encoder and motor mounted you can cut your first thread in 20 minutes.

  • @blackmanops3749

    @blackmanops3749

    5 жыл бұрын

    @@johnyoungquist6540 I didn't appreciate what the SmartMotor was. Thanks for sharing. And my understanding (or assumption) was that he was going to program a closed loop PI(D) algorithm.

  • @bpark10001

    @bpark10001

    5 жыл бұрын

    Amen! I did this type of stuff with 1MHz 6502 processors. I used it to control a weaving machine where the spindle looping the thread needed "gearing" to the pulley drawing the thread through, setting the weave pitch. I had a loop running at 20K/sec both driving the weave and pulling motors. Loop was sufficiently fast that it was guaranteed never to be more then 1 step in one pass, so there was no need for a "present" and "desired" position. The calculation simply calculated the proper stepper drive (directly in I and Q, there were no motor controllers). Ratio was set in what I call "limited floating point" (a shift term and a mantissa), written in a few lines of assembly with a lookup table for the "barrel shifts". With those processors now running at 6MHz, this is easy. The secret to fast calculations is to use look-up tables. Decoding an optical encoder is done the same way, reading its state so fast that you are guaranteed to never change more than 1 step in the quadrature sequence between reads. For the 4096 PPR and 2000RPM, rate is 8192000/60 = 136534/second. This could be easily done on Arduino IF you write in assembly and blow off the baggage. The trouble with doing this with peripherals is you lose the real-time action, which you need to keep the lead screw in sync. While I think you will need more then "a few dozen lines of assembly code", not all that much more than that will be needed. (This is one of those tasks which MUST be written in "a few" lines of code in order to be fast enough!) I also have another system that drives 2 small steppers rotating diffraction gratings up to 20,000 RPM. A laser beam passes through both, drawing "Spirograph-like" patterns. I microstep the 60 steps/turn motors in a loop 20k/sec. I also must control and limit acceleration to prevent losing sync. This is done on 6808 running at 8MHz.

  • @EDesigns_FL

    @EDesigns_FL

    5 жыл бұрын

    Floating point maybe a better solution to maintain sufficient precision. While integer values could be enlarge to mitigate for rounding division results and ratios to integers, it will introduce error which will be cumulative. I completely agree with your suggestion to use a servo in lieu of a stepper.

  • @sansdecorum4600
    @sansdecorum46005 жыл бұрын

    Excellent breakdown of the how and why. Looking forward to the rest of the project.

  • @secondwindmusicproductions
    @secondwindmusicproductions5 жыл бұрын

    Thank you for sharing this. I have wanted to do exactly this for a long time but knew it was over my head to do. Please keep us informed as you progress.

  • @ssthirdgen
    @ssthirdgen5 жыл бұрын

    I have been thinking about this for awhile for an old South Bend C lathe and this is SO helpful. Thank you!!!!

  • @thomasutley
    @thomasutley5 жыл бұрын

    Excellent presentation of a complicated subject. Really looking forward to seeing this come to life!

  • @TAWPTool
    @TAWPTool5 жыл бұрын

    Stumbled upon your channel and love it! Great HSM topics, clear audio, good lighting, and multiple shots! What's not to like? Subscribed. Thanks!

  • @SanthoshRamaraj
    @SanthoshRamaraj4 жыл бұрын

    Impressed by the level of details and love the way you narrate the stuff. Lot to learn from you. Thanks for all your videos!

  • @karlfimm
    @karlfimm5 жыл бұрын

    Excellent! I've been putting off my project to do the same to my old Atlas lathe for ages so this is just what I need.

  • @anthonycalia1317
    @anthonycalia13175 жыл бұрын

    Wonderful job explaining the process from start to finish. You have that gift.

  • @paulpeterson7853
    @paulpeterson78533 жыл бұрын

    This looks like a fascinating project! I'm seeing it late, but it looks like something I'll do. Thank you.

  • @jasonm2477
    @jasonm24775 жыл бұрын

    I really like your presentation style so easy to follow without being completely devoid of useful information. great video thanks for making it!

  • @WillemAartVanDorpen
    @WillemAartVanDorpen5 жыл бұрын

    Just stumbled upon your channel. 5 minutes into the video and already very impressed by how clear and calm you explain things. Nice work!

  • @dmock4224
    @dmock4224 Жыл бұрын

    Thank you for making this available. I've added it to my Harbor Freight 8 X 12 lathe. Totally transformed the machine.

  • @johnw3915
    @johnw39155 жыл бұрын

    Great work and thanks for sharing. I really like your idea of through hole boards for kit development. The video is fun and informative.

  • @BernhardHofmann
    @BernhardHofmann5 жыл бұрын

    I watched this on my TV this morning. I'm back to comment now. Everything was a delight for me; electronics, coding, metal lathe, well lit crystal clear video, excellent presentation, highly knowledgeable... It's no surprise I subscribed before the video even finished. Can't wait to see more details and progress on this amazing project.

  • @gsmeyersaz
    @gsmeyersaz5 жыл бұрын

    This should be a good series. Looking forward to it.

  • @bobbysenterprises3220
    @bobbysenterprises32204 жыл бұрын

    Great vid. Thanks for the time you have put into sharing this. A friend of mine directed me to watch this as he is looking for this solution for his home shop. I'll be watching the other videos you have done on it.

  • @joell439
    @joell4395 жыл бұрын

    Thankfully KZread popped this up on my feed. Super nice work and excellent description and presentation. I have so much to learn, so I immediately subscribed and look forward to exploring all you have uploaded. Thank you for taking the time to record and share what’s happening in your shop. All the best..... Joel.

  • @MichaelLloyd
    @MichaelLloyd4 жыл бұрын

    1.25 years later and you've come a long way with this. Very well done!

  • @bobblaine1437
    @bobblaine14375 жыл бұрын

    Great video! You do a great job explaining what you are doing and how you are doing it.

  • @anonymity66
    @anonymity665 жыл бұрын

    excellent explanation and a well put together video. Its nice to see the ti micro controllers being used in the diy space. I just purchased the launchpad for the Tiva C series chips and i couldn't be happier.

  • @KBLIZZ333
    @KBLIZZ3332 жыл бұрын

    Can't believe this series of videos is 2 years old and I've only just discovered your channel. So glad I did, even if I am late to the party.

  • @rzeppin
    @rzeppin5 жыл бұрын

    This is FANTASTIC!!! I am following this closely, as I would love to implement your design on my 1965 Logan 14x40. Great idea, great presentation!!

  • @trailranger6602
    @trailranger6602 Жыл бұрын

    I didn't even know I needed an ELS. I came across this series in the hunt for ideas for an idea I have for my mill. I've watched many in this series in random order, ordered parts, and now to start the series again, but all of them, and in order. This is all so impressive and you've gained a new subscriber. Thank you!

  • @john1945xxxxxx
    @john1945xxxxxx5 жыл бұрын

    Count me in for a kit. I have an old Atlas 10-inch lathe. I look forward to watching your progress. You are an excellent instructor. Thanks.

  • @kenwallace6493
    @kenwallace64935 жыл бұрын

    A true Renaissance man that speaks mechanical and electrical with ease. Now subscribed. Well done.

  • @EverettsWorkshop
    @EverettsWorkshop3 жыл бұрын

    From the start, this was a very cool idea. I appreciate the concise yet thorough explanations of why you made the engineering decisions you did, for example the discussion of chosen microcontroller for the system. That TI board sounds like a very cool piece of kit, not just for this application!

  • @hardr0ck68
    @hardr0ck684 жыл бұрын

    I am new to the machining hobby, and electronics is quickly becoming something that I feel I will need to tackle to complete some of my projects. My old South Bend's are all C models and upgrading them to A models is foolishly expensive that it was always out of my reach. I will be building two of these, and THANK YOU for covering everything from the most basic concept to the advanced. I can not say I understand everything once you are sharing, but I feel that I understand enough to give it a try! I have no words to explain how amazed I am with all of the work you are doing and willing to share with luddites like me.

  • @WatchmakerGreece
    @WatchmakerGreece3 жыл бұрын

    I watch the videos I order all the stuff, today I just finished the electronic leadscrew works great, it’s one of the best projects that you can do to your lathe with changing gears. Clough keeps make and improvements to the software . Also the lcd kit and control circuit that you have make is great. Thank you very much Clough.

  • @abywater
    @abywater5 жыл бұрын

    What an awesome board!! Never in my wildest dreams could I have imagined this back in the late 1970s when I was writing WD assembler on the Alpha Micro!

  • @RobertLopez66
    @RobertLopez665 жыл бұрын

    I’m in! I’ve been wanting to make a small cnc lathe for a while now. This sounds perfect for the job.

  • @robertqueberg4612
    @robertqueberg46123 жыл бұрын

    In a single word. WOW!! You are talking way over my head, but in a very easy to follow manner. On to the next videos. Thank you, for the great show, and how to.

  • @boxsterpontus
    @boxsterpontus4 жыл бұрын

    This video is pure gold. You deserve teacher of the year award.

  • @justindawson3634
    @justindawson36345 жыл бұрын

    This is an awesome project. I am looking forward to the next installment in this series!

  • @Clough42

    @Clough42

    5 жыл бұрын

    Thanks! So am I. :)

  • @chrisjeppesen2993
    @chrisjeppesen29935 жыл бұрын

    What a great project! I have that same grizzly lathe and hate changing those fiddly gears takes to much time. I'm going to follow this for sure with someone like you to follow i could probably make it work.

  • @thomasbaldwin5482
    @thomasbaldwin54825 жыл бұрын

    This is exactly what I've been looking for. I definitely would buy a thru-hole board.

  • @columjevens4612
    @columjevens46122 жыл бұрын

    Hi James just to say this project is fantastic , thanks for all the research.😊👍

  • @woodscreekworkshop9939
    @woodscreekworkshop99395 жыл бұрын

    I am excited to see this project. I can’t wait to see the finished result. Even gearbox lathes can benefit from this as their design and build are crude. I will watch your project with great interest! Thank you for sharing!

  • @Clough42

    @Clough42

    5 жыл бұрын

    Thanks!

  • @nonsquid
    @nonsquid5 жыл бұрын

    Outstanding.... this is something I have been looking for a long time. I have a CNC machine sitting in the garage for over 15 years that looses steps and counts. I look forward to what you do in the future.

  • @levvayner4509
    @levvayner45095 жыл бұрын

    Thank you for doing this video. The idea behind using an encoder and mcu to drive the gear ratios is awesome! I've been considering getting a similar Grisly combo and the constant changing of gears was holding me back. This is a great way to solve for that problem. I also agree with a few responses below that you are overestimating the processing power needed for driving a stepper motor using a standalone driver ic.

  • @tuckerbeauchamp8192
    @tuckerbeauchamp81922 жыл бұрын

    This channel is awesome, I just left software development to go and work for my families metal Stampings company. This is a perfect blend of everything I’m into

  • @zbradbell
    @zbradbell5 жыл бұрын

    I’m also interested in a kit. Have tried making one myself but you clearly are doing a better job

  • @richardhester6877
    @richardhester68775 жыл бұрын

    Looking forward to this. Back in college in the 60s, we tried to do something similar with the archaic electronics of the day, but we did away with the lead screw altogether, and replaced it with a cable system to eliminate backlash. It didn't work too well, but we had fun. Good luck.

  • @alexvonbosse5090
    @alexvonbosse50903 жыл бұрын

    Most interesting post. I'm looking forward to follow up posts. Thanks for sharing and keep up your great work!

  • @ben47g51
    @ben47g515 жыл бұрын

    I plan to add an electric drive for the lead screw on my SB 10K, mostly to cut down on gear train noise when feeding. Looks like a real interesting project! I hope you continue with it, especially with non-sm components. Thanks for your many interesting videos!

  • @makerdave42
    @makerdave425 жыл бұрын

    Been thinking of a similar idea to do gear hobbing on the mill. Use the electronic gearbox on an indexer to control work piece rotation while the spindle rotates the hob. I look forward to seeing more.

  • @jims408
    @jims4085 жыл бұрын

    Such a cool project -- thanks for sharing your expertise!

  • @MadHatter123456
    @MadHatter1234565 жыл бұрын

    AWESOME! I'm building my own lathe at the moment and I'll also need an ELS. Haven't gotten around to do the electronics yet, this will help me a lot. Thanks a freaking bunch!

  • @Tuxbotix
    @Tuxbotix5 жыл бұрын

    Excellent presentation and all the important bits covered well :) Especially explaining why the TI chip is suitable for this job! Not many people explain that bit ;)

  • @kaybax4623
    @kaybax46235 жыл бұрын

    I have no need for a control like this, but your ease of explanation has me considering purchasing a LaunchXL product and following along just to learn something new.

  • @ronniepirtlejr2606
    @ronniepirtlejr26065 жыл бұрын

    I can see a lot of people wanting to use this!

  • @1crazypj

    @1crazypj

    4 жыл бұрын

    My lathe is older and cheaper, no longer even made. Never had a set of change gears so I really need something like this

  • @Hellsong89

    @Hellsong89

    3 жыл бұрын

    @@1crazypj Long as you math the gear ratios producing said gears is real easy and rather cheap as well. Your lathe is made by humans, so it can reproduced by humans and we are talking about just gearing options and producing gears, for witch you can make plank in your lathe and then make the teeth on local shop or by hand if you have motivation. On my case i'm building my entirely DIY lathe since those cost arm and a leg around here in any reasonable size for hobbyist, that can work with large parts, so i need to make lead screw gearing from the ground up and this fits the bill pretty nicely.

  • @1crazypj

    @1crazypj

    3 жыл бұрын

    @@Hellsong89 I think you miss the point. Lathe is very basic (3 speed, all hand cranked) doesn't have provision for fitting gears, just has a screw to feed carriage and all surfaces are angled ('draw' for casting). It's probably a step up from a 'kit' lathe but not by much (no say on size or parts) This would be a much cheaper option than buying or making gears plus fabricating all the additional parts to mount them on machine (which is something I have thought about.) I was a motorcycle tech so could modify a motorcycle transmission to get 6 gears, clutch basket is removable from main gear so could also have a large reduction(4~5:1) At various times I have considered making a lathe but time and material is usually a problem. 'The Concrete Lathe' can be scaled but you would have problems moving even a 4ft version so need a permanent place for it

  • @UncleKennysPlace

    @UncleKennysPlace

    3 жыл бұрын

    @@Hellsong89 The cost of gears in the USA is prohibitive. The cost of this electronic system is not only cheaper, but will give you any thread, and any feed.

  • @UncleKennysPlace

    @UncleKennysPlace

    3 жыл бұрын

    @@Hellsong89 Making a full set of proper change gears for a lathe would be quite an undertaking for the average hobbyist! I'd say that 90% of those who tinker never make a single gear. I'm building this ELS, with some modifications (''cuz I want a second axis) for a lathe that is all manual, no drive to the leadscrew at all.

  • @peirossmallhomemachineshop5364
    @peirossmallhomemachineshop53643 жыл бұрын

    I'm late at watching this video. Outstanding project. As soon as I have some time, I 'll watch the whole series 😃

  • @AntiVaganza
    @AntiVaganza5 жыл бұрын

    Just found your channel because of this particular project and subscribed. I would buy a pre-made board in a heart beat. I have a mini lathe which is constantly being modded, but I think a lot of people with lathes which have finicky gear changing would be interested in a product like this. If you don't go ahead with any of it, it's great to see that the parts list and FW is available as I would not be opposed to making it out of your proto parts, either. No matter what, thanks so much for sharing all this:-)

  • @pramponi
    @pramponi5 жыл бұрын

    I'll be following. Look forward to the kickstarter campaign.

  • @bikelpl
    @bikelpl5 жыл бұрын

    Brilliant idea! Looking forward to see next video with working prototype!

  • @faustozecca4187
    @faustozecca41875 жыл бұрын

    Great work and a fine example of why this place (KZread) is so darned addictive. I have lost too many days being mesmerized by so many great people sharing such amazing work. I still need to find a way to draw the line, shut it down, and go to the shop and creating some magic of my own... then I catch a glimpse of your irresistible thumbnail and the next thing I know is that I am incrementally more learned and 27:43 older. JOHN YOUNGQUIST took me all the way back to a lecture hall in 1994 where the only thing keeping me awake was a monotone professor trying to drill through a 20 year old skull that everything CNC is (or was at the time) a game of integers, approximations, and code optimization. Draw an arbitrary straight line across a sheet of graph paper and then approximate it with the underlying squares and you find a very simple pattern emerge. Your motor steps become a function of the encoder pulse count scaled by your feed rate number (FRN). The "interpolator" was and still is the beating heart of all NC systems since MIT demonstrated the first 3-axis milling system in 1952 - decades ahead of microprocessors which we can't seem to live without anymore. Please please please heed the sage words of MR. Richard Wells. Suffering the abstraction of technology and sheer desire to make amazing things from these new and inexpensive resources, I find myself paying homage to the giants that paved the way for us all with whatever technologies their respective eras afforded them. Thanks so much for sharing brother!

  • @GlassImpressions
    @GlassImpressions5 жыл бұрын

    Super excited for this build! Just finished your grinding series

  • @IBWatchinUrVids
    @IBWatchinUrVids5 жыл бұрын

    Very cool, if I ever find some free time I'm definitely going to try this idea. You earned another subscriber.

  • @paterickcutts5601
    @paterickcutts56015 жыл бұрын

    Very col. I've been considering an electronic lead screw for my 7X10 mini lathe, so finding this is a godsend. Already I've learned lots of stuff from your very first video of this series, as well as from the comments of other viewers. I imagine there are lots of people like me who would be very interested in the board you mentioned, but only if it were through hole, not SMD. Last time I used SMD was when I took a HeathKit SMD copurse, and it definitely wasn't the easiest soldering project I've ever done, and I hold a 3M certification from a Navy soldering school (of course that school was over 30 years ago so I may have lost a few tricks by this time...) I also plan to use a step motor to add power cross feed to my mini lathe, as you may know most of those dinky little lathes don't have power cross feed, which really bugs me (and don't get me started about that miniscule through hole!).

  • @stevesloan6775
    @stevesloan67755 жыл бұрын

    Very professional production... brilliant project! 🇦🇺👊🏻🍀

  • @scottpugmire5449
    @scottpugmire54495 жыл бұрын

    Outstanding concept and presentation.

  • @steveodart6293
    @steveodart62935 жыл бұрын

    Awesome! A kit would be fantastic. I have a very old South Bend 504 (Precursor to the 9") and the gear train is a work of art, but a pain in the ass!

  • @ebenwaterman5858
    @ebenwaterman58585 жыл бұрын

    Infinitely variable gearbox. Wow! I don't need one right now, but I want to build one. Steppers are really good for low speed high torque applications like this. Good choice.

  • @willywgb
    @willywgb5 жыл бұрын

    I certainly would be interested in this project. I vote for through hole. Can't wait for the next video. Cheers Willy

  • @okflyer777
    @okflyer7775 жыл бұрын

    Heck YEAH! I’d love to CNC my Monarch 10EE. Nice work & great start to the project.

  • @martinvernon4571
    @martinvernon45715 жыл бұрын

    Hiya, I'm in the same place as you, looked around, not found what I wanted, until I found you. I'm with you on this completely, I have the 700x290 version of the Chinesium lathe, so a load more blasted gears to fart about with. I 'can' do SM but I'd prefer regular discrete comps (getting old, so eyesight is limiting my SM abilities). Many thanks for your efforts, I am with you totally and very much onboard. Cheers, Martin.

  • @Compasscard
    @Compasscard5 жыл бұрын

    I like this project, would be a very good addition to my small hobbymat lathe that lacks any form of gearbox except the changewheels. It could also go both ways, which would be a very nice addon. Certainly going to follow this project ! Thumbs up

  • @jimmccorison
    @jimmccorison3 жыл бұрын

    I wish this processor was around 5 years ago. I took over a project to build a replacement stabilizer controller for a 60' motor yacht. It had 4 fins which were hydraulically driven using solenoids for control. The initial developer used variable resistor position sensors and two Arduino boards. It was a complete mess and simply didn't work. I was locked into the hardware already in place so I had to get it working as it was. I mostly succeeded, but trying to do that kind of stuff with an Arduino was torture. Using the TI board would have been a dream. Looking forward to binge watching this series. Btw, Quinn sent me.

  • @johnkelly7264
    @johnkelly72645 жыл бұрын

    WOW! just the sort of device I was looking for. Count me in for purchase of any components / parts you will be producing for this system. Either through hole or SMD is fine for me... preference to SMD tho. Absolutely brilliant development methodology... this can't fail to work, and work brilliantly, sub'd here.

  • @usethenoodle
    @usethenoodle3 жыл бұрын

    I have the GO752G lathe and I am a beginner user. I found you via Blondihacks. This project is extremely exciting and I really thank you for developing it. What is really cool about your channel is that we have the same basic lathe. Awesome! I'm glad to see your ideas. Your teaching is top notch.

  • @rbrianlindahl5499
    @rbrianlindahl54993 жыл бұрын

    I'll definitely be building one. I'd thought of making one for my ancient Atlas TH-54, but I'd rather make chips than write software & design PCBs at this point. Will be binge-watching the rest of the series in the next hours/days. :) Thanks for another good one!

  • @HanstheTraffer
    @HanstheTraffer4 жыл бұрын

    I was directed here through a discussion on a mini lathe facebook site. Wow. It is really refreshing to see someone doing some pioneering practical application of this rather new tech on a hobby level. BRAVO. If you are wondering if there will be any interest I can do a prediction for you...YES. Not only are people going to want this in a kit form but I predict that the manufactures will be equipping new lathes and mills with this process. Thank You for sharing this.

  • @Clough42

    @Clough42

    4 жыл бұрын

    You're welcome. I've benefited immensely from the hobby community, and this is my chance to give something back.

  • @JimWhitaker
    @JimWhitaker Жыл бұрын

    I watched a much later episode and was motivated (by curiosity) to find this. I'm now hooked - shame about all those other things I need to do.

  • @janwise1869
    @janwise18695 жыл бұрын

    This is a great idea! The only thing that would keep me from doing a project like this might be not having a lath at present. The other concerns might be slop in the equipment, and line voltage variance. I will be following your progress on this wonderful project. Thanks Jan.

  • @machiningnut
    @machiningnut5 жыл бұрын

    Looking forward to seeing how this works! I would be a great addition to any home shop lathe providing the price point is good.

  • @Clough42

    @Clough42

    5 жыл бұрын

    Thanks!

  • @garyhiggins1641
    @garyhiggins16415 жыл бұрын

    I really enjoyed your video and your idea for a digitally controlled feed screw is outstanding. Your videography is excellent! I would like to make a few comments on your engineering assumptions. First let me say that I am not a machinist but I do enjoy many of the machinist KZread channels. My profession is a Computer Software Engineer developing real-time software for military Electronic Warfare systems. In this domain processing at nanosecond times is a luxury; microseconds are an eternity. However, my favorite quote when I received specifications from a systems engineer was "OK, you measured it with a micrometer, then it will be marked with a grease pencil, and finally cut with an ax." In other words we usually over engineer systems when something much less rigorous will get the job done in much less time and expense. Worrying about processing 4096 encoder samples/revolution attached to the spindle running at 2000 RPM is an example of over engineering. This requires your processor handle a new pulse every 7.3 microseconds. A three inch diameter part turning at 2000 RPM will move 3.14 tenths in 7.3 microseconds (not an insignificant number). However, it seems you have missed the fundamental system requirement for how fast the spindle speed must be and how fast the feed screw must move the carriage. Let's take an example of cutting a 10 TPI thread on a piece of stock. That means the spindle has to make 10 revolutions while the screw feed moves the carriage one inch. For a manual operation you probably don't want the feed to move faster than 2-3 seconds/inch. That equates to a spindle speed of 200 RPM, not 2000. And if your feed screw is 10 TPI it also must rotate at 200 RPM. The cutter speed of a 3 inch part running at 200 RPM is 157 SFM which still may be too fast for your material. All of these numbers vary slightly with your thread pitch, material and desired speed but not by a factor of 10. If your spindle speed is 200 RPM the part will only move 31 millionths in 7.3 microseconds with a cutter speed of 157 SFM. So if your spindle speed has to be in the region of 200 RPM you now have 73 microseconds to process all of the pulses coming from the encoder. In a purely digital system controlled only by digital commands, if we are machining a 10 TPI thread on 3 inch material we would first move the material over the cutter 31 millionths of an inch in the Y direction (spindle rotation), then we would move it 24 millionths of an inch in the X direction (screw feed). This would result in a staggered (or pixelated) tool path that for all practical purposes would not be visible and would not affect the functionality (just like your 3D printer). However, we are not dealing with a digital system here, but a mechanical system with lots of mass and inertia. This means that once we get things started on a path they are not going to deviate from that path very much on their own if we do not provide a new input. We now have an analog system with the X and Y components moving on their own. So the question is how often do we need to provide a new digital "push" to the system to keep it moving at the correct rate. This will only be a function of the torque required to drive the feed screw, assuming the spindle motor has more than enough torque and inertia. And this torque will vary with the feed rate and depth of cut. The required torque can only be derived empirically through testing. Even though I cannot perform further analysis I would expect the refresh rate for the step motor to be in the millisecond range, not microseconds. One other comment: I do not feel there is any need for the feedback loop in your concept drawing. First, as far as I can tell the current position register for the motor only reflects the previous count from the encoder. It does not reflect the actual position of the stepper motor (unless you can read the position from the motor). Insufficient torque from the stepper motor can cause its position to lag behind the desired encoder position but if you have no way of knowing this and if there is no way of increasing the torque of motor the feedback loop is irrelevant (torque control may be your biggest challenge). Second, you are not going to be randomly changing the direction of the feed while you are turning. You first have to stop the feed and then reverse the feed to reset the tool holder to the desired position for the next pass (no feedback loop required). But if you stop and reverse the feed the spindle position of the thread and the tip of the tool are no longer correlated. You would have to keep track of the pulses from the encoder and then start the feed screw again in the forward direction when the new encoder count is modulo 4096, or some number just before so you have time for the stepper motor to get up to speed. You could just push a button on your keypad and have the software automatically start the feed screw when it is in synch with the spindle. I think this might work and your software could handle this task easily. I am not familiar with the Husky lathe but if it has a split nut then there is no reason to ever change the direction of the feed screw (no feedback loop required). However, your software would still have to calculate the time to re-engage the split nut so your next pass of the thread will start at the correct time. This would require some pretty user friendly display software to get you ready to engage the split nut and signal the operator at the precise time (signal to engage some milliseconds before to account for human response time) . Thanks for the opportunity to express my thoughts. I have subscribed and I am looking forward to your successful completion of this project. Keep up the good work!

  • @dizzolve
    @dizzolve5 жыл бұрын

    So glad I found your channel.

  • @opendstudio7141
    @opendstudio71415 жыл бұрын

    Looking forward to this prototype development series. It will be interesting to see how travel limits and error handling will be dealt with.

  • @AttilaAsztalos
    @AttilaAsztalos5 жыл бұрын

    It's such a rare and exquisite pleasure to watch someone who is not only aware that the Raspberry Pi is absolutely not the default answer to life the universe and everything, but also knows exactly why. Very nicely done! Although I have to admit (don't laugh!) that my desktop mini mill is run by GRBL on an Arduino Uno. Well, barely. But quite adequately nonetheless... ;)

  • @toddspeck9415
    @toddspeck94153 жыл бұрын

    Such an interesting video. Thanks for sharing your Knowledge.

  • @keithbaker8212
    @keithbaker82125 ай бұрын

    Thank you for working this out I appreciate it and I want to make mine the same way

  • @Litzwire
    @Litzwire5 жыл бұрын

    Hi, Ill follow this with great interest with the aim of building one too. There is a group called the ELS group on Yahoo which uses a design which is now pretty dated but none the less is very successful and even incorporates electronic half nut control so that screw cutting can be automated. Somehow that older design manages with measuring one pulse per rev I believe. Your approach, using currently available technology and precision looks very promising. Good luck with developing this, I for one have been just itching to get rid of my change gears and plug in an ELS. I await developments in great anticipation.

  • @mouritsen2
    @mouritsen25 жыл бұрын

    I would definitely like a through hole kit. Been wanting to do this to my old Atlas for years. Subscribed. Thanks!

  • @ppower4104
    @ppower41045 жыл бұрын

    I recently put a simple DC gearmotor on my 100-yr old Dalton lathe. It works great, but it’s open loop. I love your idea(s). Past experience warns that backlash and inertia can really mess things up. Keep both in mind as you go through the design process and you’ll succeed. I would certainly pay multiple hundreds dollars for your product, should you release it. Accolades to a brilliant guy who can do electro-mechanics!

  • @azyfloof
    @azyfloof5 жыл бұрын

    Oh fascinating! I'm playing with rotary encoders in the Arduino environment at the moment, which is likely why this popped up in Recommended :) Good call on KZread's part! Subbed :D

  • @deemstyle
    @deemstyle5 жыл бұрын

    Wow! This will be a great series. Subscribed!

  • @jlinkels
    @jlinkels5 жыл бұрын

    Among "Tesla generator" crap, blasting background music and double-speed recordings this video is a delight. Besides it is an excellent explanation and what you say makes a lot of sense. Thanks!

  • @paulades9857
    @paulades98575 жыл бұрын

    Count me in. I've got an Atlas 6" that I changed gears on 40 years ago during my first week of ownership. Never thereafter. I've left the feed at the same speed (the slowest it will go) and never single-point threads.

  • @VladekR
    @VladekR4 жыл бұрын

    Sweet talk about TI F280049C. Brings 30 old memories when I worked on a Kalman filter on TI2100 👍👍👍

  • @UtkuDemir
    @UtkuDemir4 жыл бұрын

    Great video for a great project. Now I'll watch the rest.

  • @georgestone1282
    @georgestone12825 жыл бұрын

    Great job making a very well edited video. I cut many left hand acme threads , some are double lead. Would love to dedicate a machine for this. Enjoyed very much😉

  • @EdAgers110
    @EdAgers1105 жыл бұрын

    You definitely have MY attention! Very interested in following this project! New subscriber

  • @freqcy
    @freqcy Жыл бұрын

    Fantastic, Thanks for this great project

  • @kirkguillot2058
    @kirkguillot20582 жыл бұрын

    Amazing! i was planning to do something like this on my old Southbend. Voila! The R&D already done for me. Total thumbs up (and a new Sub to boot)! Thank you very much!

  • @TimothyGack
    @TimothyGack5 жыл бұрын

    Just found your channel. What a great project. Looking forward to seeing your implementation.

  • @garypeek6392
    @garypeek63922 жыл бұрын

    This is Awesome. I have been looking for this type of setup to drive my milling machine dividing head to cut course helical threads. Keen to see the development as I have no knowledge of the electronics.

  • @wolvenar
    @wolvenar5 жыл бұрын

    I have done this very thing. I also have an encoder on the lead screw to be positive that IF there is any steps skipped, it knows and makes up for it.

  • @siscasebastian5590
    @siscasebastian55905 жыл бұрын

    Looking forwards for the next episode. I subscribed to be sure I won't miss it. Great explanations you should be a teacher for mechatronics.