Skip to content

Cyton, Wifi Shield, Python (wifi.py): numerous mods to incomplete implementation, bug fix. #117

Closed
@cmello418

Description

@cmello418

I'm using a Mac (macOS 10.14) with Python 3.6. I have a Cyton board coupled with the WiFi Shield - 8 channels. As of the date of this post, I have the latest firmware installed on both the Cyton and the Wifi Shield. Everything is configured and attached to the Ultracortex "Mark IV" headset using dry electrodes. With the latest version of OpenBCI GUI (4.0.3) everything works well. All 8 channels stream as expected.

However, I have a problem with using the wifi.py for streaming in Python (3.6). First, I want to point out that the square wave test works fine - I'm able to stream and display in realtime using matplotlib. When I switch over to streaming the raw data, it seems to "work", but it does not seem to contain any real "data"; I'm getting consistent sine waves from all the channels - almost seems like test data. Also, the values are very small float values, like .0283746734, etc. I notice that when I jiggle my head (while wearing headset), the waves look more like you would expect, but the "normal" stream for everything is very consistent sine waves.

I provide more details, images, and code here: https://openbci.com/index.php/forum/#/discussion/2012/cyton-wifi-shield-python-wifi-py-bad-raw-sample-values-but-fine-using-gui

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions