How to connect to the bluetooth Serial Port? Learn more about ssp, com port. Serial Port & Bluetooth. A Bluetooth driver for my USB dongle and now I can create a Serial Port for my Bluetooth connection. Discover what MATLAB.
Connecting Two Devices with a Serial Cable
The RS-232 standard defines the two devices connected with aserial cable as the Data Terminal Equipment (DTE) and Data Circuit-TerminatingEquipment (DCE). This terminology reflects the RS-232 origin as astandard for communication between a computer terminal and a modem.
Throughout this guide, your computer is considered a DTE, whileperipheral devices such as modems and printers are considered DCEs.Many scientific instruments function as DTEs.
Because RS-232 mainly involves connecting a DTE to a DCE, thepin assignments are defined such that straight-through cabling isused, where pin 1 is connected to pin 1, pin 2 is connected to pin2, and so on. The following diagram shows a DTE to DCE serial connectionusing the transmit data (TD) pin and the receive data (RD) pin.
Matlab Gui Tabs
For more information about serial port pins, see Serial Port Signals and Pin Assignments.
Bluetooth Serial Connection
Ifyou connect two DTEs or two DCEs using a straight serial cable, theTD pins on each device are connected to each other, and the RD pinson each device are connected to each other. Therefore, to connecttwo like devices, you must use a null modem cable.As shown in the following diagram, null modem cables cross the transmitand receive lines in the cable.
Gui Matlab Tutorial
Note
Matlab Serial Interface
You can connect multiple RS-422 or RS-485 devices to a serialport. If you have an RS-232/RS-485 adaptor, you can use the MATLAB serialport object with these devices.