Serial-Studio/README.md

100 lines
5.1 KiB
Markdown
Raw Normal View History

2020-10-18 06:50:26 -05:00
<a href="#">
2021-09-12 12:47:10 -05:00
<img width="192px" height="192px" src="doc/icon.svg" align="right" />
2020-10-18 06:50:26 -05:00
</a>
# Serial Studio
2021-10-19 22:59:31 -07:00
[![Build Status](https://github.com/Serial-Studio/Serial-Studio/workflows/Deploy/badge.svg)](https://github.com/Serial-Studio/Serial-Studio/actions/)
2021-09-24 01:03:27 -05:00
[![CodeQL](https://github.com/Serial-Studio/Serial-Studio/workflows/CodeQL/badge.svg)](https://github.com/Serial-Studio/Serial-Studio/actions?query=workflow%3ACodeQL)
2021-01-21 20:39:23 -05:00
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/4b6f3ce14a684704980fea31d8c1632e)](https://www.codacy.com/gh/Serial-Studio/Serial-Studio/dashboard?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=Serial-Studio/Serial-Studio&amp;utm_campaign=Badge_Grade)
2021-01-09 21:10:52 -05:00
[![Github All Releases](https://img.shields.io/github/downloads/Serial-Studio/Serial-Studio/total.svg)](https://github.com/Serial-Studio/Serial-Studio/releases/)
2021-10-20 20:32:18 -05:00
[![Gitter](https://badges.gitter.im/Serial-Studio/community.svg)](https://gitter.im/Serial-Studio/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
2021-01-19 23:34:47 -05:00
[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v1.4%20adopted-ff69b4.svg)](CODE_OF_CONDUCT.md)
2021-09-04 21:22:32 -05:00
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/donate?hosted_button_id=XN68J47QJKYDE)
2020-10-18 06:50:26 -05:00
Serial Studio is a multi-platform, multi-purpose serial data visualization program. The goal of this project is to allow embedded developers & makers to easily visualize, present & analyze the data generated by their projects and devices, without the need of writing specialized computer software for each project.
The need for this project arose during the development of the Ground Station Software for several CanSat-based competitions in which I participate. It's simply not sustainable to develop and maintain different GSS programs for each competition & project. The smart solution is to have one common Ground Station software and let each CanSat define how the data is presented to the end user by using an extensible communication protocol.
2020-12-30 01:39:17 -06:00
Furthermore, this approach can be extended to almost any type of project that involves some kind of data acquisition & measurement. If you want a more in-depth explanation of why this project exists, and what its all about, check [this blog post](https://www.alex-spataru.com/blog/introducing-serial-studio).
2020-10-18 06:50:26 -05:00
2021-04-15 16:52:57 +01:00
Serial studio started out receiving data over a hardware serial port, but can now receive data over serial, MQTT and websockets (TCP/UDP).
2020-12-24 22:06:31 -06:00
**NOTE:** Information regarding the communication protocol is provided in the [wiki](https://github.com/Serial-Studio/Serial-Studio/wiki/Communication-Protocol).
2021-09-28 17:05:16 -05:00
*Read this in other languages*: [Español](doc/README_ES.md) [简体中文](doc/README_ZH.md) [Deutsch](doc/README_DE.md)
2020-12-24 19:53:01 -06:00
2021-10-21 15:46:46 -05:00
![Software usage](doc/mockup.png)
2020-10-18 06:50:26 -05:00
2021-09-04 13:24:11 -05:00
## Install
2021-09-04 13:47:05 -05:00
You can [download](https://github.com/Serial-Studio/Serial-Studio/releases/latest) and install Serial Studio for your preferred platform.
2021-09-04 13:24:11 -05:00
GNU/Linux users must enable the `executable` flag before attempting to run the application:
```bash
chmod +x SerialStudio-1.1.1-Linux.AppImage
./SerialStudio-1.1.1-Linux.AppImage
2021-09-04 13:24:11 -05:00
```
2021-10-20 03:06:18 -05:00
You can also use the [AppImageLauncher](https://github.com/TheAssassin/AppImageLauncher/) to integrate Serial Studio with your system.
2021-09-04 13:24:11 -05:00
### Prebuilt Linux packages
Arch Linux users can install [serial-studio-git](https://aur.archlinux.org/packages/serial-studio-git/) from the aur, e.g. with [aurutils](https://aur.archlinux.org/packages/aurutils/):
```bash
aur fetch serial-studio-git
aur build
sudo pacman -S serial-studio-git
```
## Licence
This project is released under the MIT license, for more information, check the [LICENSE](LICENSE.md) file.
## Development
2020-10-18 06:50:26 -05:00
2021-09-28 17:05:16 -05:00
### Requirements
2020-10-18 06:50:26 -05:00
2021-10-01 01:29:16 -07:00
The only requirement to compile the application is to have [Qt](http://www.qt.io/download-open-source/) installed in your system. The desktop application will compile with **Qt 6.2.0**. You will need to select the `qtserialport` and `qt5compat` modules while installing Qt.
2021-02-01 11:24:10 -05:00
On GNU/Linux systems, you will also need to install `libgl1-mesa-dev` in order to compile the application.
Full list of used Qt modules:
2021-09-30 19:47:24 -05:00
- Qt SVG
2021-02-01 11:24:10 -05:00
- Qt Quick
- Qt Widgets
- Qt Serial Port
2021-02-01 11:33:39 -05:00
- Qt Quick Controls
2021-02-01 11:24:10 -05:00
- Qt Quick Controls 2
2021-09-28 17:05:16 -05:00
### Cloning
2021-01-18 10:57:23 -05:00
2021-01-18 12:20:36 -05:00
This repository makes use of [`git submodule`](https://git-scm.com/book/en/v2/Git-Tools-Submodules). In order to clone it, execute these commands on your Terminal:
2021-01-18 10:57:23 -05:00
git clone https://github.com/Serial-Studio/Serial-Studio
cd Serial-Studio
git submodule init
git submodule update
2021-01-20 09:16:40 +08:00
2021-01-18 10:57:23 -05:00
Alternatively, just run:
git clone --recursive https://github.com/Serial-Studio/Serial-Studio
2021-01-20 09:16:40 +08:00
2021-09-28 17:05:16 -05:00
### Compiling the application
2020-10-18 06:50:26 -05:00
Once you have Qt installed, open *Serial-Studio.pro* in Qt Creator and click the "Run" button.
Alternatively, you can also use the following commands:
qmake
make -j4
2021-09-04 13:24:11 -05:00
## Tipping
2020-10-18 06:50:26 -05:00
2021-09-04 13:24:11 -05:00
If you find Serial Studio suitable for your needs, please consider [giving me a tip through PayPal](https://www.paypal.com/donate?hosted_button_id=XN68J47QJKYDE). Or, if you prefer to buy me a drink *personally* instead, just [send me a DM](https://instagram.com/aspatru) when you visit [Querétaro, Mexico](https://en.wikipedia.org/wiki/Querétaro), where I live. I look forward to meeting you!
2020-10-18 06:50:26 -05:00