Hello guys, Welcome back to my SriTu Hobby blog. Today we are going to talk about the Bluetooth module. First, let see what is the Bluetooth module. There is currently no one who does not know about Bluetooth. Because Bluetooth technology is included in the mobile phones, headsets, mice, speakers we use. Through this, we can easily exchange data between two devices. But Data transfer is possible in the range of 10M to 100M via Bluetooth. Therefore, this can also be called a short-range wireless communication technology. UHF radio waves with short wavelengths are used to transmit data through this technology. It also uses a frequency of 2.45GHz for data transmission via Bluetooth. But today, Bluetooth technology is moving away from us little by little. However, we can easily do some work with this.
Well, now let’s take a look at the HC-5 Module that incorporates this Bluetooth technology. Here we can see Six main pins. Of these, we need only four pins. This is designed to incorporate the serial communication method to transmit data with the Arduino board. For that, we can use the RX and TX pins here. If you don’t know what serial communication is, study this article. Read me. Below you can see the PIN configuration here.
STATE –> The state pin is connected to the onboard LED, it can be used as feedback to check if Bluetooth is working properly.
RXD –> Receive Serial Data.
TXD –> Transmits Serial Data.
GND –> Cathode pin of the module.
VCC –> Anode pin of the module.
EN –> This pin is used to toggle between Data Mode (set low) and AT command mode (set high).
Now let’s see what kind of places this Bluetooth module can be used.
Wireless communication between two microcontrollers.
Well, then we will see how to turn an LED bulb on/off using the Bluetooth module. Use the following components for this. These can be easily purchased using the links below.