Tutorial on Bluetooth sensor HC-05 with Arduino | Connections & Coding
Вставка
- Опубліковано 14 сер 2024
- This video tells you how you can control LED or any other stuff with the help of an Arduino board, a bluetooth module/sensor & an Android/smartphone !
0:00 - Intro
00:29 - Requirements
Arduino board
LED
Bluetooth module HC-05
Breadboard
Android
00:45 Connections of bluetooth module HC05
03:15 Arduino code for HC05
05:05 Android app
06:40 Testing
Code available here :-
mechstuff.com/...
BlueControl app link :-
play.google.co...
Like my page on Facebook :-
www.facebook.c....
For more interesting mechanical news, engines & robotics stuff, visit my blog - MechStuff ! ;)
mechstuff.com/ - Наука та технологія
When in doubt, find the Indian man on youtube to solve all your problems
Excellent
true story 😂
Do hc05 work with newer phones? I failed to connect it
Nice video presentation, some points to comment:
The HC-05 module used in this tutorial clearly states "3.3V LEVEL" at the RX input pin 0:59 . The use of a voltage divider (1k/2K) is recommended.
Also a resistor (470-1K) in serie with the LED is recomended. (The Arduino ATMEGA328 is being stressed out of specifications).
TRUE
Very Impressive!!!
Can I use voltage divider
( 220 ohm / 220 + (220 + 220) ohm ) ,
I mean R1 = 220 ohm and R2 = 220 + 220 ohm, in the HC-05 connection with the arduino uno?
Or do I need 1k and 2k resistors?
Since, Vout = Vin ( R2 / (R1+R2) is the same, it's 2/3, I could use R1 = 220 ohm and R2 = 220 + 220 ohm, right? Help, I am an enthusiastic begginer with this!
@@ingjn7858 it should work. the arduino should use more current on its TXD pin, but it is perfectly capable of it.
Thanks a lot! I have been looking for videos for starters for a long time and here a got one finally. Great effort and hence lots of appreciation for you.
Thanks a lot friend, I had so much trouble with the code, but this cleared all up.
Hi ! Good video ! But you are conneting the LED without 220 Ohms resistor to a 5V supply ! This can damage the LED or worse still the Arduino Pin . Take Care !
Sir here, he has added the Bluetooth module to the arduino direct. That which flows the data of 5 volts. Is this not harmful for the Bluetooth module? If it is harmful, then what will it have to do. Plzz... 🙏🙏sir tell me
You need to add a voltage divider as seen here: howtomechatronics.com/tutorials/arduino/arduino-and-hc-05-bluetooth-module-tutorial/
I was wondering the same thing! I was like ....wait for it ... it's going to blow! but didn't perhaps after longer term use?
Guys try this new modern Bluetooth Controller APP, don't forget to share with your friends! play.google.com/store/apps/details?id=com.kopunectomas.smartbluetooth
hi
BlueControl link not found.
download aptiode then install it
@Alpha Carbide there are so many which one
ТЫ ЛУЧШИЙ!!!!!!!!!!! весь интернет перерыл и только по твоему гайду смог нормально подключить этот модуль!
hi, i have one of this hc-05 and i'd loke know if it's posible conect to a moderboard desktop pc? and how ?
Hi, I am currently attempting to build a circuit to transfer vibration data from a dc motor to a pc via Bluetooth along the lines of this awesome youtube clip. although I am looking at transferring the data via Bluetooth. what changes would i need to do to this program to ensure it was successful? thank you for any help and advice it will be gratefully accepted
+1 for 7:14 tip! Removing RX/TX pins before uploading!
😉
Ya it's working 👍👌 but you have to install Arduino blue control (made by pcb way) and data will be in a 1 & 2 so accordingly our code we have to change it with(small) a and b, thanks for the code and circuit❤✌️
0:47 Doesnt VCC connect to 5v pin and not Vin pin?
It's 5v
The intro is on fire🔥🔥
my ears too
hey, id like what software did you use to make a circuit diagram with the bluetooth module HC 05 and with arduino uno, bc i cant find anywhere on tinkercad
Hehe.. sure.. its Fritzing
This was exactly what I needed! I'm using 2 nano to control one-another through the serial communication. Thanks for your help!
What we need to do if we want to connect module with digital pins other then 0 & 1(Digital Pins)??
What will be the changes in the sketch as well as on the Pins??
@Faraz Sid connect gnd and p-
instructions not clear, I was feeling lost during the process. My teacher failed me because of you. THank you sir. I will send you my paypal if you want to repay the tools I broke during the process
Nice one. But i wanted to know this-- instructions that are being sent from mobile via bluetooth is detected by hc05 and then the tx pin of hc05 is transmitting the signal to the rx pin of arduino right? What is the rx pin of hc05 and tx pin of arduino needed for? What information is arduino transmitting to hc05?
Can you help me with the connections of HC05 with normal USB Speakers to make them Bluetooth? Want to learn
Tnk u...it helped me a lot....keep uploading such valuable stuffs 😀
great video. the hc-05 logic level is 3.3v. the arduino logic level is 5v. thus, you can connect the Tx pin of the bluetooth module to the Rx pin of the arduino because the arduino also aupports 3.3v logic level. but, in order to connect the Tx pin of the arduino to the Rx pin of the bluetooth module, you need a voltage divider in between. the 5v logic level of the arduino can damage the bluetooth module.
ammeydan......but a lot of people r using it directly with arduino,,,,
Shashank Agarwal you can also use a tension partitor... i think...
If you get strange characters, try to change baud rate to: Serial.begin(38400);
DUDE!!!!!!!!! YOU SAVED MY DAY!! I have been struggling for around a week and now you came ... THANKS !!!
No problem, I found solution at: forum.arduino.cc/index.php?topic=260234.15
Big thanx bruh!! I just kept changing baud rate only in the serial monitor. Little that I know, to change in the code also!
thanks dude , i have been trying this for over a day
May i know why exactly 38400
Thank you for your video i am form Thailand
You're welcome 😊
I have set it up the BT module (HC-05) and connected it to my laptop and i have set up realterm (my serial capture program) and the BT module and realterm say that they are connected but when I try to send a command to my arduino (arduino Uno R3) I get no response from the arduino or the terminal.
Thank you..with this program and a bit editing, i can also control 04 channel Relay Module.. 👍👍👍
Hola, quería preguntar si con HC-05 y Arduino, es posible ENVIAR TEXTO AL MONITOR DEL PC como si se tratara de un teclado bluettoth, por ejemplo enviar datos a un documento Word, o a donde esté situado el cursor del ratón sea cual sea la aplicación actual en el monitor. No a la pantalla del puerto serie de la aplicación de arduino. El HC-05 ya lo tengo emparejado con el ordenador. Muchas gracias de antemano por su respuesta.
il HC 05 noto che il livello logico 3 3.3V deIIa linea Tx mentre arduino gestisce la linea Rx a 5V; questo non potrebbe provocare un malfunzionamento o guasto del modulo?
My bluetooth's name show up as JDY-31-SPP instead of HC-05.
Anyway, it's very inconvenience to have to disconnect RX & TX wires every you have to upload the sketch.
I'm thinking about using dip switch. Does it work with dip switch?
nice video but i wondering how to connect arduino with custom mobile application using android studio its same?
Thanks, my HC-06 work very well with your explication.
how can We provide wireless connection b/w relay and arduino
can we use this Bluetooth sensor @mechstuff
THANK YOU SO MUCH! You provided me with the easiest code...
Hi, I am a private investigator and have found a gas pump skimmer installed on my clients gas station. These skimmers work via bluetooth, all they are is the HC-06 bluetooth module connected to the card reader on the gas pump. It saves the credit card details on the EEPROM or the Flash memory. We have not removed it yet, we want to first gather all the data from it before removing. I have paired with it, the password was 1234. Now what do i do in order to get the credit card numbers?
BluControl is no longer available on Android. What do you recommend as a replacement?
Is it possible to make led light blink when i'll get a certain notification on my phone?
i want to 3 leds blinking in sequentia over and over until you use the on and off function.. can you help me please?
Aree bhava tya blutooth module la kont vin dil bgha jra tyla 5 v pahije fkt , vin dil ahe ani 12 v input dil tr burn zal blutooth module
where did you connect pins 4 and 5 of the bluetooth module?
Adwitiya Das Pin 4 goes to RX on the arduino and Pin 5 goes to TX on the arduino
Your opening is like death note
Very good tutorial
Thanks !
Hi MechStuff,
Simple and informative video.
Could you suggest me any SOC with Bluetooth transceiver integrated, which small, affordable and light weight.
Thanks in advance!
can i use Bluetooth 4.0 instead of HC-05
bro thanks i was in problem and by your code i overcome thanks you so much
Need an Arduino on my glasses to auto adjust focus to compensate...thanks for sharing though
I have an iPhone so the android app link doesn’t work for me. Can you recommend an app that will work for an iPhone please?
How can we connect two smartphones with one HC-05 bluetooth module to simultaneously control arduino outputs?
Works with HM-10 too?
please,I worked as a project for a car robot that works with voice commands,but after I installed the parts and connected the battery ,a light dose not appear in the Bluetooth circuit and it does not appear on a mobile that it is present ,but when you connect the Arduino to the laptop , the Bluetooth appears to work , if you please help me is necessary
Hello, the battery might be discharged. Change the battery, it might work.
i do all but in my blue control app not connect the BT. there in msg unable to connect.
plz tell me what i can do
Thanks, good video...please give us more good videos
When I press on the link for the app in description, it days Sorry, this app is not available on this server. Please guide on this problem.
If i want to use The joystick in that software,dont want to use button a,button,d.etc . what should i type in the code instead of case'a' or case'd' ?Because i want to make a car.
Please help. I can't send data to arduino from my phone. i use ArduDroid. I can read any data send to my phone but not in reverse. But when i play with the serial monitor it can send and receive data
what happened if I close the application and leave the the light open? Is the light will turnoff ?
Really helpful 🙏
blue control app is not working.. it is paired with the mobile but not specifically for the app. NEED HELP!
THANK YOU MAMPIR OM MY KOP IS SAVED WITH YOU
Can't dwnload the app it says item not found
it 's in the detail clickon show more...
you can install apk apkpure.com/blue-control/com.gundel.bluecontrol/download?from=details
@@bahadrkoprubas3218 how to edit the app?
Thank for giving me vedio
I've avoided asking this because I'm so new to this. Is the arduino sketch written by you or is it available to copy and paste or download from some where? I have looked for it in the arduino library and didn't see it
He wrote that himself. Search for Arduino codes on google. They're written in C Language. Search for the lines of code which you don't understand. Once you understand the logic, you could write the same code with a better logic.
@@retrohd1_ Thanks, I just ordered the Elegoo Starter kit. While I'm waiting for the package to arrive I'm going through the lessons. I'm on lesson 9, and I am understanding things more clearly.
kak izin bertanya untuk file zipnya dan file hello world di laptop diletakkan dimana yaa ? saya sudah download tapi tetap codenya tidak bisa digunakan ada notif warna merah di arduino ide nya
The blucontrol app link is not opening
hi, nice video! thank you.
but i have the problem with app interface button. when i press 'a', and i look at the serial monitor, it is not necessary detect as 'a', it will randomly detect as 'A' or 'b' or '@' or 'd'. When it detect as 'a', then only the led will light up. May i ask what is the problem?
This is weird. Please send me your code.
finally i solve this problem! thanks for the video, it help me a lot :)
Very useful! But, my phone is unable to detect the Bluetooth module! In another case, the settings option doesn't appear on the phone!
Re-install the app again, as well as restart your phone ! That might help...
IT is not working while restart my phone
this app is just asking to turn on the bluetooth but not connecting to HC05
don't work with iphone, only with android
well done mate.good work
Oğul hocanın öğrencileri hepiniz hoş geldiniz :D
Hi MechStuff,
Thanks a lot for you video.
is possible just use the BT module and use a batery how source?, o is necessary use the arduino for configurator and controlling.
Thank you
David.
Hello David, yes.. the Arduino is necessary. If you have any space constraints, you can go for a smaller Arduino - Arduino Nano
Hey
Can you tell me how to connect the bluetooth module to make bluetooth speaker
I would like to be able type some text to display on an LED/LCD screen, do you have or know of any tutorials for that?
Check this video
ua-cam.com/video/CYkGRtVv3Ls/v-deo.html
Thank you, but the BlueControl application is no longer available. Can you suggest a replacement?
I am facing the same problem
Hello sir, '_sendMessage(textController.text)' is not sending data :(
Arduino Rx pin is also not blinking
what do i do if my hc-05 just doesent turn on
Nice job
Bluetooth Rx Tx are 5v tolerant?
I do not see the app
What I can do?
this is very useful video , i asked to anouther video come in cannel internal block diagram of Bluetooth moudle
Very useful, Thank u
does it have database to store data ?
When I want to connecr HC-05, its says wrong password, I have also try 0000 and 1234 also, but it still saying wrong pass word,
any solution?
Try 1111
can you use any blutooth app for thesekind of projects?
Hello! You can.. provided they are created for such IoT projects/purposes. Also, code changes accordingly.
Does the breadboard have electricity? Or do we need to plug in electricity?
Absolutely not, the the breadboard doesn't have electricity. we need to connect Vcc ( positive terminal of source) and ground (negative terminal of source ) in order to operate it.
Good explaination and demo, thanks a lot friend
Glad you liked it!
it works for me thanks
can you please tell the name of the software .if i open the link it says page not found.
Video was helpful
Blue control app not found
Please help me
great work keepit up...
Подскажите, пожалуйста.
Можно както запаралелить два модуля блютуз?
Sir I am having problem
Module is working and connecting with app but no led is turn on
I can send you image of connections and coding....
im getting same error as you. have you solve it. if dont mine could you share with the solution.
Are those permanent car horns normal or there were some traffic accident?
that camera was making me rage idk why
Nice but ,Can we manage by this application several leds with different bluetooth modules ?
Yes, you can !
thank you so much bro
Bhai my hc05 new module is not working first time. What to do? Please help me 😢😢😢
Help me!
avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x45
What is this error?
thanks for the effort but is there another app 2021
hello, I have done everything you did, But Nothing Happened when I send command from mobile,
when I observed in serial monitor I got as Output like ¿ this, reverse que mark. How to solve this.
I want this type of programe. if i will send GO in command It will be GO in serial monitor.
Please reply me asap
have you selected proper baud rate?
Can I do the same with SH-HC-O8?
I don't know if there are any difference
Yes,
But sometime it cause problem
I have have a problem that my phone is not connecting to the module please help me
can show how to make an app to control? plz