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¶
- Connect your OSECHI device via USB
- Open the Serial Monitor panel (
Ctrl+Shift+P→ "Serial Monitor: Start Monitoring") - Select your serial port from the dropdown
- Set baud rate to 115200
- 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¶
- PlatformIO Device Monitor — command-line alternative
- Commands Reference