Chords LSL Connector is a desktop application that connects to various bio-signal acquisition devices (Arduino-based) and streams data via Lab Streaming Layer (LSL) protocol for real-time visualization and recording.
Version Management:
- To update the version, modify only the
version.jsonfile - This ensures clean builds every time the version is updated across all necessary files
Platforms Supported: Windows 10/11, macOS, Linux
Download the latest installer for your operating system from the Releases page:
- Windows: Run the
.msiinstaller - macOS: Open the
.dmgfile and drag the app to Applications - Linux: Install the
.debor.rpmpackage
Note for Windows Users: If you see a warning from Microsoft Defender SmartScreen:
- Click More Info
- Click Run Anyway
Before using the app, you need to upload firmware to your development board:
-
Get the Firmware: Click the "Get Firmware" button in the app or visit:
-
Supported Boards:
- Arduino UNO R3/R4
- Arduino Nano
- Arduino Mega 2560
- Raspberry Pi Pico (RP2040)
- STM32 boards
- NPG-Lite devices
-
Upload Firmware using Arduino IDE:
- Open the appropriate
.inofile for your board - Select correct board and port
- Upload the firmware
- Open the appropriate
The app supports three connection methods:
- Connect your board to computer via USB cable
- Click the Serial button in the app
- The app will automatically detect and connect to your device
- Connection status will show "Connected"
- Ensure your board has Bluetooth capability
- Click the Bluetooth LE button
- App will scan for available devices
- Select your device from the list (look for names containing "NPG")
- Click to connect
- Ensure your board is connected to WiFi network
- Click the WiFi button
- App will automatically connect to pre-configured WiFi devices
Once connected, you'll see:
- Real-time sampling rate (Hz)
- Samples lost (if any)
- Total samples received
- Live data visualization on the graph
Use any LSL-compatible application to view or record your data:
| Application | Platforms | Use Case |
|---|---|---|
| Chords LSL Visualizer | Windows, macOS, Linux | Real-time visualization and basic recording |
| Open Ephys GUI | Windows, macOS, Linux | Advanced neuroscience research |
| LabRecorder | Windows, macOS, Linux | Simple data recording |
| Other LSL Viewers | Various | Check LSL documentation |
To open a viewer:
- Install your preferred LSL viewer application
- Click the corresponding button in the Chords LSL Connector app
- Start the viewer application
- Look for streams named:
- "UDL" (for Serial connections)
- "NPG-Lite" (for Bluetooth/WiFi connections)
- Ensure device is properly connected (USB cable plugged in, Bluetooth/WiFi enabled)
- Verify firmware is correctly uploaded
- Try clicking the connection button again
- Check if device appears in your system's device manager
- Disconnect and reconnect
- Verify the device is sending data (check onboard LEDs if available)
- Ensure you have the latest version
- Check system requirements are met
- Try restarting the application
- For persistent issues, file a GitHub issue with logs
Each stream provides metadata including:
- Device type and resolution (10-bit, 12-bit, 14-bit, or 16-bit)
- Number of channels (3, 8, or 16 depending on board)
- Sampling rate (typically 250-500 Hz)
The app monitors:
- Signal continuity (detects dropped samples)
- Sampling rate stability
- Connection quality
- Documentation: GitHub Repository
- Issues: GitHub Issues
- Community: Check the Upside Down Labs website for forums and support
- Version 20 or higher
- Download: https://nodejs.org
Verify installation:
node -v
npm -vInstall Rust using rustup:
Verify installation:
rustc --version
cargo --versionInstall Tauri CLI version 2:
cargo install tauri-cli --lockedVerify:
tauri --versionLSL builds native C++ libraries on Windows. CMake is mandatory.
- Download from: https://cmake.org/download/
- Run the installer
- Select: "Add CMake to system PATH"
- Restart your terminal (or PC)
Verify:
cmake --versionInstall from: https://visualstudio.microsoft.com/visual-cpp-build-tools/
During installation select:
- Desktop development with C++
- MSVC toolset (v142 or v143)
- Windows 10/11 SDK
- CMake tools
Verify compiler:
clClone the repository and install dependencies:
git clone https://github.com/upsidedownlabs/Chords-LSL-Connector.git
cd Chords-LSL-Connector
npm install
cargo tauri devNeed more help? Visit our GitHub repository for detailed documentation, source code, and community support.
