Home > Software engineering >  Based on VB PC build communication with instrument via bluetooth
Based on VB PC build communication with instrument via bluetooth

Time:09-28

Novice VB simple wrote a VB program, can start measuring control instrument and data by means of cable return; But to bluetooth HC - 06 module but can only let start measuring instrument, can not return data, is this how to return a responsibility?

CodePudding user response:

No one

CodePudding user response:

Is not no one, but let a person cannot answer your question, no data, no code...

CodePudding user response:

HC - 06 bluetooth module is a serial port, if you through RS - 232 cable has the pass, in theory, of the instrument and PC communication code has been set up,

Your PC send instrument also has been successful, now that the bluetooth module can be normal communication,

Key to check the PC bluetooth module and PC RXD line connection, between bluetooth module and the end of instrument and equipment of TXD line connection, when necessary, can try to replace bluetooth module,

CodePudding user response:

In addition, you can use digital oscilloscope or logic analyzer to grasp the TXD output of instrument, bluetooth module input, and the end, until the PC bluetooth module, RXD output until the PC RXD input, take a look at is where there is no data signals,
  • Related