serial port for MindWave in Windows8.1

依然范特西╮ 提交于 2019-12-12 05:47:46

问题


How can I find what is the serial port assigned to the MindWave USB in Windows8.1? The code I am using has this for Mac OSX:

import platform
import sys, time
from mindwave import bluetooth_headset
import httplib, urllib, urllib2
import json

#serial_port = '/dev/tty.MindWaveMobile-DevA-10'

Here's what my device manager shows:

I'd like to know how to change line 10 of http://pastebin.com/jR21F4Xf in order to make it work in Windows. Currently MindWave USB Dongle is connected to COM4.

Here's the config file:

{
    "mindwave_serial_port": "COM4",
    "hue_bridge_addr": "10.0.0.225",
    "user": "mona6_000",
    "send_to_gatd": "True",
    "show_spectrum": "True"
}

Here's what MindWave Manager shows:

Here's what I get in PowerShell:

I have installed pyserial using easy_install:

However I cannot import it in python interactive shell while I don't get any error running my code:

来源:https://stackoverflow.com/questions/34168940/serial-port-for-mindwave-in-windows8-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!