Is Arduino fast enough? 🤔

  Рет қаралды 2,707

Maxim Kachurovskiy

Maxim Kachurovskiy

Жыл бұрын

Arduino Nano reads 600 pulse encoder and controls 200 step motor. Let's see how many pulses can it handle 💨
Build your own - github.com/kachurovskiy/nanoels/

Пікірлер: 32
@astrogerard
@astrogerard Жыл бұрын
Excellent! Hopefully in time there will be a complete kit available.
@johannriedlberger4390
@johannriedlberger4390 Жыл бұрын
I have seen a complete kit for this lathe on aliexpress. But it has only some pitches to choose from. I like Maxim's solution more.
@MaximKachurovskiy
@MaximKachurovskiy Жыл бұрын
Thank you for the validation. The time has come :) kachurovskiy.com
@PiefacePete46
@PiefacePete46 Жыл бұрын
Excellent, thanks. The workpiece deflection during the heaviest cuts is a bit scary! You could be cited for cruelty to a defenceless piece of metal! Satisfying end result. 👍
@azinfidel6461
@azinfidel6461 Жыл бұрын
That is some fast threading....
@HM-Projects
@HM-Projects Жыл бұрын
Excellent, with some fine tuning it can probably cut threads at even higher RPM but it's not so healthy for the leadscrews. You'll have to switch to low friction ball screws and linear rails like they have in larger CNC machines. I can cut M8 threads in mine pretty accurately at 1600rpm but don't usually run it past 600rpm. The wear on half nuts will reduce their lifespan.
@Ben_Guse
@Ben_Guse Жыл бұрын
This is awesome! there is another electronic lead screw project on youtube the creator overbuilt the microcontroller. I always thought Arduino would be able to handle it.
@carneeki
@carneeki Жыл бұрын
Agree with the over building. It's a cool project but it's just a simple divider and multiplier at the end of the day. And the expensive micro has me fearful of anything zapping it.
@carneeki
@carneeki Жыл бұрын
This is great!
@johannriedlberger4390
@johannriedlberger4390 Жыл бұрын
I use the same lathe. I have just upgraded it with 1hp 3 phase motor and VFD. The torque is very impressive now. Just my spindle pulley is now to big for the most gears when thread cutting. Next project will be the Arduino ELS.
@40020964
@40020964 Жыл бұрын
very good
@Drxxx
@Drxxx Жыл бұрын
😍😍😍
@jirvin4505
@jirvin4505 Жыл бұрын
I’ve just updated my quadrature scale reader to esp32 chip. Maybe a consideration. Very economical. Fast and specialist onboard chips to handle encoders
@MaximKachurovskiy
@MaximKachurovskiy Жыл бұрын
Yes, I have my 👀 on ESP32 WROOM for ELS, not only it's 5x higher MHz but also double core making it possible to update the display and drive the motor at the same time 🥹 And costs same as Nano.
@HM-Projects
@HM-Projects Жыл бұрын
@@MaximKachurovskiy certainly worth investigating, the last time I looked at it was a while back and the isr and gpio latency was pretty high compared to stm32f4 by a factor of 10x. also man I hate freertos, but I think you may be able to do bare metal stuff now.
@HM-Projects
@HM-Projects Жыл бұрын
like someone else said, nothing beats atmegas in interrupt handling from a clock speed to interrupt latency point of view which is why grbl authors managed to pull off a complex system.
@HM-Projects
@HM-Projects Жыл бұрын
Ah I forgot. One thing to take into account with encoder signals at high rpm is the impedance and inductance, the pulse shape become less square / sharp. If you have additional capacitance in the way, then the signal will also get attenuated making it harder for the AVR to decode those pulses. You'd want as short a cable as possible, good shielding and low capacitance path to the GPIO.
@MaximKachurovskiy
@MaximKachurovskiy Жыл бұрын
Good point but it was not a practical concern since we're just dealing with 30kHz here which really isn't much. Adding external pull-ups was all that was needed so far.
@HM-Projects
@HM-Projects Жыл бұрын
@@MaximKachurovskiy I have mine stepped up with belt ratios so it's effectively 1200ppr and 2400 quadrature transitions. It's fine at 3000rpm, but even small stray capacitance can change the pulse shape or the phase difference. I have some oscilloscope captures somewhere when debugging issues, I'll see if I can find them.
@HM-Projects
@HM-Projects Жыл бұрын
Nope can't find them. I can capture some to explain in a video. Line capacitance, PPR, max response frequency of the encoder transistors (cheap open collector types) all add up but it's not going to be an issue unless you're using a high PPR encoder or step up like I did at > 3500rpm
@ryebis
@ryebis Жыл бұрын
AVRs have much lower latency on interrupts and IO compared to ARM, this is a good example.
@johannriedlberger4390
@johannriedlberger4390 Жыл бұрын
I have ordered closed loop Nema23 and controller. It looks like, that it can't do full steps. I will see how fast it can go with 400 steps/revolution.
@Bjarne2411
@Bjarne2411 Жыл бұрын
how to mount LCD 2004 Display on nanoels/h2/ and wirring it together du you have a link for it
@MaximKachurovskiy
@MaximKachurovskiy Жыл бұрын
You would solder the display onto the PCB, no wiring needed. More info at github.com/kachurovskiy/nanoels/tree/main/h2
@Bjarne2411
@Bjarne2411 Жыл бұрын
Thanks
@MrDelabrousse
@MrDelabrousse Жыл бұрын
it's really well done hat can be updated with auto thread, cone, sphere ect later? like the Russian project
@MaximKachurovskiy
@MaximKachurovskiy Жыл бұрын
I'm working on 1 axis device for 2 years already and there's no end in sight. Check back maybe 5 years from now for a 2 axis one 😂 Cheers!
@MrDelabrousse
@MrDelabrousse Жыл бұрын
@@MaximKachurovskiy so there go on I can't wait to see the result I'm really looking forward to putting this on my lathe with two axes it would be the best on the other hand since I have a system like that the lead screw is damaged really fast I think it would be necessary to put a lead ball screw?
@Valery_1954
@Valery_1954 Жыл бұрын
Привет, Максим! Шестерня установлена прямо на оси энкодера без дополнительных подшипников?
@MaximKachurovskiy
@MaximKachurovskiy Жыл бұрын
Привет! Да. Есть зазор между шпинделем и шестерней так что давление минимальное.
@paulklasmann1218
@paulklasmann1218 Жыл бұрын
What lathe is that?
@MaximKachurovskiy
@MaximKachurovskiy Жыл бұрын
WM210-V from AliExpress, the exact shop where I bought it seems to have closed but there are similar ones.
Electronic lead screw for a micro lathe
8:24
Maxim Kachurovskiy
Рет қаралды 6 М.
I tried the Cheapest Arduino Alternative (that Nobody heard of)
13:31
39kgのガリガリが踊る絵文字ダンス/39kg boney emoji dance#dance #ダンス #にんげんっていいな
00:16
💀Skeleton Ninja🥷【にんげんっていいなチャンネル】
Рет қаралды 8 МЛН
Sigma Kid Hair #funny #sigma #comedy
00:33
CRAZY GREAPA
Рет қаралды 37 МЛН
How to control a DC motor with an encoder
9:30
Curio Res
Рет қаралды 428 М.
Fast and precise turning - metal lathe ELS
2:15
Maxim Kachurovskiy
Рет қаралды 3,6 М.
Why I regret buying X1C
3:05
Maxim Kachurovskiy
Рет қаралды 17 М.
Try these 16 Brilliant ESP32 projects!!!
11:18
ToP Projects Compilation
Рет қаралды 558 М.
Better mini lathe cross-slide
3:36
Maxim Kachurovskiy
Рет қаралды 8 М.
Controlling 3 Stepper Motors with the AccelStepper Library for Arduino
11:49
DIY sonar scanner (practical experiments)
14:30
bitluni
Рет қаралды 1 МЛН
Sphere on a mini lathe
3:31
Maxim Kachurovskiy
Рет қаралды 2 М.
Байкеры помогли доехать маме и сыну 😯
0:20
Фильмы I Сериалы
Рет қаралды 2,6 МЛН
🪠Dad wrapped the plunger in the wrapper of a large lollipop🫣😂
0:44
Гигантский мост взорвали в Китае💣
0:20
Алексей Корчун
Рет қаралды 2,7 МЛН
Когда пытался заново изобрести велосипед
0:11
Короче, новости
Рет қаралды 8 МЛН
A little girl was shy at her first ballet lesson #shorts
0:35
Fabiosa Animated
Рет қаралды 14 МЛН