Digital Feed electronic lead screw PCB

Тәжірибелік нұсқаулар және стиль

There's a famous Russian-speaking 2-axis lathe electronic lead screw project on ChipMaker which is notably hard to build. With this PCB it should only take 1-2 hours to do so and eliminate most interference problems.
PCB, code and more info: github.com/kachurovskiy/megaels
Please join me on t.me/MaximKachurovskiy for more DIY fun 🥳

Пікірлер: 49

  • @raise-project
    @raise-project2 жыл бұрын

    Thats really nice, exactly what I had in mind for my lathe. Already mounted the motor in a direct drive configuration. Will give this a try when time comes.

  • @shawnmrfixitlee6478
    @shawnmrfixitlee64782 жыл бұрын

    when you get it all going I would buy this as a complete kit . May be some $ but well worth it ! AWESOME SHARE ..

  • @gerritvisser
    @gerritvisser2 жыл бұрын

    I am building the 7e2 but with 2 separate boxes, I know what you mean about lots of wiring, it is tedious without a pcb. Great job on your implementation. I'm using the Russian lcd2004 code but translated all the display stuff to English. Almost ready to test it. Thank you for sharing your figuring out how to use it.

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

    That's impressive stuff. I was about to get bit larger and more quality lathe, but I think I'd like to "hobby" the lathe itself too. I think I'll get some basic model and start to tinker with it 🙂

  • @TrPrecisionMachining
    @TrPrecisionMachining2 жыл бұрын

    good job maxim

  • @MaximKachurovskiy

    @MaximKachurovskiy

    2 жыл бұрын

    Thank you!

  • @bobmartensio4689
    @bobmartensio46892 жыл бұрын

    Чувак , по русски ещё б версию пустил бы. Распечатал твою разработку👍Спасибо за труд!!!

  • @deadcitycycles
    @deadcitycycles2 жыл бұрын

    Really nice. I was puzzling with this leadscrew for a while. Tried to build it on my own on a perfboard but failed. Can you post the links for the parts please, especially the joystick and the position switches. Thanks in advance.

  • @MaximKachurovskiy

    @MaximKachurovskiy

    2 жыл бұрын

    Thank you, Sebastian, yes, this is a tough project to attempt. Added links in github.com/kachurovskiy/megaels/blob/main/README.md#components - thanks!

  • @michaellinahan7740
    @michaellinahan77402 жыл бұрын

    Maxim, What encoder are you using to read the spindle speed ? I thought about using a mega when I first started thinking about my own design but thought that it wasn't fast enough to keep up at higher speeds so I am using an arm cortex-M3 but I am a little further behind than you. I do like the idea of a pcb to centralise all the sub components. With crossfeed control does this do things like morse tapers? I was also thinking about using an sdcard (or wireless) to interface so that data points for different profiles could be stored and then stepped through to make the cut.

  • @MaximKachurovskiy

    @MaximKachurovskiy

    2 жыл бұрын

    Michael, I'm using www.amazon.de/-/en/gp/product/B015GYY7XU - Mega and Nano are both same clock speed and are fast enough for encoders up to at least 1000 pulses per revolution and spindles up to 2500 rpm. It does do tapers, see github.com/kachurovskiy/megaels/blob/main/Digital_Feed_7e2/manual.md - as for using an SD card, I'm not sure that would be required for normal operations, there's plenty on-board memory in Arduino boards - randomnerdtutorials.com/arduino-eeprom-explained-remember-last-led-state/ - cheers!

  • @michaellinahan7740

    @michaellinahan7740

    2 жыл бұрын

    @@MaximKachurovskiy I thought the maximum sampling frequency for an atmega was 15K, to get 1000 samples per rev and 2500/60 revs per second gives about 40K at maximum spindle speed or am I missing something?

  • @MaximKachurovskiy

    @MaximKachurovskiy

    2 жыл бұрын

    @@michaellinahan7740 we don't actually need to sample pins ourselves, just handle an interrupt - github.com/kachurovskiy/nanoels/blob/main/h1/NanoEls.ino#L294 - the problem comes from the fact that we also need to issue stepper signals and that takes most CPU cycles, especially with micro-stepping. Or if you were thinking about CPU frequency, it's 16MHz (not kHz). Overall, with a reasonable encoder you're unlikely to reach those limits for real-world tasks.

  • @michaellinahan7740

    @michaellinahan7740

    2 жыл бұрын

    @@MaximKachurovskiy thanks for that it looks like I have more development work to do...when I don't get interrupted!

  • @milanercegovic8413
    @milanercegovic84132 жыл бұрын

    Hi Maxim second PCB better and nicer, 2004 screen would look good, you are doing fine and will sort everything. I need hand encoder and start soldering parts together, bench test, building a hobby lathe. Been following HM and MotoChassis. How did you wired Joystick its got 3 Leeds on limit switches witch leed is wired to shield pin no.

  • @MaximKachurovskiy

    @MaximKachurovskiy

    2 жыл бұрын

    Milan, thank you! Joystick has 3 leads, you're right. One of them is common and is connected to 1 of 2 other leads depending on the joystick position. I simply tested which is which with a multimeter. You'd connect all common pins to ground and normally-open pins to the PCB. Cheers!

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

    Hello, Maxim, first of all congratulations for the project and for having made it available, I intend to make it, but I would kindly like a couple of clarifications, which tachometer is needed, then what is "Hand encoder 100 line" and " Splindle Encoder". Thanks for your possible answer. Best regards Lucian Italy

  • @MaximKachurovskiy

    @MaximKachurovskiy

    Жыл бұрын

    Hi Luciano, thank you. Tachometer is not needed. You can find the links to components including hand encoder in github.com/kachurovskiy/megaels/blob/main/README.md#components and for spindle encoder see github.com/kachurovskiy/nanoels/blob/main/hardware.md#encoder - thanks!

  • @lucianobaldi3227

    @lucianobaldi3227

    Жыл бұрын

    Thank you very much, very kind and helpful person, which is rare

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

    Hi Maxim, I'm so sorry if I bother you again, but a doubt arose, I read that you made the project for your lathe and that it has a transversal screw pitch of 1.25mm, my lathe has a pitch of 2mm, the reduction of 1:3 is fine anyway or I have to calculate a different reduction, sorry again, but I have an interest in realizing this project. Greetings Luciano Baldi

  • @MaximKachurovskiy

    @MaximKachurovskiy

    Жыл бұрын

    Luciano, feel free to ask as many questions as you like :) MegaEls is configurable, 2mm X axis should not be a problem. See github.com/kachurovskiy/megaels#code on how to adjust the code to your hardware.

  • @kankarrio4266
    @kankarrio42662 жыл бұрын

    very good work. I have tried to download the files to send the pcb, but they are not available

  • @MaximKachurovskiy

    @MaximKachurovskiy

    2 жыл бұрын

    Sorry, broken link, fixed now - github.com/kachurovskiy/megaels/raw/main/PCB_20211205/Gerber_PCB_MegaEls_20211205.zip

  • @kankarrio4266

    @kankarrio4266

    2 жыл бұрын

    Thanks

  • @sikanderc21
    @sikanderc212 жыл бұрын

    Sir can you make this control for me

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

    Hi Maxim, sorry to bother you again, can you please let me know the transmission ratio of the toothed pulleys installed on the cross carriage, I have ordered the PCBs, they should arrive shortly. Thanks again Greetings Luciano Baldi

  • @MaximKachurovskiy

    @MaximKachurovskiy

    Жыл бұрын

    Hi Luciano, no worries, you can find the cross carriage details at www.thingiverse.com/thing:4714722, transmission ratio is 3 to 1. Cheers!

  • @lucianobaldi3227

    @lucianobaldi3227

    Жыл бұрын

    @@MaximKachurovskiy Thanks again Maxim, but I forgot about one thing, if it is possible to know the gear wheel module, I don't have a 3D printer, so I have to buy them already made

  • @MaximKachurovskiy

    @MaximKachurovskiy

    Жыл бұрын

    @@lucianobaldi3227 they should be modulo 1 👍

  • @lucianobaldi

    @lucianobaldi

    Жыл бұрын

    @@MaximKachurovskiy 👍

  • @HM-Projects
    @HM-Projects2 жыл бұрын

    The joystick is a nice addition. How are you going with the Rocketronics ELS ? Still planning to build your own leadscrew controller ?

  • @MaximKachurovskiy

    @MaximKachurovskiy

    2 жыл бұрын

    Rocketronics is the best ELS I have in my collection so far, it's a tiny bit buggy but powerful and easy to use. I've got github.com/kachurovskiy/nanoels/ but if you're asking about a 2-axis version, it's hard to say whether I'm going to go for that, it's a ton of work. I see you also have a cool ELS project going yourself :) Nice work! Is the code and hardware description available somewhere?

  • @HM-Projects

    @HM-Projects

    2 жыл бұрын

    @@MaximKachurovskiy Not yet, the code is pretty customised to my lathe, but planning to tidy up a bit and publish schematics, BOM and code early next year. The end goal for me is to add Grbl support as well so I can operate it as ELS for canned operations or CNC with gcode support.

  • @MaximKachurovskiy

    @MaximKachurovskiy

    2 жыл бұрын

    @@HM-Projects the code would never be in the perfect shape for a scope as large, please consider just publishing what you have :) Many thanks.

  • @HM-Projects

    @HM-Projects

    2 жыл бұрын

    @@MaximKachurovskiy LoL, true. I'll do some testing over the holidays for what's in there before publishing. Plenty of copy paste code and half of it untested still. 🙈

  • @MrDelabrousse
    @MrDelabrousse2 жыл бұрын

    Excellent travail c'est une version fiable ?? J'aimerais acheter tout le nécessaire pour faire sa merci

  • @MaximKachurovskiy

    @MaximKachurovskiy

    2 жыл бұрын

    Dilan, hard to say how reliable it is, just started learning it today. If you want to be safe, waiting half a year and checking GitHub Issues after that would be prudent :) Cheers!

  • @MrDelabrousse

    @MrDelabrousse

    2 жыл бұрын

    @@MaximKachurovskiy Ok merci beaucoup pour votre réponse j'ai déjà commencée la version précédente mais j'ai vue qu'il y avait un code nommé h2 dans la précédente version peut on l'utilisé. il est sur deux axe ?? fiable ou pas merci 😀

  • @MaximKachurovskiy

    @MaximKachurovskiy

    2 жыл бұрын

    @@MrDelabrousse github.com/kachurovskiy/nanoels/ will in all likelihood stay 1-axis, I was already running out of memory space when compiling with unit tests on Arduino Nano - so no chance having a future-proof 2-axis machine there. Thank you!

  • @MrDelabrousse

    @MrDelabrousse

    2 жыл бұрын

    @@MaximKachurovskiy merci en attente de la version finale. il me tarde de mettre mon tour avec se systèmes

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

    Управляющие выводы энкодера надо инвертировать - движение салазок не совпадает с направлением вращения энкодера.

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

    who actually wrote the code?

  • @MaximKachurovskiy

    @MaximKachurovskiy

    Жыл бұрын

    It's a joint effort by folks from www.chipmaker.ru/topic/118083/, mostly Oleg A IIUC though there are many clones by now based on that codebase.

  • @sgtpepperaut3392

    @sgtpepperaut3392

    Жыл бұрын

    @@MaximKachurovskiy i see you tinker at 05h as well ;) haha assuming your in munich...greetings from vienna.

  • @maximchu5813
    @maximchu58132 жыл бұрын

    А для русских не будет видео? Работаем на заграницу?

  • @MaximKachurovskiy

    @MaximKachurovskiy

    2 жыл бұрын

    Максим, мой канал на английском. Немцам и французам тоже несладко. На форуме на русском по этой теме уже диссертацию написали 😄 Есть какой-то конкретный вопрос? Успехов.

  • @PatrickKrolickoff

    @PatrickKrolickoff

    Жыл бұрын

    @@MaximKachurovskiy , у Вас хороший английский язык. Я не-в-зуб-ногой в нём, и то всё понял. Самое тяжкое - слушать индийских лекторов по электронике...Хрен что разберёшь...Счастья Вам на неметчине и всех благ!

Келесі