Skip to main content
YBend.1
Associate III
April 18, 2022
Question

Can we acquire sensor data on a USB Terminal (using Tera term) like STEVAL-STWINKT1 on STEVAL-STWINKT1B evaluation board. If yes, can someone tell me how can it be done?

  • April 18, 2022
  • 4 replies
  • 786 views

..

    This topic has been closed for replies.

    4 replies

    Paul1
    Senior III
    April 18, 2022

    I don't have that board, but some options for many STM boards:

    1) If you have the 14pin STLINK connection then plug in an STLink and it may also have a UART connection which will automatically show up on a PC via the STLINK USB.

    2) If you have a spare pins with UART (Tx, Rx) then you can use an adapter cable like FTDI TTL-232R-3V3, which will give you a USB connection to PC TerraTerm/Coolterm/others.

    3) If the STM32 has a USB port then you can wire it directly to PC and by running appropriate code on STM32 emulate a COM port to the PC. (Look at my posting history for examples). *If this is to be used by customers add appropriate ESD protection circuitry to USB, if only for lab testing you can be very minimal.

    Paul

    Paul1
    Senior III
    April 18, 2022

    If you are aiming for wireless data then possibly:

    1) Bluetooth

    2) BLE (Lower Power)

    3) Check out MBED website https://os.mbed.com/ Years since I played with that but "over the air" firmware updates (FOTA) and data was a nice feature.

    Paul

    YBend.1
    YBend.1Author
    Associate III
    April 19, 2022

    Thank you very much Paul.

    I will try doing what you suggested.