Skip to content

sehwan03/wpf_uart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

WPF_UART

Project Overview

A development tool for serial communication protocols. Function:

  • Basic serial communication (9600, 57600, 115200 Baudrate)
  • Ascii-Hex-Binary converter + XOR operator

Features

1. Home

image

COM(N): It represents a port connected to a computer. You can select that port for communication.

Select: After setting the baudrate on the right and configuring the COM port, proceed to the next page, the UART window, by clicking 'Select' with the provided information(port, baudrate).

Refresh: The computer is manually searching for the connected port.

Smartphone: You can directly open the Translate window using the private button.

2. UART

image

File: There are Open, Save, and Exit functionalities available.

  • Open: The previously saved text file is retrieved to recover the communication logs.
  • Save: The communication logs are saved as a text file.
  • Exit: Exit the program.

Edit: There are Back, and Clear Communication functionalities available.

  • Back: Go back to the previous page, which is Home.
  • Clear Communication: Reset the communication logs.

Tools: There is Converter functionalities available.

  • Converter: Open the Translate window.

Help: There is About functionalities available.

  • About: Open the About window.

Hex Send: Send the hex values written on the left to the COM port.

UART Tx: Display the sent hex values.

UART Rx: Display the received hex values.

3. Translate

image

If you select one of Ascii, Hex, and Binary and enter the value, the other two are automatically converted and the value is entered. Then, the xor operation is performed on the value, and it is entered into the XOR box.

4. About

image

Examples

1. Initial state

image

HW: Two USB to TTL converters are cross-connected with Rx and Tx.

SW: This program is connected to COM port 5, while Docklight is connected to COM port 6. The baud rate is set to 9600.

2. Tx state

image -> Enter the hex value and click on 'Hex send' image

3. Rx state

image image

Hits

About

for practice

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages