An open API service indexing awesome lists of open source software.

https://github.com/philipmur/serial-comm-tester

Serial Communications Test Tool written in C# .NET Framework
https://github.com/philipmur/serial-comm-tester

bcc checksum crc modulus-checking philip protocol rs232 rs485 serial serial-communications-test serial-ports usb-serial-adapters

Last synced: 5 months ago
JSON representation

Serial Communications Test Tool written in C# .NET Framework

Awesome Lists containing this project

README

        

# Serial-Comm-Tester
Serial Communications Test Tool written in C# (csharp) .Net (dotNet) Framework in Visual Studio.

Serial Comm Tester is written by Philip Murray and released under the GPL-V2 License.

Contributors and collaborators are welcome !!!!!

This started as a basic Serial communications test tool that i created for when at work to make my life easier working with rs232 , rs485 / serial com ports and to monitor data sent and recieved.

Alot of other Serial programs are BUGGY as hell so i made my own and added to it over time.

My Goal is to add features like Modbus , 12c and other protocols or if someone want's to contribute or collaborate i would be very gratefull aswell as everyone knows time is money now and a succesful commit will be added to a changelog.

This is licensed under the GPL-V2 as to keep any versions of this OPEN-SOURCED and maybe grow into a bigger more comprehensive program and keep it free for all to use and modify as alot of programs like this expect payment.

# [Download](https://goo.gl/1C23rv)
Current working Software can be downloaded here [Serial-Comm-Tester Download](https://goo.gl/1C23rv)

# [Usage](https://www.youtube.com/watch?v=0xCK9FXaT0o)
To see a Basic operation of the software click here [My Youtube Channel](https://www.youtube.com/watch?v=0xCK9FXaT0o)

# Features.....

![screenshot 283](https://user-images.githubusercontent.com/27295232/35466943-ba659332-0300-11e8-9ed0-1cf4c33e81c3.png)
https://github.com/PhilipMur/Serial-Comm-Tester/wiki

![screenshot 625](https://user-images.githubusercontent.com/27295232/35466956-e85d7746-0300-11e8-8fc0-320ff75113e7.png)

# Multi Encodings :

utf-8
utf-16
utf-16-BigEndian
utf-32
utf-32-BigEndian
us-ASCII
windows-1252
extended-ASCII
IBM-437
iso-8859-1

# Serial Read/ Write :

Hexadecimal
Decimal
Encodings listed above

# Full Serial Port Control.

> Send To the Serial port from a file.

> Send with automatic Control characters (Break / carrige return / Line feed or both).

> Multiple repeat send commands (repeat values and delay fully adjustable).

> Auto send Keystrokes as typed.

> Convert text automatically to Hexadecimal and Decimal values.

> Graph functions ( Set Interval / RX & TX Counter).

> Find Active Com ports

![screenshot 627](https://user-images.githubusercontent.com/27295232/35466963-02b920b8-0301-11e8-890b-668ec7283ed5.png)

# Realtime Serial Port Information :

RTS
DTR
TX
RX
CD
DSR
CTS
RI
BI
Send Counter
Read Counter

> Clear In/Out Buffers

> Manual Control Over (RTS) Ready To Send and (CTS) Clear To Send.

> Set Font on all Fields.

> Save To File.

> Auto Save to file (option to append or overwrite last data).

![screenshot 647](https://user-images.githubusercontent.com/27295232/35467004-6f5f418e-0301-11e8-9fc3-0f8bd2e0bcbe.png)

# Conversion Tables :

Ascii text to Hexadecimal
Ascii text to Decimal
Ascii text to Octal
Ascii text to Binary
Hex to Decimal
Hex to Ascii
Decimal to Hex
Hex Chart
Unicode Chart

![screenshot 649](https://user-images.githubusercontent.com/27295232/35466994-455de7be-0301-11e8-817d-36dd2d90b602.png)

# CRC /Checksum /BCC / Calculator :

CRC8
CRC8_DVB
CRC8_SAE_J1850

CRC_16_CCITT_ZERO
CRC_16_XMODEM
CRC_16_CCITT_FALSE
CRC_16_AUG_CCITT
CRC_16_TELEDISK
CRC_16_T10_DIF
CRC_16_DECT_X
CRC_16_DDS_110
CRC_16_CDMA2000
CRC_16_BUYPASS
CRC_16_MODBUS

CRC_32

2s Complement 8 bit
2s Complement 16 bit

Modulo 256

BCC (Block Check Character)

# Uses In The Real World

> Test USB To Serail Convertes (loop TX - RX)

> Check for data Loss

> Test cables (where cable lenghts maybe an issue etc...).

# Test communications on devices :

Arduino
Rasberry Pi
Modems
Embedded Hardware
Printers
RFID
etc...

# Test different Serial protocols :

UART Protocol
USART Protocol
USB Protocol
I2C Protocol
SPI Protocol
CAN Protocol
Modbus RTU
Modbus ASCII
LON
Proprietary Protocols

# Test functions on :

RS232
RS485
RS422
LON
1-Wire
I2C
etc...

> Test CRC / Checksums /BCC and others to verify commands sent and recieved.

> Use as a Listener on RS485 , 422 etc..

# Plans for the future

I wish to add other protocols and additional features , hopefully with the help of Contributors from Github and make this an easy to use , fucntional and comprehesive FREE Serial communcations test tool available .

This is an essential tool for any developer wanting to Implement a proprietary Protocol or to get a project up and running faster for popular protocols.

I will update the usage when i get time , i thought i would share this project and see if it can grow further here.

Happy coding.

Philip