Skip to content

mcagriaksoy/Serial-Communication-GUI-Program

Repository files navigation


 .----------------.  .----------------.  .----------------.  .----------------.  .----------------. 
| .--------------. || .--------------. || .--------------. || .--------------. || .--------------. |
| |      __      | || |  _________   | || |     ______   | || |     ____     | || | ____    ____ | |
| |     /  \     | || | |_   ___  |  | || |   .' ___  |  | || |   .'    `.   | || ||_   \  /   _|| |
| |    / /\ \    | || |   | |_  \_|  | || |  / .'   \_|  | || |  /  .--.  \  | || |  |   \/   |  | |
| |   / ____ \   | || |   |  _|      | || |  | |         | || |  | |    | |  | || |  | |\  /| |  | |
| | _/ /    \ \_ | || |  _| |_       | || |  \ `.___.'\  | || |  \  `--'  /  | || | _| |_\/_| |_ | |
| ||____|  |____|| || | |_____|      | || |   `._____.'  | || |   `.____.'   | || ||_____||_____|| |
| |              | || |              | || |              | || |              | || |              | |
| '--------------' || '--------------' || '--------------' || '--------------' || '--------------' |
 '----------------'  '----------------'  '----------------'  '----------------'  '----------------' 

The AFCOM (aka Serial communication GUI program) tool is a software application that allows users to send and receive data via the serial port (COM port) of their computer. The tool can be used for various purposes, such as testing, debugging, or communicating with other devices that use the serial protocol.

mcagriaksoy - Serial-Communication-GUI-Program GitHub tag License issues - Serial-Communication-GUI-Program

Hosted with GH Pages

Features

The COM port tool has the following features:

It supports multiple COM ports and can detect the available ports automatically. It allows users to configure the parameters of the serial communication, such as baud rate. It provides a user-friendly interface that shows the transmitted and received data in hexadecimal, decimal, ASCII, or binary formats. It allows users to save and load the data to and from files.

Usage

The COM port tool is compatible with: OS - Linux OS - Windows

  1. Run the program.
  2. Select a serial port and configure parameters.
  3. Start communication using the Start button.
  4. Send or receive data as needed.
  5. Save received data or clear buffers using the respective buttons.

Project SS

If you encounter any problems while using the COM port tool, try these solutions:

Make sure that the COM port is not used by another application or device. Make sure that the parameters of the serial communication match with those of the device you are communicating with. Make sure that you have sufficient permissions to access the COM port. If you have any questions or feedback, please contact me.

Dependencies

PySide - >= 6.0 PySide_sip - >= 13.0 PySerial - >= 3.0

Documentation

view - Documentation

Executable Command

The following command have been used to create AFCOM.exe
pyinstaller --noconfirm --onefile --windowed --icon "ui/icon.ico"  "src/main.py"

Changes

V1.4.0 - 2025 Update

Feature: Added basic_view_enabled and advanced_view_enabled methods to toggle UI layouts visibility. Implemented start_loop and stop_loop for managing serial communication with threading. Added on_save_txt_button_clicked to save received data to a .txt file.

Improvement: Enhanced error handling for serial communication and worker threads. Added visual feedback for serial port selection and connection status.

Bug Fix: Fixed UI responsiveness during active serial communication.

Refactor: Organized serial communication logic into reusable methods.

License

Released under GNU General Public License v3.0 by @mcagriaksoy.

AFCOM Icon