A package for visualisation of serial data in a grid.
Project description
serial-visualisation
For simple visualisation of serial input (e.g. from an Arduino or similar device).
Version: 1.2.0
Author: ES Alexander
Release Date: 12/Dec/2019
You need to know:
Allows the reading of serial input to a computer, and display of it in a grid as an image. The displayed grid can be optionally blurred for sub-pixel resolution, and can also be formatted with a fully-customisable RGB or greyscale colourmap. The displayed grid can be saved to a constant-framerate video.
Each set of serial values should be separated by a newline character ('\n'), and values within a set should be tab-separated ('\t').
To run:
- download and install Python 3 if not already installed (select add to PATH)
- windows users: open command prompt (e.g. press windows key, type cmd, press enter), Mac users: open terminal
- type
pip install --upgrade serial-visualisation
(only have to do this once at the start of your session, and probably only once per computer) - this step may cause issues if python and/or pip are not in your PATH. Google 'add pip to path' for a solution. Users with multiple Python installs may need to usepip3
instead ofpip
. - make sure your Arduino software on the computer isn't using the serial port (only one program can access it at once, so program the Arduino normally, and then just don't open the serial plotter or monitor, and run this instead)
- run using
python -m serial_grid.serial_grid
(orpython3
with multiple Python installs) - answer the questions, and optionally save your settings
- wait for it to start displaying (takes a few seconds it seems)
- click the Data window and press 'q' or 'Q' or Escape to quit, or press 'p' (play/pause), 'c' (continue), or 's' (start/stop) to pause and/or resume the display (they're all the same, just pick your preferred key).
I hope this works well for your project! If there are any problems, or suggestions for improvement, please submit an Issue on the github page (https://github.com/ES-Alexander/serial-visualisation/issues).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for serial-visualisation-1.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20d93f67ea25b33a6e4a27b1c98044353e99e8df3e8982577a12b4781415525c |
|
MD5 | 69b05d35c0a800d2ae48e5c89fb593cf |
|
BLAKE2b-256 | c85121ff414df04c9b584d4c69f16912b033d6fe81ff5e7da5211fa7db238bd6 |
Hashes for serial_visualisation-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 829ad2960b0d52002a75022d0675a66230e49594000415450537cfe3496e6841 |
|
MD5 | 0d6e79d698dfd82ffc151bdce610dca4 |
|
BLAKE2b-256 | 6dccf099c093f5e31ca4a14b179994328067b6c3cea910f3e9870ed76d6f1959 |