-
Notifications
You must be signed in to change notification settings - Fork 270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Impedance measurement doesn't work with wifi+cyton #653
Comments
Issue was logged previously on openbci-archive/OpenBCI_NodeJS_Wifi#30 . As @retiutut mentioned there, the problem is likely not in the GUI itself. |
Update: so far, I've found that beginning streaming on wifi in the GUI somehow seems to change the LOFF register (0x04) on the ADS1299 from 0x02 to 0x00, which configures it for DC lead-off detection instead of 31.2Hz AC. I'm still working to determine how that happens. |
I have further tracked this down to the sample rate command (e.g. Filed OpenBCI/OpenBCI_Cyton_Library#94, and closing here. |
Brad, thanks very much for tracking this down. |
Problem
Toggling the 'ohm' icons on and off seems to have no effect, other than a momentary jump in the signal, when interfacing over wifi. This seems to be true whether using TCP, UDP, or UDPx3. The same process works fine when using the serial interface, however this seems to require physically pulling the wifi shield out of the stack before this can be done.
See this forum post where the same issue was reported: https://openbci.com/forum/index.php?p=/discussion/2293/impedance-commands-not-working-through-wifi-shield-api-cyton-daisy
Expected
After toggling on the 'ohm' icon, a 31.2 Hz signal should be present in the time series and FFT plots.
Operating System and Version
Ubuntu 18.04
GUI Version
4.1.7
Running standalone app
I've tried both the standalone app and invoking the hub/GUI directly from git checkouts.
Type of OpenBCI Board
I tried both Cyton+Daisy and Cyton standalone
Are you using a WiFi Shield?
Yes
Console Log
It seems the GUI thinks it's doing the correct thing at least. Furthermore, I've also tried POSTing
z
commands directly to the wifi shield, and though the board reportsSuccess: Lead off set for 1
, I still don't get the expected impact on the data stream.I strongly suspect this issue is not with the GUI, but somewhere further down the stack. I am also actively investigating this issue myself. I'm filing this because I felt this issue should be tracked somewhere, especially in light of the above forum post indicating other people have found the same issue. I will open a new issue in the corresponding project if/when I track down the bug, and link from it here.
The text was updated successfully, but these errors were encountered: