Connecting Devices by Serial Ports
You can use the Serial Terminal output pane to connect devices by serial ports. These ports can be real RS-232 ports, or virtual serial ports provided by USB chipsets.
To set up a connection:
- Select Help > About Plugins > Utilities > Serial Terminal to enable the plugin.
- Restart Qt Creator to load the plugin.
- In the Serial Terminal output pane, select a COM port. The list is updated when ports become available.
- Select the bitrate for the communication.
- To establish the connection, select the
(Connect) button.
To create additional connections, select the (Add New Terminal) button.
To close a connection, select the (Stop) button.
The (Reset Board) button toggles the DTR (Data Terminal Ready) line, which causes a board reset on Arduino compatible boards.
Incoming data is displayed in the output pane.
Use the command line at the bottom to send commands to the remote station.
Select the line endings in the list next to the command line:
- None - the lines have no special termination
- LF - the lines are terminated by a line feed (ASCII 0xA) character
- CR - the lines are terminated by a carriage return (ASCII 0xD) character
- CRLF - the lines are terminated by a carriage return and a line feed character
Note: On Linux, you need the appropriate rights to access serial ports. Often, it is sufficient to add your user account to the group dialout.