Tutorial on Bluetooth sensor HC-05 with Arduino | Connections & Coding
Ғылым және технология
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/control-leds-wi...
BlueControl app link :-
play.google.com/store/apps/de...
Like my page on Facebook :-
MechStuff/?r...
For more interesting mechanical news, engines & robotics stuff, visit my blog - MechStuff ! ;)
mechstuff.com/
Пікірлер: 411
When in doubt, find the Indian man on youtube to solve all your problems
@Jonmal0ne
3 жыл бұрын
Excellent
@mlabdev
3 жыл бұрын
true story 😂
@tankman1320
2 жыл бұрын
Do hc05 work with newer phones? I failed to connect it
Thanks a lot friend, I had so much trouble with the code, but this cleared all up.
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.
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).
@ZayedHamed_01
Жыл бұрын
TRUE
@ingjn7858
11 ай бұрын
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!
@user-qq2vq6hi4d
11 ай бұрын
@@ingjn7858 it should work. the arduino should use more current on its TXD pin, but it is perfectly capable of it.
Thanks, my HC-06 work very well with your explication.
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 ?
THANK YOU SO MUCH! You provided me with the easiest code...
This was exactly what I needed! I'm using 2 nano to control one-another through the serial communication. Thanks for your help!
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
bro thanks i was in problem and by your code i overcome thanks you so much
how can We provide wireless connection b/w relay and arduino can we use this Bluetooth sensor @mechstuff
Thank you..with this program and a bit editing, i can also control 04 channel Relay Module.. 👍👍👍
Tnk u...it helped me a lot....keep uploading such valuable stuffs 😀
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?
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.
can i use Bluetooth 4.0 instead of HC-05
Thank you so much 😊 keep it up!! 😊
THANKS YOU!! THANKS VERY MUCH!! Like of GOLD
i want to 3 leds blinking in sequentia over and over until you use the on and off function.. can you help me please?
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.
Подскажите, пожалуйста. Можно както запаралелить два модуля блютуз?
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
Can you help me with the connections of HC05 with normal USB Speakers to make them Bluetooth? Want to learn
Help me! avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x45 What is this error?
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?
The intro is on fire🔥🔥
@bismuthhabs6701
3 жыл бұрын
my ears too
what do i do if my hc-05 just doesent turn on
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?
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??
@Griffinbingos
4 жыл бұрын
@Faraz Sid connect gnd and p-
Works with HM-10 too?
Very useful, Thank u
Thanks, good video...please give us more good videos
Very good tutorial Thanks !
i got at-09 ble 4 module its not working.
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!
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
@MechStuff
3 жыл бұрын
Hehe.. sure.. its Fritzing
help me the error: unable to write. broken pipe. thanksssss in advance.
well done mate.good work
BlueControl link not found.
@mohamedhatem5721
4 жыл бұрын
download aptiode then install it
@lustrals1273
3 жыл бұрын
@Alpha Carbide there are so many which one
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
THANK YOU MAMPIR OM MY KOP IS SAVED WITH YOU
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?
thanks for u r video bro
ТЫ ЛУЧШИЙ!!!!!!!!!!! весь интернет перерыл и только по твоему гайду смог нормально подключить этот модуль!
Need an Arduino on my glasses to auto adjust focus to compensate...thanks for sharing though
Can you tell me the software on which you are applying code
great work keepit up...
does it have database to store data ?
nice video but i wondering how to connect arduino with custom mobile application using android studio its same?
Thank u very much best video .
Can I do the same with SH-HC-O8? I don't know if there are any difference
@Griffinbingos
4 жыл бұрын
Yes, But sometime it cause problem
what happened if I close the application and leave the the light open? Is the light will turnoff ?
How can we connect two smartphones with one HC-05 bluetooth module to simultaneously control arduino outputs?
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
Thank you for information
..thanks man...perfekt video....top
Bluetooth Rx Tx are 5v tolerant?
I do not see the app What I can do?
Good info mann!
How to recive rfid data to anroid data base via bluetooth
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.
@nelsondarwinpaktech3954
5 жыл бұрын
ammeydan......but a lot of people r using it directly with arduino,,,,
@samuelebaiano6505
5 жыл бұрын
Shashank Agarwal you can also use a tension partitor... i think...
Im doing good. Thank you for asking
Video was helpful
BluControl is no longer available on Android. What do you recommend as a replacement?
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❤✌️
wow nice video thank you brother
Bc147 can we use
where did you connect pins 4 and 5 of the bluetooth module?
@kieryweery1
6 жыл бұрын
Adwitiya Das Pin 4 goes to RX on the arduino and Pin 5 goes to TX on the arduino
0:47 Doesnt VCC connect to 5v pin and not Vin pin?
@rushikeshthorat8902
4 жыл бұрын
It's 5v
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
Is it possible to make led light blink when i'll get a certain notification on my phone?
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?
@Gomitah1
4 жыл бұрын
Check this video kzread.info/dash/bejne/dY2fqbSthtmZfNY.html
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 !
@princechauhan3363
6 жыл бұрын
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
@Explore-Gobal
6 жыл бұрын
You need to add a voltage divider as seen here: howtomechatronics.com/tutorials/arduino/arduino-and-hc-05-bluetooth-module-tutorial/
@MarkReisch
6 жыл бұрын
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?
@tomaskopunec7716
6 жыл бұрын
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
@progamerclanwar5873
5 жыл бұрын
hi
Really helpful 🙏
this is very useful video , i asked to anouther video come in cannel internal block diagram of Bluetooth moudle
blue control app is not working.. it is paired with the mobile but not specifically for the app. NEED HELP!
is there an app that works on iphones
good video
If you get strange characters, try to change baud rate to: Serial.begin(38400);
@saiharanrajkumar3083
7 жыл бұрын
DUDE!!!!!!!!! YOU SAVED MY DAY!! I have been struggling for around a week and now you came ... THANKS !!!
@soapenvelope
7 жыл бұрын
No problem, I found solution at: forum.arduino.cc/index.php?topic=260234.15
@madebysurya
7 жыл бұрын
Big thanx bruh!! I just kept changing baud rate only in the serial monitor. Little that I know, to change in the code also!
@artisticboundary7856
6 жыл бұрын
thanks dude , i have been trying this for over a day
@akkimahesh3005
6 жыл бұрын
May i know why exactly 38400
Very useful! But, my phone is unable to detect the Bluetooth module! In another case, the settings option doesn't appear on the phone!
@MechStuff
7 жыл бұрын
Re-install the app again, as well as restart your phone ! That might help...
@nomanali-fr9us
6 жыл бұрын
IT is not working while restart my phone
@nomanali-fr9us
6 жыл бұрын
this app is just asking to turn on the bluetooth but not connecting to HC05
@TheKauly
6 жыл бұрын
don't work with iphone, only with android
Thank you for your video i am form Thailand
@MechStuff
3 жыл бұрын
You're welcome 😊
Which book required to learn complete ardino
Does the bluetooth module need an API to work?
mais vous avez pas mentionner comment on va crée une application ?
Bhai blue control app link is not loading
pleas i need your android software.
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
@rajdeepparmar9283
7 жыл бұрын
have you selected proper baud rate?
The blucontrol app link is not opening
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.
@MechStuff
4 жыл бұрын
Hello David, yes.. the Arduino is necessary. If you have any space constraints, you can go for a smaller Arduino - Arduino Nano
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,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
@MechStuff
4 жыл бұрын
Hello, the battery might be discharged. Change the battery, it might work.
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.
I have have a problem that my phone is not connecting to the module please help me
Can't dwnload the app it says item not found
@mimoderraz2112
6 жыл бұрын
it 's in the detail clickon show more...
@bahadrkoprubas3218
6 жыл бұрын
you can install apk apkpure.com/blue-control/com.gundel.bluecontrol/download?from=details
@myoaqim2164
5 жыл бұрын
@@bahadrkoprubas3218 how to edit the app?
can i receive an string with bluetooth module?
You need a voltage divider for the HC-05 Rx pin (3.3vdc)
Are those permanent car horns normal or there were some traffic accident?
brother i can't find your app
Bro blue controlled app is not working
Hey Can you tell me how to connect the bluetooth module to make bluetooth speaker