Main siteMain site  ForumForum  ForumSearch  Private messageEmail contact  RegisterRegister  Log inLog in 
Topic: Ganglion
Reply to topic
Author Message
GMartin



Joined: Feb 5, 2010
Posts: 237

PostPosted: Jan 23, 2018 1:00 PM    Post subject: Ganglion

Jarek,

I have created a couple designs for a fellow who hasthe open BCI canglion. I loiged into his computertoday to set the designs up. When I went to select a device I saw the Open BCI driver for CYton 4 0r 8 channels but could not seem to find the Ganglion Driver. He had the bluetooth dongle for it inserted and the Ganglion powered on. Is there aomething I am missing here in terms of getting it set up?

George
jarek



Joined: Oct 22, 2007
Posts: 713

PostPosted: Jan 23, 2018 1:23 PM    Post subject:

I forgot to put Ganglion on the list of devices for DeviceSet element. But it does work if you use the Ganglion element directly like in this snippet: http://proatech.com/design/ganglion.bpd

Also please note, that to connect Ganglion to BioEra you need BLED112 dongle:

http://proatech.com/be/manual.html#_Ganglion

I will add Ganglion to the DeviceSet list in next version 4.042 tonight or tomorrow.
GMartin



Joined: Feb 5, 2010
Posts: 237

PostPosted: Jan 23, 2018 2:34 PM    Post subject:

Thanks

He ordered the dongle along with the board so that is all set.

He will only be using the Ganglion so I will delete the device set from his design and replace it with the Ganglion element
jarek



Joined: Oct 22, 2007
Posts: 713

PostPosted: Jan 23, 2018 2:44 PM    Post subject:

Please note that OpenBCI sells CSR dongles (not BLED112). If he ordered the dongle from OpenBCI site, then it will probably not work with BioEra.

Here is the link where I bought my BLED112 (it can be purchased in many other stores):

https://www.semiconductorstore.com/cart/pc/viewPrd.asp?idproduct=46650
GMartin



Joined: Feb 5, 2010
Posts: 237

PostPosted: Jan 26, 2018 8:17 PM    Post subject:

Jarek

Can the dongle used OpenBCI Ganglion also be used to send bluetooth data via the serial port element?
jarek



Joined: Oct 22, 2007
Posts: 713

PostPosted: Jan 26, 2018 8:29 PM    Post subject:

Not that I know of.

Ganglion uses BLE which is a newer (low energy) version of bluetooth. It was possible to communicate with devices over serial port with previous bluetooth versions (3 or 2), but I have not seen a way to do this with BLE.

The BLED112 does use serial port, but only for communication protocol, not data exchange with the device.
GMartin



Joined: Feb 5, 2010
Posts: 237

PostPosted: Jan 26, 2018 8:35 PM    Post subject:

Thanks for the info. I will look into other options.
EMebane



Joined: Apr 15, 2019
Posts: 60

PostPosted: Jul 19, 2019 5:51 PM    Post subject:

Is there any detailed information about communicating with an external BLE device via the Serial element and a BLED112 USB dongle? I have the Ganglion and BLED112 dongle and I want to add a connection to an Arduino/BLE. Since the Ganglion is using the BLED112 to communicate with BioEra I know there must be a way for generic BLE devices to also use the BLED112 for communication with BioEra.

Is there a sample element demonstrating generic BLE connectivity for receiving and sending data?

If not, can the Ganglion element's source code be shared? The element must store the Ganglion's BLE Services/Characteristics used for establishing a connection and communicating with the Ganglion so a modified version could be created for generic BLE communication.

I'm not sure how the BLED112 handles converting BLE data into Serial data, if it can send as well as receive, if multiple devices can use the BLED112 at the same time (Ganglion and Android), etc.
GMartin



Joined: Feb 5, 2010
Posts: 237

PostPosted: Jul 19, 2019 6:45 PM    Post subject:

My understanding is that you need separate data streams for each function. That would necessitate a seperate bluetooth connection.

That is what we eneded up doing.
GMartin



Joined: Feb 5, 2010
Posts: 237

PostPosted: Jul 19, 2019 6:46 PM    Post subject:

The folks at open BCI may be able to help you figure another way
EMebane



Joined: Apr 15, 2019
Posts: 60

PostPosted: Jul 19, 2019 6:55 PM    Post subject:

Did you use multiple BLED112s at the same time?
GMartin



Joined: Feb 5, 2010
Posts: 237

PostPosted: Jul 19, 2019 6:58 PM    Post subject:

No,

We sued one to connect Ganglion to the computer. The other connection was made through via BioEra serial element and comouters on board Bluetooth. That communicateded with an HC )% module connected to the arduino
EMebane



Joined: Apr 15, 2019
Posts: 60

PostPosted: Jul 19, 2019 7:07 PM    Post subject:

OK, I see the your HC05 reply in the other thread on a related topic.

Jarek: Would you clarify the distinction between "communication protocol" and "data exchange" that you mentioned in regards to the BLED112?
jarek



Joined: Oct 22, 2007
Posts: 713

PostPosted: Jul 19, 2019 7:29 PM    Post subject:

The Bled112 dongle can only do BLE (bluetooth low energy). That is a very special version which is called also "bluetooth" but is really something different than older (before version 4) blueooth.

Bled112 does not use serial port. And it can't be directly used with any other device. Ganglion needed a very specialized implementation, which was much harder to do than traditional bluetooth in the past (because older versions of Windows do not implement it).

"Old" blueooth dongles (like HC-05) register themselves in system as a serial port. That means they can be used with BioEra's SerialPort. So for custom bluetooth projects (like Arduino), that is the only (and easy) way to communicate with BioEra.
EMebane



Joined: Apr 15, 2019
Posts: 60

PostPosted: Jul 19, 2019 7:53 PM    Post subject:

I'm familiar with BLE. I thought the purpose of the BLED112 was to convert from BLE to Serial to make it easier to connect Bluetooth devices using newer BLE protocol with older (pre Win 10) systems and software.

I've only been working with BLE in my Arduino work but it looks like I'd have to try classic Bluetooth to connect with BioEra.
jarek



Joined: Oct 22, 2007
Posts: 713

PostPosted: Jul 19, 2019 9:30 PM    Post subject:

There is no serial port connection related to Bled112. So no, it can't be used as such. I am not familiar with BLE for arduino.

BLE protocol is complicated (at least comparing to classic bluetooth). I have no direct experience with most of it (there are only 2 BLE devices supported by BioEra). Maybe it has options to behave like a serial port, but nothing like that has been done with Ganglion.
Reply to topic