The CNC Serial Communicator is a PyQt6-based GUI application designed to facilitate communication with CNC machines via a serial port. The application allows users to configure serial port settings, select and send CNC program files, receive data from the CNC machine, and save the received data.
-
Clone the repository:
git clone https://github.com/yourusername/cnc-serial-communicator.git cd cnc-serial-communicator -
Install the required packages:
pip install PyQt6 pyserial
-
Run the application:
python cnc_serial_app.py
- Open the application: Run the
cnc_serial_app.pyscript to open the GUI. - Configure serial port settings: Use the combo boxes to select the desired serial port settings.
- Open the serial port: Click the "Open Serial Port" button to open the serial port with the selected settings.
- Select a file: Click the "Select File" button to open a file dialog and select a CNC program file.
- Send the file: Click the "Send File" button to send the selected file over the serial port.
- Receive data: Click the "Receive Data" button to receive data from the CNC machine and display it in the text edit widget.
- Save received data: Click the "Save Received Data" button to open a file dialog and save the received data to a file.
- Close the serial port: Click the "Close Serial Port" button to close the serial port.
We welcome contributions to the CNC Serial Communicator project! To contribute, please follow these steps:
- Fork the repository: Click the "Fork" button at the top right of this page to create a copy of this repository in your GitHub account.
- Clone your fork: Clone your forked repository to your local machine.
git clone https://github.com/yourusername/cnc-serial-communicator.git cd cnc-serial-communicator - Create a branch: Create a new branch for your feature or bug fix.
git checkout -b my-feature-branch
- Make your changes: Make your changes to the codebase.
- Commit your changes: Commit your changes with a descriptive commit message.
git commit -m "Add new feature" - Push to your fork: Push your changes to your forked repository.
git push origin my-feature-branch
- Create a pull request: Open a pull request to the main repository, describing your changes and why they should be merged.
This project is licensed under the MIT License. See the LICENSE file for more details.