Skip to content

Commit dfaa640

Browse files
committed
Update BT telem page
1 parent 132e24e commit dfaa640

File tree

1 file changed

+25
-70
lines changed

1 file changed

+25
-70
lines changed

common/source/docs/common-mission-planner-bluetooth-connectivity.rst

Lines changed: 25 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -12,67 +12,42 @@ Android Ground station at distances up to 50m.
1212
:target: ../_images/Bluetooth.jpg
1313
:width: 450px
1414

15+
.. note:: this module's baud rate usually must be changed from its default of 9600 to 57600 for use with ArduPilot. This is usually accomplished connecting it to a FTDI USB-serial adapter and using AT commands in a terminal program like Putty. See the last section of this page for more information on setting up the HC-06.
16+
1517
Connecting to the Autopilot
1618
===================================
1719

18-
The Bluetooth data link comes with both a DF13 6 pin and 6-to-5 pin
19-
connector which make it easy to connect to the Pixhawk Telem1 or
20-
APM2.x's Telem ports. Note that for the Pixhawk, although Telem1 is the
21-
recommendation, Telem2 or even Serial 4/5 will work.
20+
The Bluetooth data link often comes with both a DF13 6 pin and 6-to-5 pin
21+
connector which make it easy to connect to the autopilot's serial ports. Note that any unused serial port
22+
on the autopilot can be used.
2223

2324
.. image:: ../../../images/telemetry_bluetooth_datalink_pixhawk_and_apm2.jpg
2425
:target: ../_images/telemetry_bluetooth_datalink_pixhawk_and_apm2.jpg
2526

2627
Once you have connected the Bluetooth data link you can power up the
27-
board. It is OK to use USB connected power while using the Bluetooth
28-
module connected to the autopilot as the USB connection can supply
29-
enough power BUT YOU MUST USE A WALL WART with Micro or Mini USB).
28+
autopilot. It is OK to use USB connected power while using the Bluetooth
29+
module connected to the autopilot as long the the total power of ALL autopilot connected
30+
peripherals do not exceed the computer's capability (usually 1A)
3031

3132
Bluetooth data link's LEDs:
3233

3334
- Red LED blinks at 1hz : device is working, not connected
3435
- Red LED blinks at 0.5z : pairing
3536
- Red LED solid : connected
3637

37-
Quick Start connecting with Mission Planner
38-
===========================================
39-
40-
If you are familiar with Bluetooth, search for Bluetooth Device HC-05 or
41-
6 (some may have Linvor as well) , Pair with device (code 1234 or 0000)
42-
check it's properties and look at the services tab. Make sure SPP com
43-
port box is checked (only there if your Bluetooth device is active) Look
44-
in Device Manager (Windows) and make sure there is a Com Port for the
45-
Bluetooth and in the com port properties set the baud rate to 57600
46-
(note the Com Port number).
47-
48-
.. note::
49-
50-
For use with Mission Planner on the Configure/Tuning tab make sure
51-
and UNCHECK the box **Reset on USB Connect**:
52-
53-
.. image:: ../../../images/mp.jpg
54-
:target: ../_images/mp.jpg
55-
56-
The default Baud Rate for the Bluetooth Module is 57600 (most other
57-
modules are 9600) Be sure when you connect it is at 57600 and for the
58-
new Com Port you saw in Device Manager.
38+
AutoPilot Setup
39+
---------------
5940

60-
When you power up the PixHawk or APM with the Bluetooth the module will
61-
flash at 1hz the red LED when not connected. When Paring it will flash
62-
at .5 Hz and when connected it will be steady on.
41+
On the autopilot SERIAL port that the module is attached (we will use SERIAL2, sometimes labeled TELEM2, for the following), make sure it's parameters are set as:
6342

64-
And you're done! You can now use your Bluetooth telemetry for up to about
65-
50m range. (your range may vary depending on back ground noise and
66-
conditions in your area)
43+
- :ref:`SERIAL2_BAUD <SERIAL2_BAUD>` = 57 (57600)
44+
- :ref:`SERIAL2_PROTOCOL <SERIAL2_PROTOCOL>` = 2 (MAVLink2)
6745

68-
If you have problems connecting or you don't know Bluetooth very well or
69-
you want to change the default Baud Rate or Device Name, read on for the
70-
step by step process.
7146

7247
.. _common-mission-planner-bluetooth-connectivity_detailed_connecting_with_mission_planner:
7348

74-
Detailed connecting with Mission Planner
75-
========================================
49+
Connecting with Mission Planner
50+
===============================
7651

7752
.. image:: ../../../images/Mini_Bluetooth_Dongle.jpg
7853
:target: ../_images/Mini_Bluetooth_Dongle.jpg
@@ -138,55 +113,33 @@ Right click and select "properties"
138113

139114
Change baud rate to 57600
140115

141-
Once again start Mission Planner and go to the Configure/Tuning tab and
142-
make sure you UNCHECK the box "Reset on USB connect"
143-
144-
.. image:: ../../../images/mp.jpg
145-
:target: ../_images/mp.jpg
146-
147-
Your Bluetooth device should now be ready and you can connect to the
148-
proper port at the proper baud rate of 57600 (red LED steady on and not
116+
Your Bluetooth device should now be ready and you can connect to the port presented by the BT adapter in Mission Planner at the baud rate of 57600 (red LED steady on and not
149117
flashing)
150118

151119
Connecting From your Android ground station
152120
===========================================
153121

154122
These instructions will show you how to connect to your vehicle from
155-
AndroPilot or DroidPlanner 2 running on NExus 7 tablet using the
123+
Android device with a GCS app (like QGC, etc.) using the
156124
Bluetooth module.
157125

158-
Open the Android device's settings application and turn Bluetooth
126+
Open the Android device's settings panel and turn Bluetooth
159127
connectivity ON (usually by sliding a slider to the right). In the same
160128
settings screen click on "Bluetooth" which should cause a list of
161129
AVAILABLE DEVICES to appear
162130

163-
Power the vehicle and the "HC-06" device should appear. Click on it and
164-
enter "1234" or "0000" as the PIN to pair with the device, then select
131+
Power the vehicle and the "HC-06" (or whatever name you have changed it to below) device should appear. Click on it and enter "1234" or "0000" as the PIN to pair with the device, then select
165132
OK.
166133

167134
The device will appear under "PAIRED DEVICES"
168135

169-
If using DroidPlanner:
170-
171-
- open the Droid Planner settings, and select Telemetry Connection
172-
Type, Bluetooth.
173-
- In the main DroidPlanner interface, select Connect, and select the
174-
paired Bluetooth device.
175-
176-
If using AndroPilot:
177-
178-
- a "bluetooth" button should appear on the screen, click it
179-
180-
When live data appears on the screen, you’re ready to start mission
181-
planning.
136+
Then start you Android based ground control station and connect the Bluetooth data stream. Some systems will automatically ask you select the GCS application to use the BT connection. Sometimes you will have to explicitly setup the BT connection within the GCS application.
182137

183138
How to Change Baud Rate, Device Name and Device PIN
184139
===================================================
185140

186141
You will need a FTDI to USB cable to change any of the configurations of
187-
the device (not supplied) It is not necessary to change anything in
188-
order for your BT device to function properly it will function quite
189-
well as supplied. This is for reference and your convenience only!
142+
the device (not supplied). Often the baud rate must be changed from 9600 to 57600.
190143

191144
To change the above you need a "Terminal" emulator program. You can not
192145
use "Putty" (a popular serial port tool) because it will not accept
@@ -197,6 +150,8 @@ to send commands to the com port if you are familiar with that. I use
197150
"Advanced Serial Port Terminal" but any terminal emulator that allows
198151
you to type in a line of text before hitting send will work just a good.
199152

153+
See this `video for an example <https://youtu.be/jSxcEZHsV0A?si=RKToLGc-GopPVXnW>`__.
154+
200155
Change the baud rate
201156
--------------------
202157

@@ -209,13 +164,13 @@ rate:
209164

210165
3----4800bps
211166

212-
4----9600bps
167+
4----9600bps (usually the default)
213168

214169
5----19200bps
215170

216171
6----38400bps
217172

218-
7----57600bps
173+
7----57600bps (how we setup the autopilot to communicate)
219174

220175
8----115200bps
221176

0 commit comments

Comments
 (0)