{"id":21014994,"url":"https://github.com/aresta/serialdataviz","last_synced_at":"2026-02-04T00:42:20.724Z","repository":{"id":262087557,"uuid":"886173022","full_name":"aresta/serialdataviz","owner":"aresta","description":"Plot data from the serial port. Time series plots, XY plots and scatter plots.","archived":false,"fork":false,"pushed_at":"2024-11-17T18:51:40.000Z","size":1847,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T04:33:09.028Z","etag":null,"topics":["arduino","electronics","esp32","serial-communication","serialport"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aresta.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-10T11:56:22.000Z","updated_at":"2024-11-17T19:11:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"e9262613-f36a-4e36-9e69-885324a0cc8b","html_url":"https://github.com/aresta/serialdataviz","commit_stats":null,"previous_names":["aresta/serialdataviz"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aresta%2Fserialdataviz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aresta%2Fserialdataviz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aresta%2Fserialdataviz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aresta%2Fserialdataviz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aresta","download_url":"https://codeload.github.com/aresta/serialdataviz/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254281990,"owners_count":22045067,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arduino","electronics","esp32","serial-communication","serialport"],"created_at":"2024-11-19T10:08:08.648Z","updated_at":"2026-02-04T00:42:20.678Z","avatar_url":"https://github.com/aresta.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Serial Data Plotter\nPlot data from the serial port. Time series plots, XY plots and scatter plots are supported at the moment.\n\nData can be just numbers separated by comas or spaces, or named variables.\n\n![Serial Data Plotter](img/resize.gif) \n\n\n## Requeriments\nPython \u003e= 3.8   (I believe, not tested)\n\n## Installation\n#### Clone the github repository\n```\ngit clone https://github.com/aresta/serialdataviz\ncd serialdataviz\n```\n#### Install a Python virtual environment (Optional)\n```\npython -m venv venv\nsource venv/bin/activate\n```\n#### Install dependencies\n```\npip install -r requirements.txt\n```\n\n## Run\n```\npy serialdataviz.py\n```\n\n## Serial Data formats\nYou should send the values in the serial port with one of the next formats, depending on the plot type and if you want to name the variables.\n\nThe plot type can be selected in the configuration dialog of the application.\n### Time series\n- One number per line.\n```\n10.58\n13.84\n16.80\n-19.38\n-21.52\n```\n- Several numbers per lines, separated by comas or spaces. Each number will get a default variable name: Var1, Var2...\n```\n10.58,70.67,-6.27\n13.84,72.12,36.46\n16.80,73.60,72.71\n24.95,83.35,-41.07\n24.42,85.13,-78.28\n```\n- Several groups, separated by comas or spaces:  \n```\n\u003cvar_name\u003e:number\n```\n```\nSignal_A:10.58,Signal_B:70.67,Another:-6.27\nSignal_A:13.84,Signal_B:72.12,Another:36.46\nSignal_A:16.80,Signal_B:73.60,Another:72.71\nSignal_A:24.91,Signal_B:81.62,Another:4.77\nSignal_A:24.95,Signal_B:83.35,Another:-41.07\nSignal_A:24.42,Signal_B:85.13,Another:-78.28\n```\n![Serial Data Plotter](img/serialdataviz1.jpg) \n\n### XY plot and Scatter plot\n- Two numbers *x,y* per line, separated by comas or spaces.\n- Several pairs, separated by semicolons. Each pair will get a default variable name: Var1, Var2...\n```\nnumber,number;\n```\n- Several groups of var names and values , separated by semicolons:\n```\n\u003cvar_name\u003e:number,number;\n```\n\n```\nTest:-9.27,-9.65;Another one:0.59,4.94\nTest:-9.73,-9.33;Another one:-0.66,4.39\nTest:-9.96,-8.93;Another one:-1.86,3.30\nTest:-9.98,-8.44;Another one:-2.95,1.82\nTest:-9.77,-7.86;Another one:-3.86,0.11\nTest:-9.34,-7.20;Another one:-4.53,-1.61\n```\n\n![Serial Data Plotter](img/XY.gif) \n\nTake into account that the variable names and the data structure will be parsed only from the first valid line received.  The application expects that all lines will have the same structure, so you shouldn't change the order of the variables on the fly.\n\n## Cursors\n\nYou can use the cursors to measure positions or relative distances. \n\nIn the time series plot if you configure the rate of each received sample (in seconds, milliseconds or microsenconds), the X axis will show the time units and the cursor delta will show also the frequency.\n\n![Serial Data Plotter](img/cursors.gif) \n\n## License\nDistributed under the GPL v3.0 or later License. See the LICENSE file in the root of the project for more information.\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faresta%2Fserialdataviz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faresta%2Fserialdataviz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faresta%2Fserialdataviz/lists"}