14.3 Bluetooth
Last updated
Last updated
A ZS-040 (detected as HC-0X) bluetooth module is provided in our Arduino course on-site, which looks like:
The ONLY difference is that the provided bluetooth module has 4 pins but NOT 6 pins, without pin STATE and pin EN.
Note: Please remove your bluetooth module before flashing your code onto Arduino board. Otherwise, you'll obtain the following ERROR messages:
After the installation, by click on Connect on the FIRST page of this APP, you'll see all detected bluetooth devices as:
By selecting one of the devices, you'll see the device is NOW connected.
By clicking Turn ON and Turn OFF, you will see the led can be light on and off accordingly.
And, some serial message will be printed on the Monitor Serial dialog as:
The first page of LVContrl looks like:
By selecting page BTSet, we can easily SEARCH FOR VISIBLE DEVICES:
After simply pair the device by just clicking on the listed device name, you will be able to see that our bluetooth device is now listed in LIST PAIRED DEVICES.
Two other very similar reference examples can be found at:
, which are left for students as their assignments.
The code can be found at You can also refer to Adafruit's official website at .
This APP can be downloaded from
provides its own APP LVContrl, which can be downloaded from ...