Skip to content

PlatformIO Device Monitor

Monitor serial output from your OSECHI device using the PlatformIO device monitor.

Start Monitor

task monitor

Or directly with PlatformIO:

pio device monitor

Baud rate is set to 115200 in platformio.ini:

monitor_speed = 115200

Press Ctrl+C to quit.

Example Output

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

Send Commands

Type a command and press Enter:

GET_STATUS
SET_DEADTIME 1000

See Commands Reference for all available commands.

Specify Port

If multiple serial devices are connected:

pio device monitor --port /dev/cu.usbserial-0001

List available ports:

pio device list

Filter Output

task monitor | grep "detected"

Save to File

task monitor > detections.jsonl

Troubleshooting

Problem Cause Fix
No serialports found USB not recognized Check cable, try another port
Permission denied Port access denied Run sudo pio device monitor (Linux)
No output Wrong baud rate or device not running Verify 115200, press reset button

See Also