Skip to content

mathoudebine/turing-smart-screen-python

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Icon turing-smart-screen-python

⚠️ DISCLAIMER - PLEASE READ ⚠️

This project is not affiliated, associated, authorized, endorsed by, or in any way officially connected with Turing or XuanFang brands, or any of its subsidiaries, affiliates, manufacturers or sellers of the Turing or XuanFang products. All product and company names are the registered trademarks of their original owners.

This project is an open-source alternative software, NOT the USBMonitor.exe / ExtendScreen.exe or any original software for the smart screens (even if some themes have been reused). Please do not open issues for USBMonitor.exe/ExtendScreen.exe here, instead you can use:

  • for Turing Smart Screen, the official forum here: http://discuz.turzx.com/
  • for XuanFang Smart screen, contact your reseller

Linux Windows macOS Raspberry Pi Python Licence

A Python system monitor program and a library for 3.5" IPS USB-C (UART) displays.

Supported operating systems : macOS, Windows, Linux (incl. Raspberry Pi), basically all OS that support Python 3.x

Supported smart screens models:

Turing Smart Screen XuanFang
also improperly called "revision A" by the resellers revision B & flagship (with backplate & RGB LEDs)

> What is my smart screen model?

Please note the Turing and the XuanFang screens are 2 different products designed and produced by different companies, despite having a similar appearance. The communication protocol is also different.
This project support both products, including backplate RGB LEDs for available models!

If you haven't received your screen yet but want to start developing your theme now, you can use the "simulated LCD" mode!

How to use

> Follow instructions on the wiki to configure and start this project.

There are 2 possible uses of this project Python code:

System monitor

This project is mainly a complete standalone program to use your screen as a system monitor, like the original vendor app.
Some themes are already included for a quick start!

> Configure and start system monitor

Screenshots from the latest version using included themes:

> Themes creation/edition

> Themes shared by the community

Control the display from your Python projects

If you don't want to use your screen for system monitoring, you can just use this project as a module to do some simple operations on the display from any Python code :

  • Display custom picture
  • Display text
  • Display progress bar
  • Screen rotation
  • Clear the screen (blank)
  • Turn the screen on/off
  • Display soft reset
  • Set brightness
  • Set backplate RGB LEDs color (on supported hardware rev.)

Check simple-program.py as an example.

> Control the display from your code

Troubleshooting

If you have trouble running the program as described in the wiki, please check open/closed issues & the wiki Troubleshooting page