Bluetooth Module HC-05 with Arduino | Connections & Coding tutorial

preview_player
Показать описание
In this video, I have shown how to connect Bluetooth Module HC-05 with Arduino on the breadboard. I have explained Arduino Bluetooth HC-05 circuit diagram, pin description & arduino Bluetooth programming to control LED from the android phone through Arduino Bluetooth app.
Download link for the circuit and Arduino code for HC-05 module

In this Arduino HC 05 tutorial, I have also discussed the arduino bluetooth code for simple arduino bluetooth projects to explain how data send from Bluetooth module to Arduino and how to pair HC05 with Android smartphone.

#HC05toArduino #HC05BluetoothModule %TechStudyCell

This is a very basic Arduino Bluetooth tutorial where I have controlled load like LEDs and DC motor from the smartphone. In the upcoming videos, we will see how to control different AC load from the smartphone through Bluetooth.

After watching the complete video you can easily design the circuit and write the Arduino code for Bluetooth module as per your requirement.

*********************************************************************
If you love watching my videos and found it useful, then please donate me at PayPal, so that I can do it forever and better then before.

You can also send it through UPI

Thanks for your Support.
**********************************************************************
If you have enjoyed the video please hit the like button and share it with your friends. For more such videos don't forget to SUBSCRIBE to our channel and please do share your feedback in comment sections. Thank you for your Support.

Other useful videos:

Arduino Tutorial for Beginners

How to make LED Chaser circuit using Arduino in 6 minutes with code

How To Test All Electronic Components with Multimeter

How to calculate resistor value for LEDs in circuit @9V and 12V
Рекомендации по теме
Комментарии
Автор

Ha! It works without the gray wire and no 9 Volt which I'm not sure what that is for, but I never noticed the Vin on the Arduino before either, something new I'll have to research. People just do what he says by disconnecting the RX and TX before you upload your sketch. Thank you very much dude for this video. I spent countless hours watching other videos that didn't work and no download for code. I'm posting your code here just in case the download link disappears. I used pin 8 with LED and 330 ohm resistor and it works on switch 2 on the app. YOU ROCK MY FRIEND!


void setup() {
// put your setup code here, to run once:
Serial.begin(9600); //Define Baud rate 9600
pinMode(13, OUTPUT); // Define pin 13 as OUTPUT
pinMode(8, OUTPUT); // Define pin 8 as OUTPUT
}

void loop() {
// put your main code here, to run repeatedly:
if(Serial.available()>0)
{
char data= Serial.read(); // reading the data received from the bluetooth module
switch(data)
{
case 'Z': digitalWrite(13, HIGH);break; // when Z is pressed on the app Turn on Pin 13
case 'z': digitalWrite(13, LOW);break; // when z is pressed on the app Turn off Pin 13
case 'Y': digitalWrite(8, HIGH);break; // when Y is pressed on the app Turn on Pin 8
case 'y': digitalWrite(8, LOW);break; // when y is pressed on the Turn off Pin 8
default : break;
}
Serial.println(data);
}
delay(50);
}

ChrisAnderson----Web-Designs
Автор

This cleared up some confusion, had it ready to go in ten minutes. thank you so much!

ninjanyan
Автор

Thank you for this video you made it really easy to understand how to use the module!

DWard
Автор

wow man !! now this is what we call a good tutorial. love you bro

mayankchauhan
Автор

Bro can I use hm 10 blutooth module please reply

bgm
Автор

Hi, I need to put a transmitter on the collar of my dog, so when he barks it would trigger a device in the house. I also need to keep track of the barks on an app on my phone that I will later make. What technology do you recommend? How? Thank you so much.

Dr-Shlomo-Cohen
Автор

Excuse me, but what is the gray wire and the other resistor connected to in your video?

ChrisAnderson----Web-Designs
Автор

hello, is it possible change de bluetooth mac address of this device? how can i do it?

MarioBignami
Автор

Hi sir
I want to interface 4 switch buttons and bluetooth(hc-05) to the arduino board and I want to send the switches status to the other bluetooth module which is connected to the other arduino..
Can you plez help me to write the code for this???
Thanks
Regards
Naresh

souparnika
Автор

Mere mobile me Hc 05 is not shown what should i do??

electoreal
Автор

Pls sir help me I'll make IR+BT REALY MODULE but arduino code is error

salmanpatel
Автор

How is code loaded in hc 05 module from laptop. You have not explained this.

If already done, request link to understand as to how to load codes in the hc 05 module.

sadanand
Автор

What happens when we connect directly without resistor

ElectroRetro
welcome to shbcf.ru