bdring / Grbl_Esp32

A port of Grbl CNC Firmware for ESP32
GNU General Public License v3.0
1.7k stars 531 forks source link

Add spindle function #879

Open yeyoubin opened 3 years ago

yeyoubin commented 3 years ago

https://github.com/KnightSin/Grbl_Esp32 Can the spindle function in this branch band code be integrated in the next update? When it is used in writing machine, electromagnet and rudder are added to the spindle. And when changing the spindle function, you only need to enter $spindle / type = en or $spindle / type = sever in the command bar

bdring commented 3 years ago

Can you provide links to that spindle? I have never heard of it.

yeyoubin commented 3 years ago

https://detail.tmall.com/item.htm?id=530629424244&ali_refid=a3_430676_1006:1104520036:N:x2WZ9EGCA0Bbe/NuzYlpVQ==:70e8ac2953e6543d7cf5751e59eb4351&ali_trackid=1_70e8ac2953e6543d7cf5751e59eb4351&spm=a2e1u.19484427.29996460.24 steering engine O1CN01TurEoS2FQLBqL88SW_!!0-saturn_solar jpg_468x468q75 jpg_ webp

https://item.taobao.com/item.htm?id=601827000360&ali_trackid=2:mm_26632323_6762370_25910879:1619338376_145_461879816&union_lens=lensId:OPT@1619338360@212b7270_07e2_17908167897_ad10@01;recoveryid:201_11.23.72.131_522460_1619338254446;prepvid:201_11.1.81.73_631471_1619338360188&clk1=e329782072aa96ff6b4949e0d16b5101&spm=a2e1u.19484427.29996460.6&pvid=100_11.229.250.111_85960_1991619338360787765&scm=null&bxsign=tbkb5KuhqkaZBme963SSxpvv44ikiJIoOdXHc9q75Pdt3k5kB7wkUG/8B2Y6Q4UCCNZZPjF1m7T5vEB/FjYaF7KSeumFcnktYAiGR7DRP3Ma7w= electromagnt O1CN01DebAxi1BwcdLuLWnQ_!!0-saturn_solar jpg_468x468q75 jpg_ webp Used fro pen lifting of writing machine

bdring commented 3 years ago

We would not consider those spindles. We do have support for hobby servos as an axis motor. They are commonly used in pen plotters.

We could add an solenoid axis motor.

lkarlslund commented 3 years ago

Solenoid with variable pressure would be great for vinyl cutters too - I think that's what many of them are using. But really it's just an analogue out (PWM) translated from GCode.