Skip to content

lkdhruw/CNC1419-Serial-Control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

CNC1419 Serial Control Scripts

This repository contains Python scripts to control the CNC1419 workbench via serial (GRBL) commands. These scripts allow for automated movements and simple machining operations like hole creation without using the default software.

Features

  • Direct Serial Control: Communicates with the CNC1419 via COM port (default COM7) at 115200 baud.
  • Robust G-code Execution: Standard "send-and-wait" execution with support for status report filtering and error handling.
  • Automated Tasks:
    • cnc_control.py: Moves the spindle down and traces a 50mm diameter circle.
    • hole_creation.py: Creates a 30mm diameter hole with layered depth passes (from surface down to -24mm).

Requirements

  • Python 3.x
  • pyserial library

Install dependencies:

pip install pyserial

Usage

  1. Connect your CNC1419 to your computer and identify the COM port (e.g., COM7).
  2. Close any other CNC software (like CNCBox or Benbox).
  3. Update the PORT variable in the scripts if your COM port is different.
  4. Run the desired script:
    python cnc_control.py
    # or
    python hole_creation.py

Safety Warning

Warning

Always ensure the machine's path is clear before running these scripts. Keep your hand near the emergency stop or power source while the machine is in motion.

Disclaimer

These scripts are provided for educational purposes. Use them at your own risk. The author is not responsible for any damage to your machine or workpiece.

About

Python scripts for controlling CNC1419 via serial GRBL commands

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages