Serial monitor
Read device logs, send commands, and let AI use the open serial port.
The serial monitor displays device logs and sends commands from the browser. AI can read the output directly while troubleshooting.
Open the serial port
- Connect your device in the top bar.
- Click Serial monitor to open the panel on the right.
- Select a baud rate and open the port. The default is the product's usual rate, commonly 115200.
The panel header shows the baud rate and device name. A green dot on the top-bar button indicates an open port.
Closing the panel leaves the serial port open, so AI can still read it. Close the port to stop receiving data. Close it before changing the baud rate.
Panel controls
| Control | Action |
|---|---|
| Open or close port | Starts or stops serial communication |
| Reset device | Restarts an ESP device so you can read its full startup log |
| Capture device screen | Displays a screenshot when the firmware includes the capture component. See Screen interfaces |
| Timestamps | Shows the receive time, including milliseconds, before each line |
| Hexadecimal | Displays sent and received bytes in hexadecimal for binary protocols |
| Clear | Clears the displayed log |
Type a command in the bottom input and press Enter to send it. Use Up and Down to recall previous commands. The adjacent menu sets the ending to LF (\n), CRLF (\r\n), or none. Hexadecimal mode sends bytes entered in a format such as AA 55 01.
Sent text begins with → and uses a different color. System events such as opening, closing, and pausing begin with —.
Let AI use the serial port
While the port is open, AI can read up to 500 recent lines. Ask "Read the serial output" to inspect a running program or an error.
AI can also send commands, including AT commands, up to 500 characters each. Every command requires your approval. The bar above the composer shows the command. Click Send to send it or Reject to decline. AI receives the device's response from the following interval.
If the port is closed, AI asks you to open it and opens the serial monitor panel.
Flashing pauses the serial port and reopens it at the original baud rate afterward. AI can read the output received before the pause and after reopening.