Тёмный

Tutorial on Bluetooth sensor HC-05 with Arduino | Connections & Coding 

MechStuff
Подписаться 9 тыс.
Просмотров 891 тыс.
50% 1

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/

Наука

Опубликовано:

 

9 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 412   
@darthjarjar4771
@darthjarjar4771 3 года назад
When in doubt, find the Indian man on youtube to solve all your problems
@Jonmal0ne
@Jonmal0ne 3 года назад
Excellent
@mlabdev
@mlabdev 3 года назад
true story 😂
@tankman1320
@tankman1320 2 года назад
Do hc05 work with newer phones? I failed to connect it
@logrodesbloqueado100ksubsc3
@logrodesbloqueado100ksubsc3 5 лет назад
Thanks a lot friend, I had so much trouble with the code, but this cleared all up.
@saifsayeed1046
@saifsayeed1046 3 года назад
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.
@Agrucho
@Agrucho 6 лет назад
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
@ZayedHamed_01 Год назад
TRUE
@ingjn7858
@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
@user-qq2vq6hi4d 11 месяцев назад
@@ingjn7858 it should work. the arduino should use more current on its TXD pin, but it is perfectly capable of it.
@annibot5124
@annibot5124 3 года назад
THANK YOU SO MUCH! You provided me with the easiest code...
@josephjeanclaude123
@josephjeanclaude123 7 лет назад
Thanks, my HC-06 work very well with your explication.
@willkellum71
@willkellum71 Год назад
This was exactly what I needed! I'm using 2 nano to control one-another through the serial communication. Thanks for your help!
@roshands1604
@roshands1604 3 года назад
Tnk u...it helped me a lot....keep uploading such valuable stuffs 😀
@vic6466
@vic6466 5 лет назад
The intro is on fire🔥🔥
@bismuthhabs6701
@bismuthhabs6701 3 года назад
my ears too
@rajdeepparmar9283
@rajdeepparmar9283 7 лет назад
bro thanks i was in problem and by your code i overcome thanks you so much
@NEXTFIRE2
@NEXTFIRE2 7 лет назад
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 ?
@saimakhan8597
@saimakhan8597 5 лет назад
Thank you so much 😊 keep it up!! 😊
@user-df7zp4jx3d
@user-df7zp4jx3d Год назад
ТЫ ЛУЧШИЙ!!!!!!!!!!! весь интернет перерыл и только по твоему гайду смог нормально подключить этот модуль!
@a6grafika
@a6grafika 3 года назад
Thank you..with this program and a bit editing, i can also control 04 channel Relay Module.. 👍👍👍
@shaggy150574
@shaggy150574 6 лет назад
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
@shatterkiba4942
@shatterkiba4942 6 лет назад
THANKS YOU!! THANKS VERY MUCH!! Like of GOLD
@hnf2918
@hnf2918 2 года назад
Very good tutorial Thanks !
@user-yn2kt6gw5y
@user-yn2kt6gw5y 3 года назад
Thank you for your video i am form Thailand
@MechStuff
@MechStuff 3 года назад
You're welcome 😊
@abdirisak522
@abdirisak522 6 лет назад
Very useful, Thank u
@tharukerajapaksha3652
@tharukerajapaksha3652 3 года назад
well done mate.good work
@eduardomanusse1224
@eduardomanusse1224 5 лет назад
Thanks, good video...please give us more good videos
@prathamsuthar4977
@prathamsuthar4977 Год назад
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❤✌️
@nelsondarwinpaktech3954
@nelsondarwinpaktech3954 5 лет назад
great work keepit up...
@kunalparmar7964
@kunalparmar7964 3 года назад
Really helpful 🙏
@guzmadera
@guzmadera Год назад
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.
@ryanbarrera2595
@ryanbarrera2595 5 лет назад
BlueControl link not found.
@mohamedhatem5721
@mohamedhatem5721 4 года назад
download aptiode then install it
@lustrals1273
@lustrals1273 3 года назад
@Alpha Carbide there are so many which one
@slimeqoo6556
@slimeqoo6556 5 лет назад
THANK YOU MAMPIR OM MY KOP IS SAVED WITH YOU
@vigneshkumar5634
@vigneshkumar5634 5 лет назад
thanks for u r video bro
@Dark-np9do
@Dark-np9do 6 лет назад
Thank u very much best video .
@Delirium386
@Delirium386 5 лет назад
..thanks man...perfekt video....top
@srushtighadge8328
@srushtighadge8328 5 лет назад
Video was helpful
@teodorvangelov
@teodorvangelov 6 лет назад
Thank you for information
@placeholder5982
@placeholder5982 6 лет назад
Good info mann!
@shipaakter7664
@shipaakter7664 6 лет назад
wow nice video thank you brother
@vivekios2423
@vivekios2423 3 года назад
thank you so much bro
@sudeshnaC
@sudeshnaC 6 лет назад
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?
@henriquedelben
@henriquedelben 3 года назад
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
@MechStuff 3 года назад
Hehe.. sure.. its Fritzing
@meFawadIqbal
@meFawadIqbal 2 года назад
+1 for 7:14 tip! Removing RX/TX pins before uploading!
@MechStuff
@MechStuff 2 года назад
😉
@fggfdgdgfdgffdgfrfdg
@fggfdgdgfdgffdgfrfdg 6 месяцев назад
it works for me thanks
@ammeydan
@ammeydan 6 лет назад
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
@nelsondarwinpaktech3954 5 лет назад
ammeydan......but a lot of people r using it directly with arduino,,,,
@samuelebaiano6505
@samuelebaiano6505 5 лет назад
Shashank Agarwal you can also use a tension partitor... i think...
@jumbo999614
@jumbo999614 4 года назад
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?
@Footballtricks100
@Footballtricks100 4 года назад
Im doing good. Thank you for asking
@twozzleweb
@twozzleweb 4 года назад
Need an Arduino on my glasses to auto adjust focus to compensate...thanks for sharing though
@ayushgupta1185
@ayushgupta1185 6 лет назад
how can We provide wireless connection b/w relay and arduino can we use this Bluetooth sensor @mechstuff
@marekdrasal3626
@marekdrasal3626 6 лет назад
good video
@taha3871
@taha3871 Год назад
Oğul hocanın öğrencileri hepiniz hoş geldiniz :D
@qiquan5204
@qiquan5204 3 года назад
Good explaination and demo, thanks a lot friend
@MechStuff
@MechStuff 2 года назад
Glad you liked it!
@rcanemaster
@rcanemaster 5 лет назад
Works with HM-10 too?
@arnavagarwal6722
@arnavagarwal6722 5 лет назад
can i use Bluetooth 4.0 instead of HC-05
@adityavardhanfirke1541
@adityavardhanfirke1541 3 года назад
Thank for giving me vedio
@venkatakrishnansrinivasan6928
@venkatakrishnansrinivasan6928 7 лет назад
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
@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
@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
@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
@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
@progamerclanwar5873 5 лет назад
hi
@niranjanchandrasheaker2135
@niranjanchandrasheaker2135 7 лет назад
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!
@yogeshbrar
@yogeshbrar 5 лет назад
Can you help me with the connections of HC05 with normal USB Speakers to make them Bluetooth? Want to learn
@sushi_cat_og5411
@sushi_cat_og5411 4 года назад
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.
@ompatel5226
@ompatel5226 3 года назад
Your opening is like death note
@normroy326
@normroy326 2 года назад
BluControl is no longer available on Android. What do you recommend as a replacement?
@onderataoglu9659
@onderataoglu9659 3 года назад
so cool i found this
@MechStuff
@MechStuff 3 года назад
😉
@meesy76
@meesy76 5 лет назад
i want to 3 leds blinking in sequentia over and over until you use the on and off function.. can you help me please?
@MahmudulHasan-eq7ug
@MahmudulHasan-eq7ug 6 лет назад
This was an awesome video. :D In the app there's a bit problem.b and c are swaped there.
@MechStuff
@MechStuff 6 лет назад
Yes, exactly my friend ! That is why I've used the alphabets "a" & "d" here in the video ! :D
@kaxakaxi5113
@kaxakaxi5113 3 года назад
@@MechStuff send code
@nabinvlog4782
@nabinvlog4782 7 лет назад
this is very useful video , i asked to anouther video come in cannel internal block diagram of Bluetooth moudle
@jay-tbl
@jay-tbl 5 лет назад
Great video, why so many dislikes?
@yashdoshi9799
@yashdoshi9799 7 лет назад
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
@soapenvelope
@soapenvelope 7 лет назад
If you get strange characters, try to change baud rate to: Serial.begin(38400);
@saiharanrajkumar3083
@saiharanrajkumar3083 7 лет назад
DUDE!!!!!!!!! YOU SAVED MY DAY!! I have been struggling for around a week and now you came ... THANKS !!!
@soapenvelope
@soapenvelope 7 лет назад
No problem, I found solution at: forum.arduino.cc/index.php?topic=260234.15
@madebysurya
@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
@artisticboundary7856 6 лет назад
thanks dude , i have been trying this for over a day
@akkimahesh3005
@akkimahesh3005 6 лет назад
May i know why exactly 38400
@kodjosodjineakpane9796
@kodjosodjineakpane9796 6 лет назад
Cool trop cool
@TheBuzoTechie
@TheBuzoTechie 3 года назад
Nice job
@thamilanprakash4898
@thamilanprakash4898 6 лет назад
It s working bor tq
@Footballtricks100
@Footballtricks100 4 года назад
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
@farazsid4270
@farazsid4270 5 лет назад
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??
@Hammadplayz
@Hammadplayz 4 года назад
@Faraz Sid connect gnd and p-
@attalaw36
@attalaw36 7 лет назад
thank you
@alexandr_84
@alexandr_84 6 лет назад
Подскажите, пожалуйста. Можно както запаралелить два модуля блютуз?
@houcinechammakh4789
@houcinechammakh4789 2 года назад
Dope intro
@antoniosepe3718
@antoniosepe3718 5 лет назад
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?
@rafaelsolis8599
@rafaelsolis8599 5 лет назад
does it have database to store data ?
@rishabhverma3795
@rishabhverma3795 Год назад
Is it possible to make led light blink when i'll get a certain notification on my phone?
@anithalena3741
@anithalena3741 2 года назад
The blucontrol app link is not opening
@cahyadifirmata1236
@cahyadifirmata1236 5 лет назад
I like your konten this video isfiratif
@vijayujjainkar1453
@vijayujjainkar1453 3 года назад
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
@bullygram
@bullygram 3 года назад
Bluetooth Rx Tx are 5v tolerant?
@user-kk4ci2gb3l
@user-kk4ci2gb3l 4 года назад
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
@MechStuff 4 года назад
Hello, the battery might be discharged. Change the battery, it might work.
@pedrolima-eu4pb
@pedrolima-eu4pb 4 года назад
what do i do if my hc-05 just doesent turn on
@__AgilBagaskara
@__AgilBagaskara 2 года назад
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
@richardspade8145
@richardspade8145 6 лет назад
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?
@UiX-TeD
@UiX-TeD 6 лет назад
nice video but i wondering how to connect arduino with custom mobile application using android studio its same?
@chinmaytade5299
@chinmaytade5299 2 года назад
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.
@auroshisray9140
@auroshisray9140 6 лет назад
Thanks
@jay-tbl
@jay-tbl 5 лет назад
0:47 Doesnt VCC connect to 5v pin and not Vin pin?
@rushikeshthorat8902
@rushikeshthorat8902 4 года назад
It's 5v
@omarmarquez3937
@omarmarquez3937 6 лет назад
I do not see the app What I can do?
@rjstoolc
@rjstoolc 4 года назад
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
@retrohd1_
@retrohd1_ 4 года назад
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.
@rjstoolc
@rjstoolc 4 года назад
@@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.
@nileshdharap
@nileshdharap 4 года назад
Everyone do not directly connect Rx of module to Tx ..use a voltage divider ...or connect vcc of module to 3.3V rather than 5v ....above circuit may damage your module
@shutdahellup69420
@shutdahellup69420 5 лет назад
that camera was making me rage idk why
@leonsubbotsky6087
@leonsubbotsky6087 5 лет назад
dubstep intro, heavy indian accent guy trying to explain electronics. this is epic
@mickcoomer9714
@mickcoomer9714 4 года назад
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?
@neetukumar9159
@neetukumar9159 4 года назад
Awesome
@pjwlk
@pjwlk 3 года назад
You need a voltage divider for the HC-05 Rx pin (3.3vdc)
@julius1211
@julius1211 5 лет назад
what happened if I close the application and leave the the light open? Is the light will turnoff ?
@tejotel
@tejotel 6 лет назад
Are those permanent car horns normal or there were some traffic accident?
@mhf_98
@mhf_98 6 лет назад
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
@srinadhchowdary1318
@srinadhchowdary1318 2 года назад
Please tell me where I can download the app, it's not found
@venkannabanothu3169
@venkannabanothu3169 6 лет назад
Can you tell me the software on which you are applying code
@adwitiyadas3834
@adwitiyadas3834 6 лет назад
where did you connect pins 4 and 5 of the bluetooth module?
@kieryweery1
@kieryweery1 6 лет назад
Adwitiya Das Pin 4 goes to RX on the arduino and Pin 5 goes to TX on the arduino
Далее
Would you help?!😳
00:32
Просмотров 3,2 млн
HC-05 Bluetooth Module with Arduino-MIT App Inventor
27:57
Create a Bluetooth App and control the Arduino
12:20
Просмотров 373 тыс.