Hello Guest it is June 15, 2025, 02:57:24 PM

Author Topic: Mach3 to auxiliary spindle on arduino...  (Read 1933 times)

0 Members and 1 Guest are viewing this topic.

Mach3 to auxiliary spindle on arduino...
« on: February 06, 2025, 01:20:30 PM »
Hi,sorry dor my bad english...
I want use an secondary spindle on turret of tools,it not have hard precision,not all,no problem,im use an simply brushless for drone,he esc,it is connected at power supply and an pwm output of arduino...
Now star my problem...

im necessity use that on this system:
on arduino is setup if max speed is 6000 rpm

when on my gcode im write  S3000M103 ,arduino output at 50% and rotation Cw
when on my gcode im write  S6000M103 ,arduino output at 100% and rotation Cw

when on my gcode im write  S3000M103 ,arduino output at 50% and rotation CCw
when on my gcode im write  S6000M103 ,arduino output at 100% and rotation CCw
when on my gcode im write  M105 ,arduino stop a motor

How setup mach3 ?? im know if necessity make an macro,arduino is connected on he usb.
What is on arduino ??
im look more post and more exaple but no one run on my situation...is possible help me with an example or picture of settings ??



When

1)
Re: Mach3 to auxiliary spindle on arduino...
« Reply #1 on: April 15, 2025, 12:38:33 PM »
sorry,i have make an mistake....

when on my gcode im write  S3000 M103 ,arduino output at 50% and rotation Cw
when on my gcode im write  S6000 M103 ,arduino output at 100% and rotation Cw

when on my gcode im write  S3000 M104 ,arduino output at 50% and rotation CCw
when on my gcode im write  S6000 M104 ,arduino output at 100% and rotation CCw
when on my gcode im write  M105 ,arduino stop a motor