ELS Software Updates and Troubleshooting Tips [Electronic Leadscrew Part 20]

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ต.ค. 2020
  • I just released a new version of the Electronic Leadscrew firmware that fixes some issues and adds new features requested by users.
    GitHub project: github.com/clough42/electroni...
    *This site contains affiliate links for which I may be compensated
    Electronic Leadscrew Interface PC Board (eBay*): ebay.to/2WuLa7m
    Electronic Leadscrew Control Panel Kit (eBay*): ebay.to/31VMbKw
    Tools and stuff used in this video:
    *This site contains affiliate links for which I may be compensated
    EEVBLOG Brymen BM235 Multimeter (Amazon*): amzn.to/2YKFSEk
    Starrett Precision Screwdriver Set (Amazon*): amzn.to/35taFJc

ความคิดเห็น • 190

  • @azenginerd9498
    @azenginerd9498 3 ปีที่แล้ว +20

    Because of your ELS series, I felt confident tackling my own PCB project. Boards are on order from the fab now! Circuit complexity on mine is at kindergarten level but it's a big step for a mechanical guy! Thanks for the push.

  • @Clough42
    @Clough42  3 ปีที่แล้ว +15

    Wow! Response has been amazing. The kits were out of stock there for about three hours, but they're back, and my team is working on more.

    • @flameboy7265
      @flameboy7265 3 ปีที่แล้ว +2

      Are there any plans to supply plug and play kits at any point for those of us too thick to do it ourselves? I, like many others, can do the mechanical stuff but the electronic wizardry conjures a goldfish spell on me that renders me useless at anything beyond wiring a plug or maybe a motor at a push.

  • @MrPatdeeee
    @MrPatdeeee 3 ปีที่แล้ว +8

    Well done Kind Sir. You could easily be the "standard" when it comes to teaching. More succinctly: "A true Cut Above". Thank you James. If ALL children in schools had teachers like you, there are no words to describe how much better this nation would be. Again thanks.
    May Jesus continue to give you "gifts" from heaven.

  • @machinemaker2248
    @machinemaker2248 3 ปีที่แล้ว +5

    I would love to see a video describing the code that you wrote for the Launchpad -- organization, how each part works, and how it fits together. Great job on the whole project. A huge success!

  • @EverettsWorkshop
    @EverettsWorkshop 2 ปีที่แล้ว

    Slowing the speed makes total sense for reliability's sake as you explained it, as we would not even notice the difference. Some of us are even slower so it would make less of a difference, lol.

  • @weaves7
    @weaves7 3 ปีที่แล้ว +15

    Your care and attention to detail is why I already bought your combo kit, even though I am not even close to installing it.

    • @markloving11
      @markloving11 3 ปีที่แล้ว

      Same, mine just arrived, but it’ll be a while yet till it’s up and running.

    • @car9167
      @car9167 3 ปีที่แล้ว

      Same here .I have 3-4 other projects in the pipeline before that

    • @LordPhobos6502
      @LordPhobos6502 3 ปีที่แล้ว

      Ditto here 👍❤

  • @bacca-jt1th
    @bacca-jt1th 3 ปีที่แล้ว +4

    Hi James. As you know of the problems I have been having through my own lack of some skills. I find this video will be of great help to get me up and running. Thanks for your consideration to your viewers and customers alike. Regards Noel ( Australia )

  • @Kizmox
    @Kizmox 3 ปีที่แล้ว +1

    This turned out so much better than i have hoped! Really good and reasonably priced product you have here.

  • @stephenjohnson6841
    @stephenjohnson6841 9 หลายเดือนก่อน

    Such a very well done project/video! Thanks again James.

  • @bobuk5722
    @bobuk5722 3 ปีที่แล้ว +1

    Hi James, last one, and it's for you. I found those duPont connectors an absolute pain to crimp together. I understand why you used them but frankly I'd happily have paid more for the kit to have matching male and female screw ones. The dUPont crimps need the specialist shape crimp jaws that you found. The 'proper' ratchet crimp pliers are outstandingly expensive - at least over here. As mentioned in an earlier post I dismantled a set of IWISS pliers, split the top jaws into their two parallel halves and ground out the 'fold over' lip on the AWG 28 to 24 insulation crimping section.The result was a close approximation to the OEM pliers at a fraction of the cost. Without the mod I was having great difficulty in getting the crimped section of the insulation - and it was the correct US spec AWG wire - to enter the housing. Cheers. BobUK.

  • @CraftedChannel
    @CraftedChannel 3 ปีที่แล้ว

    I work as a technician in another field and I appreciate all the explanations and diagnostics you went through there.

  • @misterfixit1952
    @misterfixit1952 3 ปีที่แล้ว

    Thanks, James. Always a good watch with important and concise information.

  • @44mod
    @44mod 3 ปีที่แล้ว

    Thank you James the upgrades to my Lathe from this project have helped me in many different ways. The satisfaction of changing to the VFD and being able to change the speed of my lathe on the fly are so satisfying. James you showed us how to do all these things but we as viewers had to take the initiative to make the changes. To make these changes i had to have trust in myself to be able to do the changes. I bought a brand new lathe just like yours. Then when I got the lathe set it up tore it apart and started to do the changes. I would have not done that if I did not respect and trust the information i was using to do these changes. James, I can not praise you and Clough42 channel enough. Again thank you and God Bless you.

  • @routercnc9517
    @routercnc9517 3 ปีที่แล้ว +2

    Thanks for the time you are putting into this. It’s on my list of upgrades as changing the change gears is a pain. Just got to clear a couple of projects first . . . !
    Also I would recommend that people use ferrules to terminate the cables before putting them into those green connectors. Stops stray strands shorting, is more secure and looks nicer ! Good work !

  • @Clarksburgaircom
    @Clarksburgaircom 3 ปีที่แล้ว

    You are a genius!
    I don’t have a lathe yet, I did purchase the kit on eBay to support the Chanel I did put it together and work great
    Thank you to share all that you have to offer
    Yuri

  • @WatchmakerGreece
    @WatchmakerGreece 3 ปีที่แล้ว

    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.

  • @henmich
    @henmich 3 ปีที่แล้ว

    Great to see them for sale.. It made me happy to buy a set, and help support the channel...

  • @g.tucker8682
    @g.tucker8682 2 ปีที่แล้ว +1

    Those continuity charts sure came in handy for me! Thanks

  • @TheTruth-fs2rm
    @TheTruth-fs2rm 3 ปีที่แล้ว

    Using this kit for an electronic universal conversion kit for my semi-universal dividing head on the mill. Pretty cool design and it has so many uses for more than just the intended ELS.

  • @georgehilliard2109
    @georgehilliard2109 3 ปีที่แล้ว

    Great video as always. I first built my els before your boards were available using breadboard and installed on my lathe from the 1870s worked great. I got one of first 100 boards and had that upgrade done in a day or so worked great but had to use magnifying glasses to solder. Hope to have this software upgrade done soon but works so well it may be a while. Good job as always and thank you

  • @bobuk5722
    @bobuk5722 3 ปีที่แล้ว

    Hi James, Thanks for all these enhancements. The feed/thread gearing is much appreciated for my Precision Mathews lookalike lathe. I made iup my own user i/f to processor cable as I wanted something robust and flexible. Twisted the power leads but the signal ones were just single individual wires. No shielding. I've not had any problems other than a wonky DuPont crimp joint. I modified a set of ratchet crimpers to crimp the DuPont connectors correctly - the wings that grip the insulation have to wrap round it, not dig in, otherwise they can foul on the plastic housing. I took the jaws apart and ground the fold over lip off the half that deal with the insulation wings - Dremel and diamond rotary bit. Worked well. Still working as a bread board layout - enclosure install is coming this winter. It's well protected in the meantime. I used a relay to switch the ELS power on when the lathe is switched on. Really, really useful bit of kit - 'finish' is something I now get on my work! Cheers. BobUK. (edited to include very bad pun!).

  • @Arick_Lee
    @Arick_Lee 5 หลายเดือนก่อน

    I started tracking the build of your electronic lead screw quite by accident. In my work life I've spend a lot of hours on a ...dynamic continuous motion lead/ball screw "checker", screw mapper, to verify tolerances of rolled screws. You caught my attention as you defined the power capabilities of the Launch Pad, at one point you were referring to the systems control loop & I/O latencies, "Math Co-processor(never thought I'd see these things again), and just..all the amazing things built into this board...and the price..I don't even want to know how they make them that cheap.
    Inadvertantly you provided to me both an economical and (probably🤣) "accessible enough to me" system that is not a toy and is (if you are smarter enough than me) up to task of ..Ultra Low-Latency control loops that might even need a little math. With the ground work I've gleened from watching your videos about something I have no intensions of building. I've learned a great number of very useful bits filling some gaps that I needed to close to solve a puzzle. I have to figure there are communities with smarter enough than me people sharing thier launch pad project to get the pieces I just don't have the bandwidth to learn to do myself.
    Anywho.. 𝒯𝒽𝒶𝓃𝓀 𝒴o𝓊!
    (PS, I Think you'd make an excellent guide to learning how to make good and interesting use of those launchpads/programming controls or machines with them. Tips and tricks Maybe?🤷‍♂ 😝

  • @p3astar378
    @p3astar378 3 ปีที่แล้ว +2

    great reliability improvements - 2 thumbs up from someone who designs industrial control electronics :)

  • @stephanc7192
    @stephanc7192 3 ปีที่แล้ว

    Amazing attention to detail.
    Great project!

  • @frankwhite6111
    @frankwhite6111 3 ปีที่แล้ว

    Great project! Thank you for the amount of work you put into not only the project but the videos also. I am adapting this to a Smithy Midas 1220 this winter and have the electronics up and running first try. Well done:-)

    • @MRSupafly2u
      @MRSupafly2u 5 หลายเดือนก่อน

      How did the install go with your Smithy? I'm embarking on that journey now and believe I have it all worked out - still getting some components together and have opportunity to make some changes to the plans.... Thanks!

  • @NelioSmix
    @NelioSmix 3 ปีที่แล้ว

    Great videos James! A couple suggestions, for the communication if you use CRC only error free messages are accepted. For the RPM smoothing I suggest a moving/rolling average, it is much better than standard average, it doesn't create any delay and not that hard to implement. Keep up the excellent work!

  • @mattsyme87
    @mattsyme87 3 ปีที่แล้ว

    Awesome work mate. I still have mine setup on the bench from testing and haven't managed to put it on the lathe yet but I am really looking forward to it.

  • @1mon4730
    @1mon4730 3 ปีที่แล้ว

    Just finished the update. This is great! Thanks James.

  • @apollorobb
    @apollorobb 3 ปีที่แล้ว

    Love the Jamescad lol. Ive almost got the touch screen working on mine gonna load the new Firmware in tonight and give it a whirl . Thanks for the update

  • @bobuk5722
    @bobuk5722 3 ปีที่แล้ว +1

    Hi James, thanks for the connector explanation. I struggled with these, eventually deciding that tightening clockwise must be right. I guess thet come pre-tightened to avoid losing the screws in transit. The confirmation is appreciated. BobUK.

  • @orangetruckman
    @orangetruckman 3 ปีที่แล้ว

    Subscribed! This is a wonderful thing once I get my new to me lathe cleaned and going, I’ll be ordering! Heck, maybe you’ll have a complete kit that’ll be for purchase by then 😬

  • @LordPhobos6502
    @LordPhobos6502 3 ปีที่แล้ว +2

    I'm working on an unrelated project which will require long cable runs with serial communication.
    Listening to you going over your error detection is both extremely helpful and inspiring. Thank you so much! 🙂

    • @boldford
      @boldford 3 ปีที่แล้ว

      If you have really long cable runs you may wish to consider a balanced signalling configuration such as RS485/RS422. Such signalling schemes are ideally suited to twisted pair cables such as CAT5 and CAT6.

    • @vincentguttmann2231
      @vincentguttmann2231 3 ปีที่แล้ว

      @@boldford A CAN bus is also very robust.

  • @jutny
    @jutny ปีที่แล้ว

    This is the best project I've ever followed on youtube. Absolutely fantastic work, and I wonder if now in 2022 these are available... I just picked up a 1957 Logan 2557-V and I would love to be able to do metric threading easily.

  • @chiparooo
    @chiparooo 3 ปีที่แล้ว +2

    Awesome documentation and improvements! It’s too bad this kind of care and support isn’t put into everyday items.

  • @Werz99
    @Werz99 3 ปีที่แล้ว

    Thanks for the upgrade...this will solve a lot of issues I have. Building in a noise filter in the power line seems to make that much better. But the locking and other safety features makes the system more reliable.
    One more suggestion: Please add a configuration option to choose if the default startup values of the system should be metric or imperial . Would be more convinient as making these changes in the code by hand for us metric austrians:-)
    This whole project is great and I nearly almost forgot the pain I always had with the change gears on my lathe...thanks again!

  • @user-fz9yy3ki7j
    @user-fz9yy3ki7j 7 หลายเดือนก่อน

    Excellent as always

  • @LabRatJason
    @LabRatJason 3 ปีที่แล้ว

    This was the feature I was waiting for before buying (I ordered mine and got it 2 weeks ago!). My lathe doesn't have half nuts, and the leadscrew is connected to a handle, so I can engage the gears on one end, or I can run the handle on the other end (the right hand side) and that's how the carriage moves manually. I needed the power button to disable it when I'm the one driving. ;)

  • @michaelmiller3359
    @michaelmiller3359 3 ปีที่แล้ว

    Good job you tenacity is paying off

  • @AdrianMooreRGBracer
    @AdrianMooreRGBracer 3 ปีที่แล้ว +1

    Hi James, your content is great, keep up with the instructional detail, you're a great teacher. I too use you tube as a learning environment and completely applaud your "pay the good back" attitude. I'm a few years behind you in my skills development, but oh so inspired by you, Quinn at Blondihacks, This Old Tony and many others. I'm warming up a long dormant project as a direct result of your ELS series, and I'l be ordering a kit for my lathe

  • @machinemaker2248
    @machinemaker2248 3 ปีที่แล้ว

    EEVBlog! I love that Aussie bloke!

  • @bobuk5722
    @bobuk5722 3 ปีที่แล้ว

    Hi Folks. Solution to problem I made! I have a dual carriage feed. Normal lead screw and a separate feed shaft. I found that the ELS suddenly could not drive the feed shaft but could still move the lead screw although it's ability to do that decreased quite quickly. Convinced I had tried to operate the powered cross table drive with the table locked I set about rudimentary electrical fault finding. Everything checked out ok. PSU was working correctly. No flashing red led on the driver, no alarm output on its electrical interface, I could see the resistance of the motor windings, I had the same voltage across each winding. Turned (!) out the drive pulley on my hybrid servo stepper motor was slipping! Next time I'll try starting with the obvious. Probably had locked the cross table and fortunately I had accidentally built in a slipping clutch ..... Very relieved BobUK.

  • @rissole50
    @rissole50 2 ปีที่แล้ว

    your explainations and attention to detail are a credit to you. i am awaiting bits to arrive and looking forward to the challenge? ( a mostly mechanical guy)

  • @joeldriver381
    @joeldriver381 3 ปีที่แล้ว +2

    Great work! I wish I needed one of these. 🤪

    • @somebodyelse6673
      @somebodyelse6673 3 ปีที่แล้ว

      You do, you just don't know it yet :)

  • @NabilTouchie
    @NabilTouchie 3 ปีที่แล้ว +1

    beautiful user support

  • @mickdanks6836
    @mickdanks6836 3 ปีที่แล้ว +1

    Hi James, thanks for the update and dedication to this project. From concept to implementation and continuous improvement it's been great motivation. My own ELS is working fine (the update is the icing on the cake) and I wonder if having an LV enclosure (display + MCU) and separate HV enclosure (PSU + Driver), as I have done, helps with noise issues.
    Thanks again for a detailed, thorough and easy to follow project.

    • @dieSpinnt
      @dieSpinnt ปีที่แล้ว

      It is unbelievable to use a 3.3V (botched to 5V, without appropriate transceivers) midrange speed serial connection for important parts of an application (I can't imagine whats more important than the UI). That TM1638 chip isn't suitable for such an application in an environment where motors are running, VFDs are working, etc. We use the correct technology like current based transceivers for serial communication lines ... or just don't split UI and MCU. Shifting the responsibility to a SHIELDED CABLE (like in the video) is really the icing on the cake that made me speechless for a minute. If we do the math, that doesn't influence the signal integrity to that level like a WRONG DESIGN CHOICE. What you have, Mick is: Pure Luck that it works!:) Sporadic failures and feedback? Strange behavior? I don't want to paint the devil on the wall, but it needs only ONE incident, to loose a finger ... one that never happened before and shouldn't never happen.
      Sorry for the rant, workplace-safety is no joke! Controlling and Power electronics are always to be separated. Physical and PSU wise. Anything other (especially with rotating machine tools that can kill you) isn't even an option. That home-brewn electronics stuff is a horror from the perspective of EMC(Electromagnetic compatibility), because there is NOTHING that can earn that description. You can only hope that you bought drivers and power supplies that are correctly designed and certified. Supply-Line-Filters may be an option, in fact in industrial applications there is no controlled drive without those filters ... oh and SHIELDED cables for at least tachometry/sensor options. I can't believe what he said in the video, hehehe.

  • @chrisj4570g
    @chrisj4570g 3 ปีที่แล้ว

    Totally unrelated to your project, but your explanation of how the capacitance of the cable causes data errors helped me understand some data issues from some equipment from a loooong time ago, and why slowing the baud rate fixed it.

  • @paulypaulypauly8011
    @paulypaulypauly8011 2 ปีที่แล้ว

    Hi James. Great work on this project, so thanks a bunch! I’m about to start putting it together on my lathe so just thought a timely enquirer about future updates might be in order. Do you anticipate changes to the ui in the near future? I ask because if you are going to be adding buttons or making other updates to the physical kit, I’ll make it open to mods rather than building it in. Again - thanks for your excellent work. I have yet to see a better conceived and explained project on TH-cam.

  • @bobuk5722
    @bobuk5722 3 ปีที่แล้ว

    Hi folks. I had to ask my son to do the board soldering for me as my hands now shake too much when trying to do prevision work like this. However I used to do a lot of this sort of thing so I can add sone tips. Get a small table top vice to hold the board - so much easier if not chasing it about. In general fit the low profile items first - that usually makes things easier. Get a magnifying glass and very careful inspect the solder joints for unwanted bridges. A fine tipped soldering iron will usually clear these up but if not a manual 'click' vacuum sucker works wonders, or failing that some braided de-solder tape. Despite the environmental concerns lead based solder will flow better and you might want to at least consider that if having problems. There are some very nice and not expensive precision low voltage soldering irons now available. Try and avoid direct mains powered ones, if faulty the leakage current can damage the more sensitive components. James covered ant-static precautions but don't wear nylon underpants! Or shirts. Cheers. BobUK

  • @ElectronicMarine
    @ElectronicMarine 3 ปีที่แล้ว

    alot overkill for this prodject, but as an electronic engeeneer, micro proggramer and hobbyst machining:I LOVE IT :) YOU DID A WONDERFULL JOB. hank you. i will use it on my lathe

  • @chuckels431
    @chuckels431 3 ปีที่แล้ว

    Hi James, any thoughts down the road of using the set button for some purpose? I’m sure you had something in mind when you put it in.
    Also would have liked a hold for scroll feature on the + - buttons.
    Love the work you have done with the ELS and the mill 🙂👍

  • @StrigidaeStudios
    @StrigidaeStudios 3 ปีที่แล้ว

    Hi James. Great job with the ELS project! Have you thought about integrating it with your VFD so you can control the spindle speed from the same control panel?

  • @jamesoddsends4483
    @jamesoddsends4483 ปีที่แล้ว

    Nice video. Sort of a Spaceballs reference at the end?

  • @UncleKennysPlace
    @UncleKennysPlace 3 ปีที่แล้ว

    Happy to say that all of my issues were caused by lifting a pad on the display board (only one pad is connected on one side, supplies power to the driver chip, so of course I broke the trace!) I got a couple of boards (which are slightly different, as James notes) and plugged one in before I replaced the connector, and **bingo**. I must have played with it for an hour on the bench. As I have different servo / driver setup, I need to figure out the settings to get the best results.
    Now to order up some timing belts and pulleys. Think I'm gonna test TI's claim that this will run two axes as well, so I can have an ETA (Electronic Taper Attachment.) Still learning about the LaunchPad board ... it ain't no Arduino.

  • @prototype3a
    @prototype3a 3 ปีที่แล้ว

    Awesome. Now I just need a lathe.

  • @juweinert
    @juweinert 3 ปีที่แล้ว +2

    12:00 In your case you should connect both ends of the shield to ground. Reasoning is that you have an isolated module connected.
    There is no way you create ground differentials with this setup.
    If you connect both shields, you'll have a completely shielded system, as if the remote module is mounted in the same metallic housing.
    That little change could improve the signal integrity immensely!

    • @mumblbeebee6546
      @mumblbeebee6546 3 ปีที่แล้ว

      Is the control panel housing not connected to ground through the lathe body it is bolted to?

    • @juweinert
      @juweinert 3 ปีที่แล้ว

      @@mumblbeebee6546 maybe, but it is not a proper connection, since the lathe is painted. He'd need to have taken off the paint for that to be reliable.
      And even if so there would be the possibility of unequal ground potential, as the lathe is a huge chunk of steel, not a proper conductor.
      Best is to shield from one ground point alone.
      And since he has the shield and ground within the cable the most reliable and simple way would be to connect the shield properly to the enclosure

  • @teropiispala2576
    @teropiispala2576 3 ปีที่แล้ว

    I started with you lead-screw in last pring and ended up making totally new software with two axis servo control. My idea wasn't to make full cnc, because using a lathe is fun but watching it destroy itself because of error in g-code is not.
    First I made automatic functions for threading, tapers, facing and roundings. It was quite simple and they extend usability a lot. I have pulse wheels and cheap encoder as controls and old laptop as a display and aiding with more complex stuff.
    Because my spare times increases for widely known reason, I had a possibility to get this done into usable level quite fast. However, this seems to be endless project, with new interesting improvement ideas coming up all the time.
    One of the most interesting idea would be to map geometrical errors in my lathe and compensate them as well as possible. Also the switching between manual and automated work can be improved.
    Have anyone else been thinking this type of approach?

  • @joell439
    @joell439 3 ปีที่แล้ว

    Thanks James for another great video - looks like I just got the last of the EL Control Panel Kits available at the moment. eBay said it was the last one and I immediately hit the BIN button. 👍👍😎👍👍

  • @rasjase1
    @rasjase1 3 ปีที่แล้ว

    This system could be adapted for use with a coil winder so that it is adjustable for the size of wire being wound instead of threads. Very cool

  • @cameronwebster6866
    @cameronwebster6866 3 ปีที่แล้ว

    One possible future upgrade would be to add a virtual threading dial, using another rotary encoder and some sort of display, which could eliminate the problems with hybrid threads.

  • @Graham_Wideman
    @Graham_Wideman 3 ปีที่แล้ว +9

    James: why are you sticking with 10k pullups (16:20 or so)? You have 4mA of drive available, might as well use it. You could use 2.5k and still only require (5/2.5) + (3.3/2.5) = 2 + 1.3 = 3.3mA drive. And that would give you 1/4 the rise time and substantially increase the noise immunity, even if you don't want to run the bus at a higher data rate. 10k pullups are ok for i2c and spi on board, but as you rightly point out, a remote cable requires more drive, and is subject to more noise. Your software changes are great, of course, but as you said, better to fix the underlying electrical issues if possible, rather than relying on the software corrections.

    • @stanmacdonald1073
      @stanmacdonald1073 3 ปีที่แล้ว +2

      I believe there should be electric and software noise mitigation. Ideally, inter-module communications would ideally be on differential signal lines. This dramatically reduces noise susceptibility. Adding shielding further reduces susceptibility. Differential line drivers such as RS422/RS485 drivers can match the line impedance so the rise time and data rates are greatly increased over 10k pullups.

    • @JasperJanssen
      @JasperJanssen 2 ปีที่แล้ว

      @@stanmacdonald1073 as a bonus the differential pair signals do amazingly well with Ethernet cable, which is by far the cheapest way to get high quality cables.

    • @dieSpinnt
      @dieSpinnt ปีที่แล้ว

      ​@@stanmacdonald1073 You are absolutely right. It is unbelievable to use a botched 3.3V to 5V level shifter for such an important and safety relevant part as the UI ... and not appropriate transceivers for an application that runs in a electromagnetic highly polluted environment like a machine shop and side by side with motor drivers. And then shifting the responsibility of the bad design decision to the cabling ... to industry standard shielded cabling.
      BTW why use such a toy, an inappropriate botch for serious applications like the TM1638 in the first place? To cover up another bad design decision (Hint: MCU)?

  • @bobuk5722
    @bobuk5722 3 ปีที่แล้ว +1

    There's some posts below about 'Testfixture' that I responded to, initially without really thinking things through. The 'Testfixture' firmware does what it says - it's used by James to test the daughterboards using his specially developed fixture. Unless you have the test bed you do not need the 'testfixture' firmware - and James has tested the boards for us using it already. My apologies. BobUK,

    • @kurtbilinski1723
      @kurtbilinski1723 3 ปีที่แล้ว

      I'm the author of that other note. Yeah the problem is/was that only the "testfixture" file would go into "active debug". The "els-f280049c" in the same folder in my file set would not. For whatever reason, Code Composer would only allow the test code to be switch to active debug. I think I even tried deleting just the test folder, but pretty sure that didn't work. I had to go back to his GitHub page and find an apparently different version of the same release(!) that had only the els-f280049c. James, we're not complaining, I worked in SW for 10 years and know how this stuff happens, and we all appreciate your hard work!

    • @bobuk5722
      @bobuk5722 3 ปีที่แล้ว

      @@kurtbilinski1723 Hi Kurt. That was a graceful reply. I used to manage a team of S/W developers in a large Telecom company but there's no way I could write code. In fact compiling James' code was the first time I have ever done that myself! In my defence I'm now over 70 and started out with a Time shared bureau. So, you know FAR more about this than I do! Cheers. Bob.

  • @jimdean7335
    @jimdean7335 3 ปีที่แล้ว

    James, I’m a little late to the party regarding your ELS, but bing watched your videos over the holidays. Well done. I’m collecting the parts I need (I already had a stepper and driver). I’ve done similiar work but mostly with Arduino so I’m looking for to learning a new platform. I’ve also reviewed all the info on Github but have not seen an “Instruction Manual” that describes the buttons, LED’s etc. Most are obvious and you addresed the PWR button in this video but what is the SET button for. Perhaps you’ve addressed this and I missed it.
    My other question is regarding cable length. The encoder and control panel will be about 6 ft from the controller. The cables will be well isolated from any high voltage but I’m wondering if you or any readers have experience with this length.
    Jim

  • @swolebro
    @swolebro 3 ปีที่แล้ว

    I know having an oscilloscope is a big jump in terms of diagnostics equipment, but you can get some beautifully janky single-channel DSO's nowadays for pocket change. The DSO138 on Banggood is something like $30 and (realistically) works up to 50kHz. You'd have to slow down the communication on this board a bit more to bring it in range, but in any case, it's so cheap there's no excuse not to have a scope in your kit. The first time I used mine, I was able to salvage 5 VFD's. That's a stupid good ROI!

  • @MrInnovativeEnergy
    @MrInnovativeEnergy 3 ปีที่แล้ว

    I've also had good results on RPM in micros by using successive approximation for an average.

  • @Roelasia
    @Roelasia 3 ปีที่แล้ว

    well done... I want to cut some really small screws in the sub MM range . what is the smallest pitch ? (m0.5x0.125 for example)

  • @robertsyourrelative
    @robertsyourrelative 3 ปีที่แล้ว

    I've been hoping you would give more guidance on stepper vs servo stepper vs servo and torque requirements but I must have missed it if it is in the series. I have bought everything (mostly from you) except the motor.

  • @paulmanhart4481
    @paulmanhart4481 ปีที่แล้ว

    James, is there a complete parts list for your ELS? I want to make sure I have everything.
    Also, it might make a good video to summarize everything. Like the various parts and how it all goes together. All this is probably in your videos already, but it’s hard to pull it all out.
    Like, does the rotating sensor that links to the spindle need to be a 1:1 ratio, or can that be changed in the software (one of your variables like the tpi of the lead screw)?
    I think I have most of the parts but don’t know if I need a DC power supply. Lots of little things like that.
    I know you’re busy as hell and I love your videos, but a summary ELS video would be great.
    Thanks,
    Paul

  • @brettfloyd6152
    @brettfloyd6152 3 ปีที่แล้ว

    Hi James, great project! I just received my combo pack and putting things together. One problem, When I load code I get no display- there appears to be data on the DIO line but no clock or strobe. Reading encoder ok, puts out steps and direction signals. Thoughts?
    Thanks.

  • @nevellgreenough404
    @nevellgreenough404 3 ปีที่แล้ว

    V1.3.01 Patch for More UI Control
    Fantastic upgrade!!
    I've hacked up the version 1.3.01 UserInterface.cpp file for those who may want a little more
    control over what-you-can-do-when. In this patch you can change all things with the leadscrew power
    ON or OFF and the lathe stopped. The LEDS and display are kept ON so you can see what you're
    setting up to do.
    When the lathe is running you now have some control. In feed mode you can change the feed rate,
    feed direction and power ON/OFF. This is useful for boring or powered-crossfeed lathes with
    hazardous mechanical crossfeed controls like Atlas/Crafstman/Clausing machines. Feed/thread,
    in/mm are still blocked. With the lathe running and power ON in thread mode you can only power OFF.
    This is for emergency crash prevention. Everything else is blocked.
    Changing stuff during threading
    can be disastrous.
    The four states (power ON/OFF; lathe RPM=0 or > 0) are broken out in a lengthy "if...else if"
    statement for easy modification. Un-comment or comment out the if... statements to activate/
    deactivate the controls you want in each of the 4 states. I apologize in advance for my
    Arduino-level of coding skill.
    Replace the UserInterface::loop() routine in UserInterface.cpp with the following:
    void UserInterface :: loop( void ) // Hacked by NLG 10/18/20
    {
    // read the RPM up front so we can use it to make decisions
    Uint16 currentRpm = core->getRPM();
    // display an override message, if there is one
    overrideMessage();
    // read keypresses from the control panel
    keys = controlPanel->getKeys();
    // respond to keypresses
    // Comment out the "if" statements and curly-braces for keys you DON'T want in each mode
    if( currentRpm == 0 && !this->core->isPowerOn() ) // Machine stopped and power OFF
    {
    if( keys.bit.POWER )
    {
    this->core->setPowerOn(1);
    }
    if( keys.bit.IN_MM )
    {
    this->metric = ! this->metric;
    core->setFeed(loadFeedTable());
    }
    if( keys.bit.FEED_THREAD )
    {
    this->thread = ! this->thread;
    core->setFeed(loadFeedTable());
    }
    if( keys.bit.FWD_REV )
    {
    this->reverse = ! this->reverse;
    core->setReverse(this->reverse);
    }
    if( keys.bit.SET )
    {
    setMessage(&SETTINGS_MESSAGE_1);
    }
    if( keys.bit.UP )
    {
    core->setFeed(feedTable->next());
    }
    if( keys.bit.DOWN )
    {
    core->setFeed(feedTable->previous());
    }
    }
    else if( currentRpm == 0 && this->core->isPowerOn() ) // Machine stopped and power ON
    {
    if( keys.bit.POWER )
    {
    this->core->setPowerOn(0);
    }
    if( keys.bit.IN_MM )
    {
    this->metric = ! this->metric;
    core->setFeed(loadFeedTable());
    }
    if( keys.bit.FEED_THREAD )
    {
    this->thread = ! this->thread;
    core->setFeed(loadFeedTable());
    }
    if( keys.bit.FWD_REV )
    {
    this->reverse = ! this->reverse;
    core->setReverse(this->reverse);
    }
    if( keys.bit.SET )
    {
    setMessage(&SETTINGS_MESSAGE_1);
    }
    if( keys.bit.UP )
    {
    core->setFeed(feedTable->next());
    }
    if( keys.bit.DOWN )
    {
    core->setFeed(feedTable->previous());
    }
    }
    else if( currentRpm > 0 && !this->core->isPowerOn() ) // Machine running and power OFF
    {
    // Allow power ON and FWD/REV with lathe running in feed mode-
    // Useful for powered-crossfeed lathes like Atlas/Clausing
    if( keys.bit.POWER && !this->thread ) // Allow power ON in feed mode with machine running
    {
    this->core->setPowerOn(1);
    }
    // if( keys.bit.IN_MM )
    // {
    // this->metric = ! this->metric;
    // core->setFeed(loadFeedTable());
    // }
    // if( keys.bit.FEED_THREAD )
    // {
    // this->thread = ! this->thread;
    // core->setFeed(loadFeedTable());
    // }
    if( keys.bit.FWD_REV )
    {
    this->reverse = ! this->reverse;
    core->setReverse(this->reverse);
    }
    if( keys.bit.SET )
    {
    setMessage(&SETTINGS_MESSAGE_1);
    }
    if( keys.bit.UP )
    {
    core->setFeed(feedTable->next());
    }
    if( keys.bit.DOWN )
    {
    core->setFeed(feedTable->previous());
    }
    }
    else if( currentRpm > 0 && this->core->isPowerOn() ) // Machine running and power ON
    {
    // Allow power ON/OFF and FWD/REV with lathe running in feed mode-
    // Useful for powered-crossfeed lathes like Atlas/Clausing
    if( keys.bit.POWER )
    {
    this->core->setPowerOn(0); // Kill power
    }
    // if( keys.bit.IN_MM )
    // {
    // this->metric = ! this->metric;
    // core->setFeed(loadFeedTable());
    // }
    // if( keys.bit.FEED_THREAD )
    // {
    // this->thread = ! this->thread;
    // core->setFeed(loadFeedTable());
    // }
    if( keys.bit.FWD_REV && !this->thread ) // Only in feed mode
    {
    this->reverse = ! this->reverse;
    core->setReverse(this->reverse);
    }
    // if( keys.bit.SET )
    // {
    // setMessage(&SETTINGS_MESSAGE_1);
    // }
    if( keys.bit.UP && !this->thread ) // Only in feed mode
    {
    core->setFeed(feedTable->next());
    }
    if( keys.bit.DOWN && !this->thread ) // Only in feed mode
    {
    core->setFeed(feedTable->previous());
    }
    }
    // update the control panel
    controlPanel->setLEDs(calculateLEDs());
    controlPanel->setValue(feedTable->current()->display);
    controlPanel->setRPM(currentRpm);
    // if( ! core->isPowerOn() ) // Commented this out to always show feedrate/thread
    // {
    // controlPanel->setValue(VALUE_BLANK);
    // }
    controlPanel->refresh();
    }
    *************************************************************************************
    Replace the UserInterface::calculateLEDs() routine in UserInterface.cpp with the following:
    LED_REG UserInterface::calculateLEDs() // Hacked by NLG 10/18/20
    {
    // get the LEDs for this feed
    LED_REG leds = feedTable->current()->leds;
    if( this->core->isPowerOn() )
    {
    // and add a few of our own
    leds.bit.POWER = 1;
    leds.bit.REVERSE = this->reverse;
    leds.bit.FORWARD = ! this->reverse;
    }
    else
    {
    // power is off
    // leds.all = 0; // NLG Keep LEDS on always
    leds.bit.POWER = 0; // NLG Crude technique....
    leds.bit.REVERSE = this->reverse; // NLG but easily removed
    leds.bit.FORWARD = ! this->reverse; // NLG
    }
    return leds;
    }

    • @tnrcboatracer1
      @tnrcboatracer1 3 ปีที่แล้ว

      Great project James. I'm very glad i found your chsnnem and have subscribed. My grizzly lathe ha the dual feed, so i'm glad for the separate ratios. But this got me thinking. Instead of a needing a full cnc lathe, a separate drive could be added to the cross feed to provide for cutting tapers. I have an application that requires 2 stage and 3 stage tapers. This could be facilitated by micro switches and actuator rods to step through taper ratios set in the control box. Hmmm....

  • @rodrigomerlobravo
    @rodrigomerlobravo 3 ปีที่แล้ว

    Just GREAT! James, The whole project has been a nice venture. The upgrade worked fine. There is only one thing I miss... I was using the direction change while running the spindle on feeding. Would it be possible to enable the DIRECTION change ? I couldn't find where you blocked individually the button functions while the lathe is spinning

    • @kurtbilinski1723
      @kurtbilinski1723 3 ปีที่แล้ว

      I saw it in the code, just can't remember where. The code isn't that large really, once the headers and tables are accounted for. Just go through the *.cpp files and you'll find it. As I recall, it's all a large if/else statement, not case by case.

    • @rodrigomerlobravo
      @rodrigomerlobravo 3 ปีที่แล้ว +1

      @@kurtbilinski1723 Thanks Kurt . I found it @ Userinterface.cpp and I added below line 192:
      if( keys.bit.FWD_REV)
      {
      this->reverse = ! this->reverse;
      core->setReverse(this->reverse);
      }
      In case somebody finds this usefull.
      Regards.

  • @Core3DTech
    @Core3DTech ปีที่แล้ว

    So looking into implementing this. I have a bunch of MDrive23 motors which I would like to use. Trying to find the USB cable to program these.

  • @draglorde
    @draglorde 3 ปีที่แล้ว

    very interesting! thank you
    How did you learn this? University, books, research, experience? I would .love to learn more about EMI protection

    • @nevellgreenough404
      @nevellgreenough404 3 ปีที่แล้ว +1

      The classic reference book on EMI reduction is Henry Ott's "Noise Reduction Techniques in Electronic Systems" published by Wiley. It should be on every EE's bookshelf.

  • @steelbarz
    @steelbarz 3 ปีที่แล้ว

    Just bought a similar lathe and am building this amazing lathe project with you now, just bought the parts on eBay. My lathe has a DRO for the spindle speed with an encoder in the system somewhere.
    what would be the things I would have to figure out and look for to connect the existing hardware to this process?

  • @charlesmayerchak6655
    @charlesmayerchak6655 2 ปีที่แล้ว

    James, I'm building the ELS and waiting for some parts, but I have a my first question. I have watched all the videos several times, and one thing that is mentioned more than once is the length of the wire for the control panel. You have mentioned not to make the wire too long, what would you consider to be the maximum safe length please??

  • @JohannSwart_JWS
    @JohannSwart_JWS 3 ปีที่แล้ว

    Great video as usual. In a previous one, I spied with my little eye what appears to be a Benchmade Emerson style pocket clip. Pray tell?

    • @Clough42
      @Clough42  3 ปีที่แล้ว

      Good eye. It's a Benchmade Bali-Song folder with the round thumb hole and crosslock. It's been my EDC for more than 15 years.

    • @JohannSwart_JWS
      @JohannSwart_JWS 3 ปีที่แล้ว

      @@Clough42 Wow, those are great. Prefer them to the PM2. Don't lose it! Thanks for the reply!

  • @foxabilo
    @foxabilo ปีที่แล้ว

    I know this is fairly old by now, but there are sync/source level shifting IC's for this very purpose and they are actually fairly inexpensive, they reduce the issue by having an extra transistor to drive the line high rather than using a resistor to pull it up.

    • @Clough42
      @Clough42  ปีที่แล้ว

      Correct. TI makes a few. I was unable to get them to work in this application because the impedance of the pull-up resistors in the display is outside the allowable range, causing the speedup transistors to fire at the wrong times.

    • @foxabilo
      @foxabilo ปีที่แล้ว

      @@Clough42 Interesting, as long as you have a reliable system now it's all good.

  • @thebotformalityknownasdale2564
    @thebotformalityknownasdale2564 2 ปีที่แล้ว

    When I worked as a safety officer I was employed by a company that did all the new construction wiring for all data and communication so internet fax and telephone I was told the foil wrapped wire was for added stability in signal in the large cabinets where some buildings had 2 or 3 28"×28" × 6' tall cabinets with only 1 fiber optics line in and hundreds out to every phone dsl wall outlet

    • @dieSpinnt
      @dieSpinnt ปีที่แล้ว

      They lied to you(... nah, joking, only a little:) )? Shielding protects mainly from outer influence, like you turning the lights on, workers using their power tools, motors starting and stopping, you get it. Twisted pairs may protect from inner influences like cable-crosstalk or reflections. Fiber optics are ... well, optical ... and are not affected by electromagnetic interference. DSL uses a portfolio of tricks and cool techniques to provide that kind of speed and signal integrity over simple copper-lines (and also because of those corrupt politicians and monopolists like some German telecommunication providers, hehe). All of that alone a fascinating topic and an interesting read. Wikipedia can be a good starting point. Have fun!:)

  • @HanstheTraffer
    @HanstheTraffer 3 ปีที่แล้ว

    I believe that it is entirely feasible to make your own optical comparitor with inexpensive parts found on the internet. It is more than a handful for me. I will be trying though. But YOU ARE THE ONE who could do it right .....What do you think?

  • @phildalgleish2381
    @phildalgleish2381 3 ปีที่แล้ว

    Hi...this is a little off topic, but... were you the one who made a "V" bracket and mounted it between the Z column and the wall to stabilize the column? ie: bolt the small part of the "V" against the column and the wide part against the concrete wall.... and it really made a diff in the column flex!... if you made this vid please let me know which one.... Thanks! ( if not... try it! ) Phil

    • @phildalgleish2381
      @phildalgleish2381 3 ปีที่แล้ว

      Never Mind...found it... th-cam.com/video/X_6i4SN05HU/w-d-xo.html it may Help Your Mill? Regards.. Phil

  • @WAEviltechie
    @WAEviltechie 3 ปีที่แล้ว

    Still noticed that you have one of the pulleys mounted with the magnet. Any plans to make that permanent?

  • @Richardmaclachlan
    @Richardmaclachlan 3 ปีที่แล้ว

    Hi James, So question. can the lead screw be run without the lathe running ? To be specific I was given a lathe/mill combo that is missing all the change gears, so a ELS seems a better choice rather that purchasing the missing gears. At the same time with this unit you would have to remove the chuck and run the lathe motor at the same time as the mill motor in order to have auto feed as the bed is attached to the lead screw.

  • @HanstheTraffer
    @HanstheTraffer 3 ปีที่แล้ว

    Twisted pairs make a huge difference...

  • @patwicker1358
    @patwicker1358 3 ปีที่แล้ว

    The link you provided to a servo motor on Amazon no longer works. Will the stepper motors with an encoder on Amazon work instead? Or can you list an alternate source?

  • @judkiewiczj
    @judkiewiczj 3 ปีที่แล้ว

    James, in one of your episodes 1 - 20, you have promised that touch screen for this project is coming, do you still have it in your mind?

  • @michaelscheibel6064
    @michaelscheibel6064 3 ปีที่แล้ว

    Love the ELS! Does anyone know a decent source for the TI LaunchXL-F280049C in Germany?

  • @schwinn434
    @schwinn434 ปีที่แล้ว

    I'm not a smart guy, but you seem like a genius to me - for what that's worth. (Ha Ha) Keep up the great work! :)

  • @Troncatore
    @Troncatore 2 ปีที่แล้ว

    James I'm really actracted from your nice ELS project but at moment, in Italy, is not to easy to buy the Texas instruments product...have you any suggestion for an appropriate substitute using your kit? Thanks a lot processing my question...and what You think for using a 5 inch touch screen as someone did?

    • @Clough42
      @Clough42  2 ปีที่แล้ว +1

      The TI boards are hard to get at the moment due to the semiconductor shortage. Most distributors are showing expected stock in June or July. I'm not a fan of touch screens in the shop, in general, because my hands are always oily. My CNC machines all have touch screens, and it's a mixed bag.

    • @Troncatore
      @Troncatore 2 ปีที่แล้ว

      @@Clough42 Thanks I'll wait untill July...👍

  • @jamesrossmotors
    @jamesrossmotors 2 ปีที่แล้ว

    After contacting you many times I am still not able to get my program to run properly on the launch pad. I have followed your instructions to the T and triple checked everything. Something I would like know is other than the 3 switches that required changing on the launchpad is what position should the other switches be in. I switched the can switch towards CAN and the clough42 came up on my display but nothing else functioned. I could see one of the lights flickering as if the program was running so I would like to be certain of all switch positions.

  • @richardparsons6563
    @richardparsons6563 2 ปีที่แล้ว

    so what all do I need to buy to make it so I can cut threads with the lead screw as far as the boards well everything except for the motor

  • @robeggers5560
    @robeggers5560 3 ปีที่แล้ว

    Did I miss the electric magnetic half nut lock so imperial and metric screws can be cut by engaging and disengaging lead screw?

    • @Clough42
      @Clough42  3 ปีที่แล้ว

      Disengaging the halfnut for hybrid threads would also require having a scale to track the motion of the carriage while unlocked and waiting for the correct relocking intervals, which is at best every 127 screw rotations. It's easy to imagine and much harder to do.

  • @thomasbonse
    @thomasbonse 2 ปีที่แล้ว

    Have you considered a differential transceiver chip for I2C? Such as NXP’s PCA9615?

    • @dieSpinnt
      @dieSpinnt ปีที่แล้ว

      I2C = IIC = INTER IC Communication. INTER Integrated Circuit ... got it? Suitable for very short and on board / very short board to board connections.
      Meaning: Very bad choice. Even worse than the full serial (and also inappropriate for such industrial applications) interface here.
      RTFM Thomas?:)

  • @DrZoidbergism
    @DrZoidbergism 3 ปีที่แล้ว

    i have no leadscrew at all in my lathe, and i wanted to add a ballscrew to the lathe, which will be driven by the servo motor. So i need a way to power down the stepper motor while the machine turns, is it possible to reenable the power button while the machine turns, or should i just have a big button of disenablement on my machine disenabling the stepper driver. As some kind of a "virtual halfnut".

  • @kevinberta8741
    @kevinberta8741 3 ปีที่แล้ว +2

    Kevin Berta
    8 hours ago
    What file do I set the different gear ratio for threading and feed with different shafts? I can't seem to find it in the files.

    • @Clough42
      @Clough42  3 ปีที่แล้ว

      Configuration.h

    • @mechmodhomeshop
      @mechmodhomeshop 2 ปีที่แล้ว

      Hi, dis you solved? I need to do the same, Okay configuration H, but what I should do? My spindle ratio is 13:1 so the spindle need to make 13 spin to make spin 1 time the shaft, I don’t know how to set up in configuration.h, please help

  • @mechmodhomeshop
    @mechmodhomeshop 2 ปีที่แล้ว

    Hi, I bought a new lathe with the power feed bar + lead-screw. Now this video Part 20 is also more important. My question is how to set-up in configuration.H the ratio. My spindle need to spin 13 time to make spin 1 time the shaft of my gear box. The ratio is 1:0,0075= viceversa from shaft 13:1. Now assuming that what How I should set this data in configuration.H?

  • @chilebike6556
    @chilebike6556 2 ปีที่แล้ว

    1001 James...

  • @en2oh
    @en2oh 6 หลายเดือนก่อน

    is there a lower limit to the TPI that this ELS can handle? Could it cut a 1 TPI or .5 TPI?

  • @FlexDRG
    @FlexDRG 2 ปีที่แล้ว

    I noticed that the LAUNCHXL-F280049C has 2 encoder inputs. Could the second encoder be used to read a cross slide linear encoder and work the VFD to set, and maintain, speed? Possibly speeding up the spindle as you make facing cuts?
    It would probably require a different interface in order to set a material (and cutter) specific cutting speed as well as the ELS feed rate. And setting the diameter that the cutter is at, etc.

    • @Clough42
      @Clough42  2 ปีที่แล้ว +1

      This is possible, though it's not just about the position of the cross slide. The code would also need to know the tool length.

    • @FlexDRG
      @FlexDRG 2 ปีที่แล้ว

      @@Clough42 you could turn a bit, measure the diameter and enter that as the current diameter. Just as one would with a dro.

  • @lesthompson5907
    @lesthompson5907 5 หลายเดือนก่อน +1

    i wuld love to see a video on pitch to speeds reshows which is the hart of the else siystom when i first set up my lath to cut a thread . with out it gears i discovered it gear dox control pitch by accident it mattered not the speed of the chuck & the for the Pinedale. fast or slow it sated in sink with the banjo. remove the banjo & Mach the shaft speed & your thread pitch matches the thread pitch gage. but it dose not do so if their is not a gear box the pitch is driven by the led screw in this case the lack of gear box is control by the court on the spindle shaft , signals is the a way of incising or decreasing a rand of speed's to select terd count with out a encoder on the chuck spindle removing the need for coding.

  • @vincentguttmann2231
    @vincentguttmann2231 3 ปีที่แล้ว

    What about using a parity bit in the communication? I know that it's overkill now, but it would be cool to have

    • @Clough42
      @Clough42  3 ปีที่แล้ว

      The communication is defined by the TM1638 chip, so unfortunately I don't have that option unless I design the control panel as well.

    • @vincentguttmann2231
      @vincentguttmann2231 3 ปีที่แล้ว

      @@Clough42 Well, since it is overkill anyway, I would not worry about it. It's just something I thought of in that moment. And really, as long as it works, it's fine.

  • @MrJsantiagoar
    @MrJsantiagoar 3 ปีที่แล้ว

    Hello, do you have new kits for international sales? thank you