

If( Serial.A subtle but important fix users have been asking for, you can now “text scrub” in Ozone 9 just like in previous versions.

begin( 38400) // Default communication rate of the Bluetooth module We will make a simple example, just turning on and off a LED but it will be good enough for understanding the communication. So, now we are ready to make the Arduino code for enabling the communication between the Arduino board and the smartphone. Arduino Bluetooth Communication Example Source Code On the other hand, the line between the Bluetooth module TX pin and the Arduino RX pin can be connected directly because the 3.3V signal from the Bluetooth module is enough to be accepted as a high logic at the Arduino Board. So, the line between the Arduino TX (Transmit Pin, which has 5V output) and the Bluetooth module RX (Receive Pin, which supports only 3.3V) needs to be connected through a voltage divider in order not to burn the module. However, the logic voltage level of the data pins is 3.3V. The particular module that I have can be powered from 3.6 to 6 volts, because it comes on breakout board which contains a voltage regulator. Here’s how we need to connect the module to the Arduino Board. As an Amazon Associate I earn from qualifying purchases. Breadboard and Jump Wires ……… Amazon / Banggood / AliExpressĭisclosure: These are affiliate links.Arduino Board …………………………… Amazon / Banggood / AliExpress.You can get the components needed for this Arduino tutorial from any of the sites below:

The HC-05 module is a Bluetooth SPP (Serial Port Protocol) module, which means it communicates with the Arduino via the Serial Communication. There are several different versions of this this module but I recommend the one that comes on a breakout board because in that way it’s much easier to be connected. Comparing it to the HC-06 module, which can only be set as a Slave, the HC-05 can be set as Master as well which enables making a communication between two separate Arduino Boards. Before we start with the first example, controlling an Arduino using a smartphone, let’s take a closer look at the HC-05 Bluetooth module.
