-
Notifications
You must be signed in to change notification settings - Fork 30
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
WiFi Shield packet loss #82
Comments
Hi @posipunk , In general, wireless communications can be challenging in 2019 where more and more devices are hopping onto the limited number of bands in the 2.4GHz spectrum. It can sometimes help to understand what your wireless spectrum looks like and there are a number of available tools to make that possible https://www.ittsystems.com/wifi-analyzers-for-windows/ We're constantly working to achieve the highest reliability of transmission. Be sure to check that you're using the latest version of the firmware https://github.com/OpenBCI/OpenBCI_WIFI/releases If that doesn't solve your issues, there are a few things you can try to improve the data transmission.
Thanks for submitting the issue. Sorry for the delay getting back to you and I hope this helps solve your problems! |
I was also having a packet drop issue which I raised in the OpenBCI discussion forum, and was requested that I share the post here: -I was initially using 1000hz and 16 channels with 10ms latency over both -After 10 minutes, there were no packet drop issues when using Bluetooth. -When attempting to use the WifiShield and UDPX3 I receive an error message What firmware version is required for the WifiShield to use UDP x 3? FTR |
@Joe-Westra thanks for the description of your UDPx3 issue! We'll attempt to replicate on our end and get back to you. To help us run down the issue, would it be possible for you give us the details of your configuration: OS/version, hardware/versions, FW/versions and any other specifics about your system you think might be relevant? |
Jason Paquette ('alwayswearshats' on the OpenBCI forum and @paquettejp on Github) , on this thread, Has found a way to eliminate packet loss, by adding a capacitor on the Wifi Shield. Previous to this, the high current demands (400 mA!) of the ESP8266, were causing droops in the regulated 3.3V DC power supplied to the ESP. With the cap, packet loss seems to be gone. @Joe-Westra , have you tried running the GUI from Processing IDE? Your 2.0.5 shield firmware should be current. Regards, William |
Please see this related issue on the GUI repo: OpenBCI/OpenBCI_GUI#231 This was really a hardware issue, but it got logged on the GUI repo. My impression is that the issue should be flagged on both the Wifi and GUI repos, so that it is not forgotten. ALSO, the title of this issue thread should be edited from reading: "WIFI Direct dropped packets" to "WiFi Shield dropped packets". As the packet loss due to power supply issues is not limited to only Wifi Direct mode. There are multiple repos for the Shield on Github, at least three that I can see. This is the only repo that is logging issues, so it makes sense that it continue to do so. The other repos have ZERO issues logged, even though they are more hardware related. William |
WIFI Direct connect from Windows 10 PC to Wifi Shield + Cyton + Daisy - all with latest firmware/software.
Sampling at 1000Hz 16 channels we will drop 50-60 contiguous packets rather often (~1 minute) with smaller drops more frequent.
Environment has a lot of 2.4GHz devices in range (though not adjacent to setup).
What we've tried so far:
Have tried TCP and UDPx3, have tried dropping the sample rate to 250Hz and dropping down to 8 channels. Performance was sometimes improved but not perfect.
We only need 8 channels and 250Hz but highly desirable to get 1000Hz and 16 channels.
We did get the SD card working so we can always pull off data later but we ideally can stream it live.
1, Is there a particular setup which will give us the highest probability of little to no dropped packets?
2. Is there a general performance tradeoff list we can use to tune? (i.e. 8 channels will always get you better performance than 16)
The text was updated successfully, but these errors were encountered: