EEG headset

In a world rapidly gravitating towards wireless technology, our client’s state-of-the-art EEG (ElectroEncephaloGraphy) helmet was still tethered — both literally and metaphorically. The device was bound by wires, compromising mobility and limiting the scope of EEG studies and applications. Our client aspired to break these chains and embrace the freedom that a wireless solution could offer. Transitioning from a USB-based SDK to one thriving on Bluetooth connectivity was not just a technical upgrade; it represented a paradigm shift, enabling users to monitor brain activities in diverse settings, from research labs to outdoor environments, opening doors to new realms of possibilities and studies.

For those interested in a deeper dive, we have published a blog post with a more detailed technical description of this project. Feel free to check it out for more insights.

Platform
Android, iOS
Devices
IoT device
Tech stack
Kotlin, Swift, CoreBluetooth
Industry
Healthcare
Scope of work

SDK development (source code) for EEG headset with BLE connection, project management, business analysis.

SDK for Bluetooth integration with EEG

ABCloudz was approached by the provider of this wearable EEG neurotechnology to assist with the initial stages of SDK (Software Development Kit) development for their headset hardware. The EEG headset needed to be compatible with Android and iOS to connect via BLE (Bluetooth Low Energy) protocol. The device is designed to scan brain signals and transmit the data to third-party applications.

The goal of the SDK was to enable communication with the headset to control its behavior, collect, and interpret data from an array of physical sensors. Our specialists also faced the challenge of utilizing a large number of algorithms to interpret various data sets, including the user’s skin electrical resistance and conductance.

The challenge

In the realm of wireless communication, Bluetooth’s widespread acclaim stems from its versatility and user-friendly nature. Nevertheless, integrating intricate systems like EEG helmets poses challenges due to Bluetooth’s inherent complexities. Bluetooth is like a series of tiny digital postmen, delivering packets of data. The L2CAP protocol, intrinsic to Bluetooth, allows packets limited to 64 kilobytes each. Transmitting a real-time stream of brain signals from an EEG helmet posed the challenge of preventing data loss and ensuring seamless delivery. Our solution involved efficiently breaking down large messages into smaller packets, reassembling them upon arrival, and converting raw binary data into a more developer-friendly format.

Ensuring reliable and continuous data streams from an EEG helmet, akin to a symphony orchestra producing a dense flow of data, required strategies for efficient data storage and retrieval. By optimizing data architecture, we ensured uninterrupted real-time processing of the immense data stream from the EEG helmet, maintaining data integrity and preventing potential errors. The result? A continuous, reliable stream of brainwave data, poised for interpretation and analysis.

The result

Our project yielded two distinct SDKs: one tailored for Android using Kotlin and another for iOS using Swift. Essentially, our SDK functions like other software development kits, providing pre-written code for developers to expedite tasks. It includes a set of classes with access points for operations such as BLE device discovery, connection establishment, command sending, and data stream subscription.

During testing, specific datasets validated our SDK’s outputs, and a specialized board simulated EEG helmet operations, ensuring compatibility and performance. Our SDK serves as a bridge between the intricate EEG technology and mobile applications, offering adaptability and versatility for developers.

The customer received high-performance libraries for iOS and Android, acting as a communication layer between app code and remote devices. These libraries are easily expandable, complementable, and integrable with various third-party applications, synchronized with Wearable Sensing EEG headsets.

ABCloudz is ready to develop an innovative BLE solution for your business. Contact us today for a consultation to turn your idea into reality.

Hi there! How can I help you?

ABCAssist