Hello guys! I am currently building my first CNC machine! In my build i want to use VFD to controll my spindle motor speed thrugh the Arduino UNO. Currently i havent bought neither VFD neither spindle motor. My plan is to have 4,5 kW 400Hz spindle and 4,5 kW 0-400hz VFD to controll it. I have done some research and noticed that there is a possbility to use a Pin that is number 12 ( correct me if im wrong please) and it uses PWM. My VFD will be able to change the spindle speed based on the output voltage of the PIN 12. Question 1: If my VFD can have input for controll speed 0-10 VDC, can arduino output 12 VDC? Question 2: Can pin 13 be used to controll speed of ther spindle and to turn and shut it down? Question 3: If arduino can output only 0-5 vdc, does it mean i can only reach half of my spindle speed, since my input voltage on VFD will only half of what it can have? Thank you for your time! Any help is appreciated!
Welcome to the forum @Aleksejs and good luck with the project. I'm a bit rusty on Arduino but will look this up later if no one else chips in with the answer. Alex.
Hey Alex! Thank you for your fast response! Well you can always look into it and learn something new aswell
Older versions of grbl used pin 12. Starting with grbl v0.9, the PWM pin moved to pin 11. Pin 13 is for spindle direction. Its all in the wiki: gnea/grbl Correct, your vfd wont run full power. You'll need something like an op amp to boost the signal. There's some info in the forums about this, but google is your friend for this. Search "arduino vfd" or "grbl 10v pwm". Here's a start: Help with VFD