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.

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.
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.

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.

Tools & Technologies
-
ANDROID
-
GitHub
-
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.
You might also like
OPPORTUNITY
The Gyroscope team partnered with BrainX to address the challenge of maintaining consistent head positioning during dental procedures. The client sought a comprehensive solution for precise head orientation tracking. They also required facial movement monitoring to provide real-time, accurate positioning data.
The goal was to reduce manual intervention, improve procedural outcomes, and enhance patient experience through advanced sensor integration and visual tracking. BrainX developed a native Android app integrating dual 9-axis gyroscope sensors and camera-based facial recognition. It leverages Visage SDK technology for precise and efficient facial tracking.

APPROACH
The BrainX team started with detailed requirement analysis and user flow mapping to ensure optimal functionality. Following Agile methodology, we used iterative sprints to develop, test, and refine the app.
Continuous client feedback helped us refine core features like real-time monitoring, data accuracy, and user interaction. Each sprint ensured alignment with functional and usability goals.
SOLUTION
The Gyroscope Dental App equips essential features for streamlined face alignment and data management, including:
- Dual Sensor Setup: A user-friendly connection and calibration process for face and head sensors with real-time status indicators.
- Patient Data Entry: Simple, efficient data input with a seamless transition to sensor calibration.
- Real-Time Monitoring: Displays live sensor data with 3D facial tracking for real-time head positioning.
- Session Review & Sharing: Enables users to review, save, and share recorded sessions that enhance collaboration.
- Custom Camera Setup: Complements the real-time monitoring feature, delivering a seamless and engaging user experience.

IMPACT
The Gyroscope Dental App significantly improves dental practices by:
- Delivering greater precision in face positioning during examinations.
- Reducing manual interventions, allowing practitioners to focus on patient care.
- Facilitating data sharing for collaborative decision-making and improving patient record accuracy.
- Improving patient experience by making the examination process smoother and more comfortable.

Tools & Technologies
-
ANDROID
-
KOTLIN
-
Figma
-
Miro
You might also like
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.









