GithubHelp home page GithubHelp logo

bd4sad / serialtest Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wh201906/serialtest

0.0 0.0 0.0 8.96 MB

Serial port test tool on Win/Linux/Android, with realtime plotting, shortcut | 跨平台串口助手,带实时绘图和快捷发送面板

License: GNU Lesser General Public License v2.1

QMake 0.79% C++ 98.97% Java 0.23%

serialtest's Introduction

SerialTest

downloads
A cross-platform serial port test tool.

中文介绍

Features

  • Tested on Windows, Ubuntu, Android, Raspbian
    (Android: Bluetooth SPP)
  • Fast response
    (UI update is separated from Data reception. Disable "Realtime" option in "data" tab for higher speed)
  • Low memory cost
    (Received bytes to memory consumption is about 1:1 in raw dump mode, useful when dumping serial data)
  • Rich encoding support
    (UTF-8/16/32, GB18030, BIG5, KOI8-R, EUC-JP, EUC-KR, …)
  • Flow control support on serialport
    (HW/SW flow control, Modify DTR, RTS, Show CTS, DSR, DCD, RI)
  • Export of raw binary data or selected text
  • Real-time plotting
    (Support multiple plotting modes, graph customization, clear screen command)
  • Customized control(shortcut) panel
    (Send commands/Modify parameters by one click, with prefix/suffix support,import/export, autosend)
  • Flexible layout
    (Detach panels as sub-windows, support window topping)
  • Saving all preferences
    (All preferences are saved in a single file on PC, portable and clean)

Previews

port
port_android
data
plot
ctrl

more previews

Tutorials[WIP]

1.Connect
2.Send&Receive Data
3.Plot

Demos

You can write programs on MCU according to the demos in the demo/ folder
Demo README

Binaries for Windows and Android

You can download pre-built binaries in release page.

Build on Linux

1. Install depencencies

sudo apt-get update
sudo apt-get install qt5-default libqt5serialport5 libqt5serialport5-dev 

2. Get the source code

cd ~
git clone https://github.com/wh201906/SerialTest.git --depth=1
cd SerialTest
mkdir build && cd build

3. Choose how to import QCustomplot

Use QCustomPlot source file(recommended)

You need to download QCustomPlot archive, extract the qcustomplot.cpp and qcustomplot.h in the /src folder(replace the existing qcustomplot.h), then build.

Use QCustomPlot library

If the qcustomplot.cpp doesn't exist in the src/ folder, the qmake will try to find the library file(xxx.so/xxx.dll) in the building directory(where you call the qmake command) and the default library directory.

4. Build and run

qmake ../src
make -j4 && make clean
./SerialTest 

Change Log

Change Log

serialtest's People

Contributors

wh201906 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.