C++_SDK Quick Start

C++_SDK quick start

Applicable Model






Routine download

Links to download sample programs


Routine introduction

This routine introduces how to use the Microsoft Visual Studio platform serial port to connect Wit-motion serial port Normal protocol, and then directly print data, receive sensor data and communicate with the sensor through Microsoft Visual Studio debugging;

Before viewing this routine, please read the relevant sensor manual to understand the protocol used by the sensor and the basic functions of the sensor

Equipment wiring

First prepare Wit-motion standard sensor, here take JY901S as an example, 3-in-1 serial port module. Wiring:

  • Physical wiring diagram:

Debugging steps

  • First open the WitSimulate.sln file with Microsoft Visual Studio

  • After opening the software, click the local Window debugger

  • Pop up

  • Find the serial number

Right-click the window in the lower left corner, click Device Manager

Click on the port to find the serial port number

  • Go back to the running interface and enter the serial port number

After entering the serial port number, click Enter to receive the data, and the shaking sensor data will be sent back and displayed in real time


For other operations, please refer to the sensor manual

Last updated