描述
It features Python script capability that gives you the greatest flexibility.
Why script capability is desirable for USB serial tool?
Electrical engineers find it handy to use a hand held device like Android phone or tablet to debug or monitor serial communication in the field, factory or lab.
But nearly every communication system got its own protocol or data format.
Searching in a sea of hex data like "02a5b4ca....ff000803" and trying to figure out what is happening is not pleasant at all.
That is where PyTool USB Serial comes to help.
With the ability to run custom Python script, PyTool USB Serial can read and parse any received data, display it in the way you want, and even reply when it is needed.
There are script examples for quick start. Just copy and paste one of them to try them out.
There is also a handy USB serial terminal for general use.
It supports main stream USB serial drivers, including:
FTDI driver
CDC ACM driver
CP210x driver
CH34x driver
PL2303 driver
Script General Guide
====================
* The Python version used in this app is 3.8.
* This app is not designed as script editor although script can be edited in the script field.
The best way is to use your favorite script editor and then copy and paste the script.
* Always use 4 spaces for indentation to avoid weird errors.
* Most of the packages in standard Python library are available to import.
* If while loop is needed, always use `app.running_script` as condition in order to stop the script properly.
* Use `app.version` to get the app version string.
* Use `app.get_output()` to get the script output field as string.
* Use `app.set_output(object)` to display `object` in the script output field as string.
* Use `app.print_text(object)` as a shortcut for `app.set_output(app.get_output() + str(object))` to append text to the script output field.
* Use `app.clear_text()` as a shortcut for `app.set_output("")` to clear the script output field.
* Use `app.send_data(bytearray)` to send `bytearray` through serial port.
* Use `app.receive_data()` to read the data from the buffer as bytearray.
* Use `app.log_file(text)` to save a log file in storage.
The log file is located here [Storage Directory]/PyToolUSBSerial/log_[UTC Timestamp].txt.
text (str): Text Content
return (str): Full File Path
Here is one script example from this app:
####################
# Display received data in hex and echo back.
from binascii import hexlify
from codecs import decode
while(app.running_script):
# Try to fetch any data received in the buffer.
data_rcv = app.receive_data()
if data_rcv:
# Data represented in hex.
data_hex = decode(hexlify(data_rcv), 'utf_8', 'ignore')
# Display received data along with old data.
app.set_output(app.get_output() + data_hex)
# Echo back.
app.send_data(data_rcv)
####################
螢幕擷取畫面
新功能
- 版本: 0.8
- 發佈日期:
- Version 0.8
Python version for the script is 3.8.
Now the script runs in Python global environment. Existing scripts should still work as before.
Terminal settings are remembered.
`app.version` is added for checking app version.
價錢
- 今天: $1.99
- 最小值: $1.99
- 最大值: $1.99
追蹤票價
開發人員
- Quan Lin
- 平台: Android 應用程式 (5) Android 遊戲 (3)
- 清單: 1 + 0
- 點數: 0 + 204 ¡
- 排名: 0
- 評測: 0
- 折扣: 0
- 影片: 1
- RSS: 訂閱
點數
未找到 ☹️
排名
未找到 ☹️
清單
未找到 ☹️
評測
成為第一個評論 🌟
其他資訊
- 版本: 0.8
- ID: com.quanlin.pytoolusbserial
- 類別 :
Android 應用程式
›工具
- OS:
Android 5.0 以上版本
- 大小:
15 Mb
- 內容分級:
Everyone
- Google Play 評分:
0
- 發佈日期:
- 發行日期:
你可能還喜歡
-
- USB Serial Telnet Server
- Android 應用程式: 工具 由: Cluster
- 免費
- 清單: 0 + 0 排名: 0 評測: 0
- 點數: 0 + 0 版本: 1.7 Just connect a USB serial adapter into USB OTG port of your Android device, start this app and connect to it using any Telnet client like: * JuiceSSH using the same Android device ... ⥯
-
- Tool Protect
- Android 應用程式: 工具 由: Tool Protect PTY LTD
- 免費
- 清單: 0 + 0 排名: 0 評測: 0
- 點數: 0 + 0 版本: 1.6.20 EASILY CREATE A DIGITAL TOOLBOX Whether you re a tradie or a business owner, tool theft, damage, and loss can cost thousands in downtime and dollars. Protect your tools by quickly and ... ⥯
-
- Arduino Serial Sensor
- Android 應用程式: 工具 由: Serial Sensor
- 免費
- 清單: 0 + 0 排名: 0 評測: 0
- 點數: 0 + 0 版本: 1.6.5 Serial Sensor provides you the follwing things for your next Arduino robot project: * Streaming of Sensor data via Bluetooth and Usb to your Arduino, * Streaming of Sensor data via ... ⥯
-
- USB Driver for Android Devices
- Android 應用程式: 工具 由: HEXAMOB S.L.
- * 免費
- 清單: 1 + 0 排名: 0 評測: 0
- 點數: 2 + 232,946 (4.3) 版本: 3.44 USB Drive for Android phones, moreover contains software links, from manufacturer, Samsung Kies, Sony PC Companion, Lg Pc Suite ... You can find the android usb driver for PC from more ⥯
-
- USB Connector : OTG Manager
- Android 應用程式: 工具 由: The App Company INC
- * * 免費
- 清單: 0 + 0 排名: 0 評測: 0
- 點數: 1 + 3,826 (2.9) 版本: 2.5 OTG Connector Software For Android or USB Connector and OTG File Manager is by far the most advanced and user friends USB OTG Explorer to Transfer File from OTG to your Android Device ... ⥯
-
- USB Connector : OTG USB Driver
- Android 應用程式: 工具 由: Era Apps Studio
- * * 免費
- 清單: 0 + 0 排名: 0 評測: 0
- 點數: 1 + 1,399 (2.6) 版本: 3.7 OTG Connector Software For Android or USB Connector and OTG File Manager is the most advanced and simple USB OTG Explorer to Transfer File from OTG to your Android Device or from your ... ⥯
-
- USB screen cast HDMI connector
- Android 應用程式: 工具 由: Mergalo
- * * 免費
- 清單: 0 + 0 排名: 0 評測: 0
- 點數: 0 + 1,820 (3.5) 版本: 1.2.3 You can cast a small phone screen to a large TV screen in good resolution and quickly with the aid of screen mirroring, or All Mirror. On the huge screen, it's simple to access all ... ⥯
-
- USB Endoscope app Android 10+
- Android 應用程式: 工具 由: Easy Connect Apps
- * 免費
- 清單: 0 + 0 排名: 0 評測: 0
- 點數: 2 + 58,976 (3.8) 版本: 2b-apr2025 How to connect an USB camera: Simply connect the USB camera to your smartphone's USB port. When the dialog appears, tick and press OK. It's all. You can only connect those USB cameras ... ⥯
-
- Serial USB Terminal
- Android 應用程式: 工具 由: Kai Morich
- * 免費
- 清單: 0 + 0 排名: 0 評測: 0
- 點數: 0 + 2,262 (4.3) 版本: 1.56 'Serial USB Terminal' is a line-oriented terminal / console app for microcontrollers, arduinos and other devices with a serial / UART interface connected with a USB to serial converter ⥯
-
- USB OTG Checker
- Android 應用程式: 工具 由: 3 Sixty Development
- 免費
- 清單: 0 + 0 排名: 0 評測: 0
- 點數: 0 + 0 版本: 2.1 USB OTG Checker helps to check the compatibility with USB OTG devices. OTG or on the go USB devices can be used in the USB port of the phone via OTG USB cable. This app will help you ... ⥯
-
- Screen cast HDMI USB connector
- Android 應用程式: 工具 由: Screen Mirroring & HDMI USB TV Connector Apps
- * 免費
- 清單: 0 + 0 排名: 0 評測: 0
- 點數: 0 + 23,818 (4.3) 版本: 1.7 Screen Mirroring - All Mirror, helps you cast a small phone screen to big TV screen in high quality and real-time speed. You can easily access all types of media files, including ... ⥯
-
- Vape Tool
- Android 應用程式: 工具 由: Vape Tool
- * 免費
- 清單: 0 + 0 排名: 0 評測: 0
- 點數: 0 + 21,408 (4.3) 版本: 10.02.2025-free Vape Tool saves your time and money, by making only perfect Coils and E-Liquids Would you like to know resistance of Coil you are going to build ? Would you like to know how to prepare ⥯
-
- serial port tool
- Android 應用程式: 工具 由: infood
- 免費
- 清單: 0 + 0 排名: 0 評測: 0
- 點數: 0 + 0 版本: 1.1.8 For microcontrollers, Arduinos, and other devices with a serial or UART interface linked to your Android device via a USB to serial converter, there is an application called "Serial ... ⥯
-
- USB Blocker Anti Hack Security
- Android 應用程式: 工具 由: Erfan Rouhani
- * * 免費
- 清單: 0 + 0 排名: 0 評測: 0
- 點數: 2 + 127 (4.5) 版本: 5.6.4.25 About USB Blocker "Security & Spyware Detector" Are you connecting your device to public chargers, unknown cables at work, or even at a friend s house? STOP You could be exposing ... ⥯