Back to Hub
HARDWARE INTEGRATION • MAY 2026

IoT Integration via Web Bluetooth.

Writing code that controls the physical world is the holy grail of hardware engineering. Historically, communicating with Bluetooth Low Energy (BLE) devices required writing native Swift for iOS or C++ for Windows. NitroIDE bridges the gap by providing direct access to the Web Bluetooth API, right from your browser tab.

Connecting to Physical Hardware

Because NitroIDE executes your scripts locally in a secure, same-origin sandbox, you can request access to nearby Bluetooth devices directly from the IDE's terminal or preview pane. Whether you are reading biometric data from a heart rate monitor or sending movement commands to a robotic drone, the connection is established securely without installing any native drivers.

// Connecting to a custom BLE drone controller via NitroIDE
async function connectToDrone() {
  try {
    console.log('Requesting Bluetooth Device...');
    const device = await navigator.bluetooth.requestDevice({
      filters: [{services: ['battery_service', '19b10000-e8f2-537e-4f6c-d104768a1214']}]
    });

    console.log('Connecting to GATT Server...');
    const server = await device.gatt.connect();
    // Send control packets directly over WebBluetooth
    return server;
  } catch(error) {
    console.error('Connection failed:', error);
  }
}

Offline IoT Prototyping: Combine the Web Bluetooth API with our Progressive Web App (PWA) architecture. You can install NitroIDE on your laptop, take it to an active job site with zero Wi-Fi, and continue to debug and flash your physical hardware devices entirely offline.

Real-Time Telemetry

You can pipe the incoming data from a connected Bluetooth sensor directly into the built-in NitroIDE state visualizer or an HTML Canvas, creating high-performance, real-time telemetry dashboards for your hardware prototypes.

Connect Your Hardware.

Write code that interacts with the physical world natively.

Launch Workspace