- ๐ฏ Firmware & Neurotech: At Upside Down Labs, I write firmware for wearable devices that read EEG, EMG and ECG off the body. ESP32, FreeRTOS, BLE, DMA-driven ADC pipelines and low-power design.
- ๐ฌ On a Mission: Building the future of neurotech by pushing the signal processing down onto the device instead of leaving it to a host.
- ๐ธ Beyond the Code: When I'm not architecting smart systems or decoding brainwaves, you can find me strumming my guitar, brewing the perfect cup of coffee, or exploring the latest in neuroscience.
- ๐ค Tech Enthusiast: Passionate about merging the physical and digital worlds, whether through sensor integration, firmware innovation, or crafting elegant data visualizations.
- โก NPG Lite BLE Firmware - 6 biosignal channels at 500 Hz over custom BLE GATT. DMA ADC with ISR-to-task semaphore signalling, double-buffered payloads, three hardware variants auto-detected at boot, Li-Po lookup table and deep sleep on critical battery.
- ๐ง NeuroGaze - SSVEP brain-computer interface running entirely on an Arduino UNO Q, no host PC and no cloud in the loop. Four targets flickering at 7/13/15/17 Hz, decoded with FBCCA from a 3-contact occipital montage streamed over Wi-Fi. A confidence gate takes accuracy from 76% to 98.6% by staying silent when unsure. Built for the Arduino Physical AI Challenge India 2026.
- ๐ LX-Beats - 20-node wearable ECG network, 60 live heart-rate feeds into one gateway, Pan-Tompkins R-peak detection running on each node. Deployed at India Science Festival, IISER Pune.
- ๐ฑ๏ธ BCI Inertial Mouse - head-worn mouse, IMU tilt to BLE HID cursor, EOG blink detection for clicks.
- ๐ฎ BCI BLE Gamepad - BLE HID gamepad recognised natively by Windows, Linux and Android. 256-point FFT focus detection and EMG steering.
- Silicon & Sensors: ESP32, STM32 (ARM Cortex-M), ADS1299 24-bit biopotential AFE, MPU6050 / BMI270 IMU, Li-Po charge management and state-of-charge estimation
- Firmware & RTOS: FreeRTOS (tasks, queues, semaphores, ISR-to-task signalling, timers), ESP-IDF, Arduino, bare metal, OTA with partition tables, deep sleep and low-power design
- Protocols: BLE (GAP, GATT, HID, custom profiles, MTU and TX-power tuning), ESP-NOW, SPI, I2C, UART, USB CDC, GPIO, PWM, ADC with DMA, WebSocket, LSL
- Debug & Production: JTAG/SWD, GDB + OpenOCD, logic analyzer, oscilloscope, UART hardware-in-loop harnesses, factory test firmware
- Signal Processing & ML: FFT, IIR/FIR filtering, envelope detection, Pan-Tompkins R-peak extraction, SSVEP with CCA/FBCCA, MNE-Python, scikit-learn, Pandas, NumPy
--- ๐ก *Keep coding, keep jamming, and remember: every bug is just a new feature in disguise!* ๐


