Arduino to Codespaces BridgeDevelop on the Cloud, Deploy to the Edge. Arduino to Codespaces Bridge enables a seamless workflow for developing Arduino projects inside GitHub Codespaces while interacting with physical hardware connected to your local computer. 🚀 Features🌉 Cloud-to-Local Bridge (Main Feature)The missing link for cloud development. This extension solves the primary challenge of using GitHub Codespaces for embedded development: connecting to local hardware.
🤝 Collaborative Environment SyncPerfect for teams and classrooms. The extension maintains a consistent development environment using
🎨 Optimized C/C++ FormattingIncludes a pre-configured Clang-Format style optimized for Arduino sketches.
📝 Professional Serial MonitorA full-featured terminal for viewing serial output. Supports:
📊 Real-time Serial PlotterVisualize sensor data instantly. Compatible with the standard Arduino Serial Plotter format.
📋 Requirements
🏃♂️ Quick Start
⚙️ Configuration
|
| Setting | Default | Description |
|---|---|---|
arduinoBridge.serverPort |
3000 |
Local port for the bridge server. |
arduinoBridge.autoStartServer |
true |
Start server automatically when opening .ino files. |
arduinoBridge.defaultBoard |
arduino:avr:uno |
Default FQBN to use if none selected. |
arduinoBridge.showStatusBar |
true |
Toggle the status bar item. |
🧩 Supported Hardware
The extension leverages arduino-cli, making it compatible with virtually any Arduino-compatible board that supports the Arduino framework.
Tested & Verified Boards
These boards have been explicitly tested with the Web Serial upload workflow:
- Arduino AVR Boards
- Arduino Uno (R3)
- Arduino Nano
- Arduino Mega 2560
- Arduino Leonardo
- Arduino Micro
- Arduino Renesas Boards
- Arduino Uno R4 WiFi
- Arduino Uno R4 Minima
- Espressif
- ESP32 Dev Module
- ESP8266 NodeMCU (v1.0)
- Raspberry Pi
- Raspberry Pi Pico
- Raspberry Pi Pico W
- Teensy
- Teensy 4.0 / 4.1 (Requires Teensy Loader)
- Seeed Studio
- Seeed XIAO SAMD21
- Seeed XIAO RP2040
- Generic / Clones
- Unofficial boards using CH340/CH341 USB-to-Serial chips (Ensure drivers are installed on your local machine)
Note: While most boards work out-of-the-box, some specialized boards may require entering bootloader mode manually before uploading.
❓ Troubleshooting
"Browser doesn't show my device"
- Ensure you are using Chrome or Edge.
- Check your USB cable (some are power-only).
- On Linux, ensure your user has permission to access serial ports (
dialoutgroup).
"Compilation failed"
- Check the Output panel in VS Code for detailed error logs.
- Ensure your
arduino-requirements.txtincludes all necessary libraries.
"Bridge is offline"
- Run the command
Arduino: Restart Bridge Serverfrom the Command Palette. - Check if port 3000 is being used by another process.
📄 License
GNU General Public License v3.0. See LICENSE for more information.