Page 413 - ARM Based Microcontroller Projects Using MBED
P. 413
16.3 PROJECT 1—HOME IoT PROJECT 399
FIG. 16.9, CONT’D
16.3.8 Pairing the Bluetooth Modules With the PC
It is necessary to pair the Bluetooth modules with the PC before they can exchange data
with the PC. The steps for this are given in the following (these steps are for Window 7.0 op-
erating system, but similar steps should work for other versions of Windows). It is assumed in
the following that the Bluetooth modules are attached to all the development boards:
• Un-plug all development boards from the power supply
• Enable Bluetooth on your laptop or desktop
• Plug-in one of the development boards to the power supply
• Click the Bluetooth icon on your laptop and select Show Bluetooth Devices
• Click Add a device. You should see HC-06 listed as shown in Fig. 16.11
• Click on HC-06 and then click Next
• Click on Pair Without Using Code. You should see a message that the device has been
added successfully as shown in Fig. 16.12.
• Click Close
• Repeat the above process for the other two development boards. At the end, you should see
three HC-06 devices in the Show Bluetooth Devices list.
16.3.9 The PC Program
The TeraTerm terminal emulation program is used in this project for the PC. This emula-
tion program has the option that it can connect to the PC Bluetooth ports and receive or send
data through these ports. TeraTerm can be downloaded free of charge from several sources
on the Internet.