apache 发表于 2012-11-11 17:42:23

使用PyQt4和pyserial写的串口通信小工具



MyCOM是一个跨平台的简单串口通讯工具
旨在提供一个使用PyQt4和pyserial编辑GUI串口通讯工具的示例

安装好Python、PyQt4和pyserial后即可通过main.py启动MyCOM

exe目录下有一个已通过py2exe生成的EXE程序,可直接双击执行
要需要修改代码并重新生成exe,则需安装py2exe。然后通过./Makefile.py py2exe创建exe

有源码,下载传送门:http://pan.baidu.com/share/link?shareid=100440&uk=1963835366

发表于 2012-11-11 17:47:03

加油加油http://app.qlogo.cn/mbloghead/f5dfb4fa2271b5f1cd04

wing 发表于 2012-11-11 18:18:06

其实我最近也在写类似的东西,为"堕落城市"项目开发一个串口工具.
我一直在想如何用通用的方法直观地分析串口的数据

darkorigin 发表于 2012-11-13 00:20:48

想直观的就用串口工具存储下来。
用专业分析软件进行分析比如ORIGIN
串口数据论坛上也有个开源的工具,很强大SerialChart这个工具论坛里有链接和说明


http://www.geek-workshop.com/forum.php?mod=viewthread&tid=240

ddkangfu 发表于 2012-11-13 09:10:47

原来楼主也是一个pythoner{:soso_e113:}

剪彤 发表于 2013-3-25 19:40:19

您好!
       我开发了一个pyserial打电话来电显示的软件,打包的时候遇到问题,总提示:importError:no module named serial,能否请教下,怎么解决这个问题。多谢

applesof 发表于 2013-4-19 00:26:46

剪彤 发表于 2013-3-25 19:40 static/image/common/back.gif
您好!
       我开发了一个pyserial打电话来电显示的软件,打包的时候遇到问题,总提示:importError:no ...

Download pySerial from http://pypi.python.org/pypi/pyserial - click on pyserial-2.6.tar.gz to download the library.

Run 7-Zip (Start -> All Programs -> 7-Zip -> 7-Zip File Manager).

Open the pyserial-2.6.tar.gz file with 7-Zip (File -> Open).

Double click the "dist" folder.

Single click on the "pyserial-2.6.tar" file and click the "Extract" button at the top of the window. When asked where to put the file, specify c:\Python27\Lib\site-packages\pyserial-2.6

Exit from 7-Zip

Now that you have downloaded pySerial, install it:

Open a command window (Start -> All Programs -> Accessories -> Command Prompt) and type into the command line: cd c:\Python27\Lib\site-packages-\pyserial-2.6

Install pySerial by typing this command: c:\Python27\python.exe setup.py install


--------------------------------------------------

讲的就是同样的问题。自己翻译吧。原链接http://stackoverflow.com/questions/8491111/pyserial-for-python-2-7-2

北斗 发表于 2014-7-20 09:58:58

谢谢楼主分享,最近在学PyQt4,想好好学习一下您的代码

adersonleo 发表于 2015-4-16 12:21:48

楼主,我现在也在用Pyqt4可是教程好少,不知道楼主是怎么学的,可以透露下嘛:lol
页: [1]
查看完整版本: 使用PyQt4和pyserial写的串口通信小工具