You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: common/source/docs/common-mission-planner-bluetooth-connectivity.rst
+25-70Lines changed: 25 additions & 70 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,67 +12,42 @@ Android Ground station at distances up to 50m.
12
12
:target:../_images/Bluetooth.jpg
13
13
:width:450px
14
14
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
+
15
17
Connecting to the Autopilot
16
18
===================================
17
19
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
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)
30
31
31
32
Bluetooth data link's LEDs:
32
33
33
34
- Red LED blinks at 1hz : device is working, not connected
34
35
- Red LED blinks at 0.5z : pairing
35
36
- Red LED solid : connected
36
37
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
+
---------------
59
40
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:
63
42
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
@@ -138,55 +113,33 @@ Right click and select "properties"
138
113
139
114
Change baud rate to 57600
140
115
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
149
117
flashing)
150
118
151
119
Connecting From your Android ground station
152
120
===========================================
153
121
154
122
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
156
124
Bluetooth module.
157
125
158
-
Open the Android device's settings application and turn Bluetooth
126
+
Open the Android device's settings panel and turn Bluetooth
159
127
connectivity ON (usually by sliding a slider to the right). In the same
160
128
settings screen click on "Bluetooth" which should cause a list of
161
129
AVAILABLE DEVICES to appear
162
130
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
165
132
OK.
166
133
167
134
The device will appear under "PAIRED DEVICES"
168
135
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.
182
137
183
138
How to Change Baud Rate, Device Name and Device PIN
0 commit comments