Welcome to Our Community

Some features disabled for guests. Register Today.

Arduino based off-line CNC controller for laser

Discussion in 'Controller Boards' started by Kozel, Nov 21, 2018.

  1. Kozel

    Kozel Well-Known
    Builder

    Joined:
    Nov 21, 2018
    Messages:
    2
    Likes Received:
    2
    [​IMG]
    The controller is designed to control the laser or nichrome burner. The controller works completely off-line, programs are executed from the SD-card, but you can send data from the PC.

    CONNECTION DIAGRAM
    [​IMG]
    About marking the nominal values of the resistors: take instead of R, for example, 2k, then 2R will be 2 * 2k = 4k (3.9k), and 4R - 4 * 2k = 8k (8.2k). I use: 1k, 2k and 4.7k

    BUTTONS
    • LEFT, RIGHT, UP and DOWN - moving the laser, if the button is released within 0.4 seconds, the laser will move to the nearest grid point. If the button remains pressed, the motion will continue until the button is released. The stop is always linked to the grid point. During the execution of the program, the UP and DOWN buttons change the feed rate (Feed Override), within 10-200%, with a 5% step;
    • XY-0 - returns the laser to the origin. Or set the origin, just press and hold the button for 0.4 seconds;
    • HIGH/LOW - select the speed of manual laser movements;
    • LASER - turn on the laser in marker mode (min power);
    • RUN/PAUSE - opens the file selection screen, press again to confirm the selection;
    • STOP - stops the program execution, or closes the file selection screen;

    SUPPORTED COMMANDS
    • G0 - rapid move;
    • G1 - linear interpolation;
    • G4 Px - pause program execution, x - seconds;
    • G20 - switch to inch system;
    • G21 - switch to the metric system;
    • G90 - absolute coordinate system;
    • G91 - relative coordinate system;
    • G93 - Inverse Time, the laser movement should be completed after 1/F minutes;
    • G94 - feed rate in mm/min format;
    • M3 Sx - turn on the laser at the specified power, x - value from 0 to 255 (0 - off / 255 - max power);
    • M5 - turn off the laser;

    VIDEO

    FIRMWARE
    The origin in the upper left corner. Information about controller configuration and error codes in the archive, in the 'DOC' folder.
    KaskadeCNC.zip
     
    #1 Kozel, Nov 21, 2018
    Last edited: Nov 21, 2018
    JustinTime and Rick 2.0 like this.
  2. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Resident Builder Project Maker Contest Winner! Builder

    Joined:
    Mar 1, 2017
    Messages:
    363
    Likes Received:
    275
    Care to share the source code too? :)
     
  3. Kozel

    Kozel Well-Known
    Builder

    Joined:
    Nov 21, 2018
    Messages:
    2
    Likes Received:
    2
    Sorry, no.
     

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