Skip to content

Serial Communications Test Tool written in C# .NET Framework

License

Notifications You must be signed in to change notification settings

PhilipMur/Serial-Comm-Tester

Repository files navigation

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.

Current working Software can be downloaded here Serial-Comm-Tester Download

To see a Basic operation of the software click here My Youtube Channel

Features.....

screenshot 283 https://github.com/PhilipMur/Serial-Comm-Tester/wiki

screenshot 625

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

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

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

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