Neurotechnologyhealth icon

OPPORTUNITY

Neuroscientist, engineer, and TEDx speaker Dr. Greg Gage is on a quest to transform complicated neuroscience into practical learning experiences across the globe and with learners of all ages. In Backyard Brains, he and his team designs new hardware and software to capture and send neural signals in real-time so that it can be displayed on mobile devices.


Their Android application, Spike Recorder, however, failed to accommodate newer devices because of hardcoded device IDs and ageing APIs.
Moreover, the application was not compliant with the newest needs of Google Play Store. To extend to more systems and offer compliance, an upgrade was required in such a way that it did not interfere with the functionality already in place.

1 4
Neurotechnology

APPROACH

BrainX cloned the open-source SpikeRecorder repository from GitHub to familiarize itself with the existing codebase. We then conducted a detailed analysis of the code structure, USB communication flow, and platform limitations to define a focused development roadmap.


Our team emphasized minimal disruption to existing functionalities by planning incremental upgrades, setting up peer-reviewed code checkpoints, and ensuring ongoing client feedback was integrated throughout each development cycle.

Neurotechnologyhealth icon

SOLUTION

BrainX delivered an optimized and future-proof neural signal processing by implementing:


  • Dynamic Device ID Allocation:
    • Implemented UsbManager and UsbDevice APIs for USB Enumeration.
    • Introduced an enumeration system for multiple connected devices.
  •  USB Communication Optimization:
    • Integrated FelHR85/UsbSerial (v6.1.0) for efficient serial communication.
    • Processed data asynchronously using USB Serial library’s read callbacks and background threads.
    • Improved bulk transfer handling and stabilized real-time data flow.
    • Maintained an Arduino-like text protocol for streamlined hardware interaction.
  •  Android API Compliance Upgrade:
    • Transitioned from SDK 30 to SDK 33 to meet Play Store requirements.
    • Upgraded AndroidX libraries for improved stability and compatibility.
    • Integrated the latest Crashlytics for better app monitoring and debugging.
  •  GitHub-Based Open-Source Maintenance:
    • Implemented an organized branching strategy to enable smooth code integration.
    • Enabled peer-reviewed pull requests and maintained technical documentation.
  •  Automated Testing & Validation:
    • Integrated unit testing for device connection stability.
    • Conducted regression testing to ensure feature compatibility.

2 4
Neurotechnologyhealth icon

IMPACT

The solution greatly enhanced compatibility with devices, optimized performance, and improved long-term maintainability. To mention a few:


  • Students experience real-time neural signal visualization without interruptions.
  • Educators run live demos confidently with improved USB stability.
  • Fulfilled Google Play Store requirements to maintain ongoing app availability.
  • Future device integrations no longer require code modifications.
  • Faster, more efficient data handling improves user experience.

3 4

Tools & Technologies

  • Group 167542

    ANDROID

  • upload.wikimedia.org wikipedia commons 9 91 Octicons mark github.svg

    GitHub

  • Group

    Kotlin

We will get back to you soon!

  • Leave the required information and your queries in the given contact us form.
  • Our team will contact you to get details on the questions asked, meanwhile, we might ask you to sign an NDA to protect our collective privacy.
  • The team will get back to you with an appropriate response in 2 days.

    Say Hello Contact Us






    You might also like