I am at the point where I want to control my VFD/spindle with G-code and my arduino/GRBL/UGS set up.
How do I do this?
Thanks
I am at the point where I want to control my VFD/spindle with G-code and my arduino/GRBL/UGS set up.
How do I do this?
Thanks
anybody?
Somebody must have done this?
What VFD do you have? Make Model ....post the pdf Manual here for both arduino hardware and your VFD of what you have. Helps to have the roadmap of where to go
I am running an Arduino UNO(not a knock off)with a proto screw shield and GRBL 1.1. It is a 3kw Huanyang VFD.
Attachment 420152
I am not aware of any PDF of the manual but I have a hardcopy.
GRBL outputs a 0..5 Volt PWM signal. This has to be fed into your VFD. If your VFD doesn't accept PWM signals, you have to add a PWM to Voltage converter. There are modules to but like this one https://www.banggood.com/PWM-To-Volt...r_warehouse=CN but I don't know if it is any good.
As an alternative, you can add a resistor/capacitor filter to change the PWM to a voltage signal. Beware, the output is than limited to 0..5 Volt, the arduino voltage swing.
GRBL also has an output signal that can be used to just start (power on) the spindle. This signal can be fed to a relay that powers the spindle motor. But maybe your VFD has an input signal to do this that accepts 0..5 volt.
You can do both, start the spindle and set the speed.