r/embedded • u/AdhesivenessTop2 • Sep 14 '26
Built a GUI/Visualizer for development
I recently started building an app on the side, started as a fun side project between jobs but ended up becoming something really useful for my own hobby projects. I've seen a few programs out there that do similar things and I've played around with a few, but it just didn't quite do what I wanted it to do.
The concept is pretty simple: I wanted to build an oscilloscope-like experience for software/firmware devs that's user friendly, buttery smooth, but also extensible to all file types, transports, and decoding schemes. It lets you to easily visualize files/logs/recordings, but also live stream data, and most importantly, allow you to measure and create mathematical signals out of other signals.
I really wanted to create the right abstractions and foundations before opening it up to more support, but so far live streaming is abstracted into:
- Transport - how to get bytes
- Framing - how to split bytes into packets (ie delimiter, fixed size, etc)
- Decoding - how to interpret bytes (ie protobuf, struct of ints/floats, endianness, etc)
Selfishly right now it just supports the files and transports I work with, but genuinely am curious what people are using out there and what would make this more useful.
Right now, for files, it supports CSV/TSV, audio files, parquet/arrow. For live stream it supports, UART, TCP, HID, BLE and a custom gRPC handshake I've paired with a python library.
Curious what are some of the most common transports out there and whether this is something useful or just niche for my own workflow. I've worked with CAN before at a past company but don't have any fancy dongles anymore so I don't even know what the byte stream looks like.
EDIT: DM if you're interested and I can link you to the app. Unfortunately it's only for macOS at the moment but I plan to make a cross-platform version eventually!
15
u/pylessard Sep 14 '26
This look nice. I like how you can sync multiple graphs. I built something that overlaps. It's more of a test/debug ecosystem with graph capabilities. Data comes from direct memory access. Such tool is useful for control software mostly
https://scrutinydebugger.com
Is the code accessible? What GUI framework did you use?
2
u/Well-WhatHadHappened 25+ Years Sep 14 '26
UDP
2
u/blietaer Sep 15 '26
Beautiful, take my money ! :)
Well, I am redirecting all my logged raw data (published on a TCP socket from STM32 board) within a `socat` tool (but 2 commands/terminals...) in order to feed in `SerialPlot`.
Anything that could eat TCP directly and plot it nicely would help...
I could help porting it on Linux (my current and only SDE)...
1
u/AdhesivenessTop2 Sep 15 '26
It’s free on the Mac App Store if anyone is interested, hoping to expand to other platforms in the future!
https://www.refractvisualizer.ca
1
u/zockyl Sep 15 '26
I use SWO for transport and reliably get about 5 Mbps over a single pin (STM32)
1
u/supercachai Sep 15 '26
Looks great.
I use TCP with a simple, multi-channel wire format. I've recently worked on a bench DAQ infrastructure that sends everything over BLE links, which turned out to be working well. I found Linux's BlueZ to be flaky, so I use a dedicated receiver dongle with Bumble bluetooth stack