Bluetooth LE, RFduino vs. Ganglion Simblee, BT 2 addon module
I was wondering if the BluTooth LE switch will be enabled soon? I am trying to connect the OpenBCI device to an android phone and that would be the only way I see soo far. if there were a code file to put on the RFduino to enable the LE version that would be great?
Comments
Check these posts for info on how you can use an OTG "on the go" adapter on your Android to plug the dongle in there.
http://openbci.com/forum/index.php?p=/search&Search=otg
William
https://www.google.com/search?q=usb+host+serial+port+to+bluetooth+gateway
The dongle just presents a usb serial COM port. You would read bytes from that serial port and forward out to the other wireless port. BLE on some devices cannot match the OpenBCI data rate. Which is why the custom RFduino dongle was used. BT2 or wifi are plenty fast.
The previous links might have used the older 8 bit board. You will need to mod the firmware to send out on your serial port and initialize your Bluetooth module / send the data. @momennemrat 's email is here,
http://openbci.com/community/people/momennemrat/
I think they were going to post their code on Github. If you update their code for the chipKIT, hope you post that on your own repository.
My impression is that their firmware sent out TWO streams: one to the RFduino and the laptop dongle, the other to their BT 2 addon module. Seems like you could bypass the laptop stream if you wanted to, and just do all IO through your addon module. Maybe Mou'men could comment here on their experience or suggestions.
William
I'll find sometime soon to work on a firmware code that can enable both modes.
For now, the application that I was working on was processing the EEG raw data and only send final results (Alpha power, .. Etc) instead of the raw data. If you would like, I can clean up my code and share it with you to enable your BLE only.
[Hassan Albalawi is the author of the Wakecap application, featured on our Community page. And winner of the $100,000 prize at the Stars of Science competition.]
So it sounds like your data stream was much smaller than the full raw stream of 8 channels, 24 bit samples, 250 samples per second. Can you mention what kind of thruput bytes/second you were getting through the BLE link? Do you have any idea of how much data can be pushed through if taken to the maximum? Some of the earlier links above mentioned some possible thruput limitations of the RFduinos in BLE mode.
Do you have a Github repository where your current mainboard firmware lives? (Perhaps just the BLE enabling portions.)
Best regards,
William
http://chipkit.net/forum/viewtopic.php?t=2481