How to open terminal in STM32CubeIDE (without install)?

1) Click on bottom arrow and choose Command Shell Console

Image

2) Choose Serial Port connection type and press New:

Image

3) Type any name, choose port number (you can check it in Device Manager (to open it press Win + R -> devmgmt.msc -> Enter), baud rate, data size, parity and stop bits, then press Finish:

Image

4) After adding connection, choose it:

Image

5) After successful connection you will see data:

Image

Conclusions

You can use ordinary USB-COM converter (CP2102, CH340, PL2303...), but I prefer wireless Bluetooth-UART modules (JDY31, HC-05...). It makes possible remote logging, state monitoring and control your device without any wires.

Image

In the above example you can see STM32 internal temperature sensor voltage and calculated temperature in Celsius degrees.

12.05K
0
Andrea 2 years ago #
Que hago si no me aparece ninguna opción de Serial port
0
admin admin 2 years ago #

Firstly open Device Manager (Win + R -> devmgmt.msc -> Enter) and check that your Serial Port is identified by the system.

If it's visible then check if any other software use it (like Terminal/Arduino IDE) and close it, because COM port cannot be shared.

Image

Cookies?