Usage Example for Arduino-PC Communication
Last revision 2026/01/12
This article guides you through the process of setting up communication between Arduino and PC using the DF-Bluetooth module. It covers hardware preparation, software installation, and step-by-step instructions for pairing and connecting devices, along with sample code for testing data transmission.
The DF-Bluetooth module is based on the specification of Bluetooth V2.0, compatible with V1.1. A Bluetooth adaptor is required to communicate with the DF-Bluetooth module. When it is paired with other Bluetooth devices, the DF-Bluetooth is always set to slave mode.
The IVT BlueSoleil is recommended to manager all your Bluetooth devices.
Hardware Preparation
- DFR0216 DFRduino UNO R3 x 1
- DFR0265 IO Sensor Expansion Board V7 x 1
- TEL0026 DF-Bluetooth Module V3 x 1
- TEL0002 Bluetooth Adapter Mini x 1
Software Preparation
- Download and install the Arduino IDE: Click to Download Arduino IDE
- Download and install the IVT BlueSoleil: Click to Download IVT BlueSoleil
- Download and install the CoolTerm: Click to Download CoolTerm
Note: you can also use Arduino IDE serial monitor.
Operation Steps
-
Connect a Bluetooth adapter to the PC.
-
Mount the Bluetooth module on the Arduino board.
-
Open BlueSoleil → right-click the central yellow ball → "Search Devices" → find the "EPBMX-COM" icon (DF-Bluetooth module).

-
Right-click "EPBMX-COM" → "Pair" → enter passkey "1234" (LINK-LED blinks then stays on if successful).

-
Right-click "EPBMX-COM" → "Search Service" → right-click again → "Connect Bluetooth Serial Port (COMXX)" (LINK-LED stays on).

-
Unplug the Bluetooth module from Arduino → upload test code → replug the module.
void setup()
{
Serial.begin(9600); //Set serial baud rate to 9600
}
void loop()
{
Serial.print("Hello!"); //print out hello string
delay(1000); //1 second delay
}
Result
Open the Arduino serial monitor or CoolTerm to view data sent by Arduino.

Note
- Ensure the baud rate is 9600 for both master and slave.
- Disconnect the module before uploading code to avoid TX/RX pin occupation.
Was this article helpful?
