

This connecting procedure is implemented in the button's clicked slot. This button is used to establish a connection to the serial port selected in the combo box. Next to this combo box is a pushButton with the string "connect" on it. On the left hand side there is a QComboBox that will list the available serial ports on the system. The GUI has been designed in the Qt GUI Designer within Qt Creator and looks like the picture below. The program can be extended with domain specific functionality in the form of additional buttons and such, whatever you desire. So this text is about the basics of setting up a GUI using QT for serial communication with for example a development board. Anyway! its nice to have a serial com link!īut after a while of using just miniterm or screen as a serial terminal it may get a bit tedious and annoying. This can be used to provide a lot more information than you would be able to by just blinking LEDs (well, you could communicate one way board-to-human by encoding for example Morse-code).

When working with a development board such as the STM32F4-Discovery, it is very nice to be able to set up some serial com over the USB. Home Blog Videos Research LispBM About Privacy Policy Bo Joel Svenssonīlog (dot) joel (dot) svensson (at) gmail (dot) comĪ Qt GUI for Serial Communication with a Development Board
