Welcome to Our Community

Some features disabled for guests. Register Today.

Arduino Uno, GRBL, VFD

Discussion in 'CNC Mills/Routers' started by Aleksejs, May 13, 2019.

  1. Aleksejs

    Aleksejs New
    Builder

    Joined:
    May 13, 2019
    Messages:
    12
    Likes Received:
    1
    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!
     
  2. Alex Chambers

    Alex Chambers Master
    Moderator Builder

    Joined:
    Nov 1, 2018
    Messages:
    2,694
    Likes Received:
    1,325
    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. :)
     
  3. Aleksejs

    Aleksejs New
    Builder

    Joined:
    May 13, 2019
    Messages:
    12
    Likes Received:
    1
    Hey Alex! Thank you for your fast response!
    Well you can always look into it and learn something new aswell :)
     
  4. sharmstr

    sharmstr OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 23, 2018
    Messages:
    2,035
    Likes Received:
    1,431
    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
     
  5. Aleksejs

    Aleksejs New
    Builder

    Joined:
    May 13, 2019
    Messages:
    12
    Likes Received:
    1
    Thank you!
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice