SerialUI provides a graphical interface to send and receive text from the serial port, including a serial plotter for displaying numerical data. It optimizes high data rate visualization of signals and text, offering features beyond the Arduino IDE Serial Plotter.
pip3 install pyqt5
orpip3 install pyqt6
user interfacepip3 install pyqtgraph
displaypip3 install numpy
data gathering and manipulationpip3 install pyserial
serial interfacepip3 install markdown
help filepip3 install wmi
on Windows for USB device notificationspip3 install pyudev
on Linux for USB device notifications- One liner Windows:
pip3 install pyqt5 pyqtgraph numpy pyserial markdown wmi
- One liner Linux:
pip3 install pyqt5 pyqtgraph numpy pyserial markdown pyudev
Installation of PyQt5/6 on has its own dependencies. If it fails, read the suggested solution in the error message.
The main program is SerialUI.py
, uses files in the assets
and helper
folders.
- Plug in your device and hit scan ports.
- Select serial port, baud rate, and line termination (
\r\n
is most common).
- Set serial port as described above.
- Select the serial monitor tab.
- Start the text display.
- Save and clear displayed data as needed.
- Set serial port as described above.
- Enter text in the line edit box and hit enter.
- Use up/down arrows to recall previous text.
- Set serial port as described above.
- Open the Serial Plotter tab.
- Select data separator (Simple or with Headers).
- Start plotting.
- Adjust view with the horizontal slider.
- Click stop and zoom with the mouse.
- Save and clear plotted data.
To display data in numeric fields ... Feature not completed yet.
Urs Utzinger, 2022-2024 (University of Arizona)
Cameron K Brooks, 2024 (Western University)