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.

1.09K
No comments yet. Be the first to add a comment!
Cookies?