Welcome to Our Community

Some features disabled for guests. Register Today.

Moving from UCCNC to GRBL

Discussion in 'Controller Boards' started by DavidR8, Nov 18, 2024 at 1:56 AM.

  1. DavidR8

    DavidR8 New
    Builder

    Joined:
    Feb 3, 2021
    Messages:
    5
    Likes Received:
    0
    Hey folks, I have a PrintNC router that I've been running on UCCNC but lately it's been giving me fits. Most recently the machine config file became corrupted and I had to reconfigure the entire software seetup and it's still not quite right.
    I have on hand an Arduino Mega board and am looking at GRBL-Mega-5X as firmware.
    It looks looks like it will handle my dual Y-axis motors and three limit switches no problem.
    Wondering about analog spindle control via 0-10v to run into my YL620 VFD.
    Can the the Mega board and Mega-5X output a variable voltage output to control my VFD?
     
  2. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,041
    Likes Received:
    4,312
  3. DavidR8

    DavidR8 New
    Builder

    Joined:
    Feb 3, 2021
    Messages:
    5
    Likes Received:
    0
    Thanks for your reply.
    I already have a complete control system built with power supplies, relays, stepper drivers etc so I’m not really looking to replace all of that. Just looking for some feedback on whether or not an Arduino Mega running Mega X can control my VFD.
     
  4. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,454
    Likes Received:
    1,915
    the Mega does not have 10v output, you will have to find a PWM to 0-10v converter and wire it up.
    unless your VFD can take 5V PWM input directly?
     
  5. DavidR8

    DavidR8 New
    Builder

    Joined:
    Feb 3, 2021
    Messages:
    5
    Likes Received:
    0
    The vfd input voltage is adjustable as I had to adjust it because my existing controller was only outputting 9.6v max which meant the vfd wasn’t reaching 400Hz. I adjusted max expected voltage to 9.6v and it then went to 400Hz.Definitely worth a try.
     
  6. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,041
    Likes Received:
    4,312
    Some can do 0-5v analog, but PWM doesn't work for most of those we've been involved with either (not smooth enough, sample rate too high) - must be PWM to analog converter
     
    David the swarfer and DavidR8 like this.
  7. JustinTime

    JustinTime Veteran
    Builder

    Joined:
    Dec 18, 2013
    Messages:
    784
    Likes Received:
    259
    My CNC runs on a Teensy4.1 with GRBLHal. I had a similar problem where the Teensy only gives out 3.3V PWM (or something like this).
    I googled the problem and saw a few places suggesting to use this item. I have installed it in my VFD (there is enough space for it) and now my spindle starts and stops with Gcode.
     
    DavidR8 likes this.
  8. DavidR8

    DavidR8 New
    Builder

    Joined:
    Feb 3, 2021
    Messages:
    5
    Likes Received:
    0
    That’s brilliant, 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