Skip to content

VS Code Serial Monitor

Monitor serial output from your OSECHI device using the VS Code Serial Monitor extension.

Installation

Install the Serial Monitor extension from the VS Code marketplace (publisher: Microsoft, ID: ms-vscode.vscode-serial-monitor).

Connect

  1. Connect your OSECHI device via USB
  2. Open the Serial Monitor panel (Ctrl+Shift+P → "Serial Monitor: Start Monitoring")
  3. Select your serial port from the dropdown
  4. Set baud rate to 115200
  5. Click Open

Example Output

{"type":"event","status":"ok","sent_us":1748012345678901,"hit1":45,"hit2":38,"hit3":42,"detected_us":1748012345678456}

Send Commands

Type a command in the input field at the bottom of the panel and press Enter:

GET_STATUS
SET_DEADTIME 1000

See Commands Reference for all available commands.

Troubleshooting

Problem Cause Fix
Port not visible USB driver not recognized Check cable, try another port, restart VS Code
Disconnects immediately Wrong baud rate Set baud rate to 115200
No output Device not running Check power LED, press reset button

See Also