Tutorial on Bluetooth sensor HC05 with Arduino | Voice commands

Поделиться
HTML-код
  • Опубликовано: 21 июл 2024
  • In this tutorial, you will learn how to control LEDs with the help of Voice commands. For that we are going to use an Arduino board, Bluetooth module HC05 & an Android !
    -------------------------------------------------------------------------------------------------------
    0:00 - Intro
    0:37 - Requirements
    Arduino board
    RGB/simple LED
    Bluetooth module HC-05
    Breadboard
    Android
    01:27 - Connections of HC-05 bluetooth module
    05:56 - Arduino code for HC-05
    09:46 - Connecting bluetooth module to android app
    11:26 - Testing
    -----------------------------------------------------------------------------------------
    Visit my blog :-
    mechstuff.com
    Link for Code :-
    mechstuff.com/control-leds-wi...
    AMR Voice/BT Voice Control app link :-
    play.google.com/store/apps/de...
    Link for Code of ordinary LED :-
    mechstuff.com/control-leds-wi...
    Like my Facebook page :-
    MechStuff/?r...
  • НаукаНаука

Комментарии • 165

  • @pranavbavale4184
    @pranavbavale4184 6 лет назад +3

    Superb!!!Awesome!! This will help in my project.Thanks!

  • @zekiblp1209
    @zekiblp1209 4 года назад +5

    Thank you for the tutorial. That was so useful. Can we programm also with Wi-Fi Module(NodeMCU)?

  • @jonbryllegabayno2976
    @jonbryllegabayno2976 6 лет назад +2

    Hi can i use the same digital pins when i'm using a cathod rgb?

  • @MuhammadAbdullah-cj6nx
    @MuhammadAbdullah-cj6nx 5 лет назад +2

    did you attach a resistor in series with the leds ur leds are probably are gone by now, or are they?

  • @Isambardify
    @Isambardify 3 года назад +3

    Don't you need a voltage divider back to the Arduino from the hc05?

  • @neevpenkar4955
    @neevpenkar4955 6 лет назад +3

    Doesn't the Bluetooth module work at logic levels of 3.3 v and won't the Arduino spoil it with its 5v logic levels?

  • @cristianklen5954
    @cristianklen5954 7 лет назад +5

    Nicely done! Keep doing these amazing videos.

    • @MechStuff
      @MechStuff  7 лет назад

      Thanks for your support Cristian ! It really means a lot to me :)

    • @NMCGaming-mg4sb
      @NMCGaming-mg4sb 7 лет назад

      MechStuff plz make a vid on how to convert speech to text using an aurduino board

    • @MechStuff
      @MechStuff  7 лет назад

      Hi Axel, the tutorial already does that for you ! You could see the command you gave in the Serial monitor !

  • @keyurvaghasiya6253
    @keyurvaghasiya6253 4 года назад +1

    Hi, bhai When I upload this code in arduino than display some error like this an error occurred while uploading the sketch

  • @deepaktiwari5680
    @deepaktiwari5680 6 лет назад +4

    bro i did the same thing but it doesn,t work even though i also changed the baud rate to 38400 can you guide me please

  • @sofeemnasim6563
    @sofeemnasim6563 6 лет назад +3

    Great Work !!! Keep it up

  • @yash-ci6ql
    @yash-ci6ql 7 лет назад +1

    that mobile app is converting speech to text and send??

  • @EtronicswithAleem
    @EtronicswithAleem 2 года назад +3

    Appreciate your work

  • @thumbsuptraveller354
    @thumbsuptraveller354 7 лет назад +1

    Great Vid!

  • @williambermudez4781
    @williambermudez4781 2 года назад +1

    I am new to arduinos. Can someone explain to me how I can possibly use this same schematic. I want to tell my arduino to solve and graph linear/parabolic equations and then display them onto a screen. What do I do?!?!?!?!?!

  • @adnanahmadknowledgevideo
    @adnanahmadknowledgevideo 5 лет назад +1

    Thanks I searching this project this is very helpful video.😊😊😊😊

  • @pierpa_76pierpaolo
    @pierpa_76pierpaolo 7 месяцев назад

    I am interested in using this bluetooh module (even without Arduino) to be able to use a 'bluetooh speaker. But how do I get it recognized? On Android you configure it to enable its functions and stop. IN OUT voice. Thank you very much.

  • @gauravraibhatt9137
    @gauravraibhatt9137 5 лет назад +3

    Can we do it even with normal led

  • @captaineverythingfun52
    @captaineverythingfun52 Год назад +2

    The app doesn't detect my bluetooth module (i'm actually using hm 10 instead of hc5 or 6).

  • @learner8689
    @learner8689 4 года назад +2

    Great job sir

  • @wissensquelle8830
    @wissensquelle8830 6 лет назад +2

    How can we accept numbers as commands .

  • @raveuk7656
    @raveuk7656 2 года назад +2

    good video, can you make android read out speech from arduino e.g. turn by turn navigation using bluetooth

  • @rsryani7292
    @rsryani7292 3 года назад +1

    hello! can you teach me how to make music smart tag using this bluetooth module HC05 ??

  • @EtronicswithAleem
    @EtronicswithAleem 2 года назад +1

    I need a lil help from ya brotha .. My Arduino is not responding to any command given by mobile through Bluetooth. I've checked both Arduino Leonardo & Hc-05 module separately , both of them are working well . But when i connect the Bluetooth module to Arduino its not working . Im trying to a bt control home automation system . Please help me to solve this.

  • @dnyaneshwarpanchal686
    @dnyaneshwarpanchal686 6 лет назад +1

    nice video bro...
    how simple way you have used to execute the project...

  • @richardflores8117
    @richardflores8117 8 месяцев назад

    Can we use this for commanding devices like Bluetooth speaker?

  • @anishkumarranjan13
    @anishkumarranjan13 4 года назад +2

    Awesome...👌

  • @FDosais
    @FDosais 6 лет назад

    Hello can i use this app to send another commands like "go ahead" "go back" or is just understands colors ? thanx

    • @MechStuff
      @MechStuff  6 лет назад

      Oh yes, you can use other commands like you mentioned ! Just avoid using rhyming words like "sleep" or "slip"

  • @nikitvishwakarma457
    @nikitvishwakarma457 4 года назад

    Can we controll it also from color app t

  • @janakim7092
    @janakim7092 4 года назад +2

    Where is source for Arduino board and battery for that led sir

  • @pratheeshr8726
    @pratheeshr8726 4 года назад +2

    bro,which software did u use for simulation( i mean to develop circuit diagram ) ?

    • @MechStuff
      @MechStuff  4 года назад

      Hi Pratheesh, the program I have used for circuit diagram is Fritzing.

  • @radhikasoni622
    @radhikasoni622 5 лет назад +1

    Can I use three led which is Red, Green, white and connect to the specified pin of Arduino in place of normal rgb led? Please reply. Awaiting for your response.

    • @MechStuff
      @MechStuff  5 лет назад

      Hello..Yes, why not! It would also simplify things :)

  • @RajeshKumar-dk7yh
    @RajeshKumar-dk7yh 6 лет назад +1

    can u tell me how to connect to sensor . code please

  • @SandeepKumarGargkompass
    @SandeepKumarGargkompass 5 лет назад

    I am made it and also up uploaded the program in it but when I downloaded the app and connected to it it took command but RGB does not glow.

    • @keynonketcher1525
      @keynonketcher1525 5 лет назад

      KOMPASS INDIA PRIVATE LIMITED check the connection..there is a mistake in the circuit diagram...the red wire should be connected to the 3.3 output of the arduino uno board which is 4 pins ahead of the connection given in the diagram

  • @piyushgoswami9662
    @piyushgoswami9662 7 лет назад

    Hey i have tried this but i think iam using a cathode rgb led but the thing is that iam unable to do glow led and proceed further inst.. And i have also changed the commands over 0 to 255 in programe but iam struck now so what to do.. Plss help and suggest me...

    • @MechStuff
      @MechStuff  7 лет назад

      Connect the longest terminal to GND of Arduino & the other 3 to digital pins ! And yes, as you've mentioned, you've to make changes in the code by replacing the 255's with 0's & vice versa !

  • @theintelarif
    @theintelarif 6 лет назад +16

    The AMR Voice app link is not working anymore, please update it.

    • @Al-vw7qi
      @Al-vw7qi 4 года назад

      I HAVE THE SAME PROBLEM. THE APP DOES NOT COMMINICATE WITH THE ARDUINO. I CHECKED USING ARDUINO SERIAL MONITOR

    • @omkulkarni5058
      @omkulkarni5058 3 года назад

      same

  • @sheharyarrafique6255
    @sheharyarrafique6255 6 лет назад

    error occur "voice was not declared in the scope"...

  • @monicahurtado9292
    @monicahurtado9292 5 лет назад

    i tried but it only gives me one light color like red or if i turn it around it gives me blue light and the other colors aren't working. help me!!!!!!

  • @aru.classes843
    @aru.classes843 4 года назад +1

    Nice one bro

  • @pierpa_76pierpaolo
    @pierpa_76pierpaolo 8 месяцев назад +1

    Interesting. But then I want to be able to record voice or noise whatever, so you have to add an out to connect a 'speaker. That's the way I need it. :)

  • @mehdwiyouth6338
    @mehdwiyouth6338 4 года назад +2

    Nice project sir

  • @darvinyap1112
    @darvinyap1112 7 лет назад

    can i change the led with something else like fan,speaker,tv,etc.?

    • @MechStuff
      @MechStuff  7 лет назад

      Hi Dravin, no you can't ! You need to use relays for them since they demand high voltage & AC power supply !

  • @christiancomputer7192
    @christiancomputer7192 6 лет назад

    does it need an internet connection in order to connect to bluetooth Hc05? or just turn on your bluetooth only?

    • @MechStuff
      @MechStuff  6 лет назад

      Yes, it does need an internet connection via WiFi or cellular network could also do !

  • @SandeepKumarGargkompass
    @SandeepKumarGargkompass 5 лет назад

    I have made this thing and it is also working but when I am commanding it through voice from phone then it is turning into different color like when I am saying blue it is turning yellow.
    Can it be due to using arduino nano instead of arduino uno .
    Please tell fast

    • @xosphere_1562
      @xosphere_1562 5 лет назад

      KOMPASS INDIA PRIVATE LIMITED no it is not due to the board. I think it is due to incorrect coding. Check your code again, if you have made any mistake like your voice command values do not match the output values.
      If you did not understood then please let me know so that I can try to make things much clear.

  • @liebendeinsam
    @liebendeinsam 6 лет назад +1

    And how to do it more fast and without using one smartphone?

  • @yourarpitkushwaha716
    @yourarpitkushwaha716 5 лет назад

    nice dude you are osssm

  • @maheshs4879
    @maheshs4879 4 года назад +1

    Can I use hc06 bluetooth sensor

  • @Max_Bio
    @Max_Bio 3 месяца назад

    can it work with hands free microphone?

  • @yeskurisheshkumar6612
    @yeskurisheshkumar6612 5 лет назад

    Can we control bulb or not

  • @captainprototype187
    @captainprototype187 4 года назад

    why doesnt the rgb led have a ground?

  • @gamepostor6893
    @gamepostor6893 2 года назад +1

    Can i use Bluetooth HC-10?

  • @ernestomendoza5592
    @ernestomendoza5592 Год назад +2

    Hola, no se puede apagar ¿Cuál sería la solución?

  • @mohamedferki1145
    @mohamedferki1145 3 года назад

    how can i add bleutooth hc-05 in tinkercad

  • @95hafiz
    @95hafiz 5 лет назад

    hello can i know cathode rgb led code.i try to change the code but fail. Help me pls!!!!

  • @yourcodingmentor2492
    @yourcodingmentor2492 4 года назад

    Mara program run ho gya h or bluthooth module bhi connect ho gya phn sa but led work nhi kr rahi or led sahi h check kr liya h

  • @pinoycreators1
    @pinoycreators1 6 лет назад

    nice bro!

  • @sahanas4802
    @sahanas4802 6 лет назад +1

    Super sir

  • @ahmedsabryengineer2939
    @ahmedsabryengineer2939 5 лет назад +1

    how to use below string for one time only and user can not use it again??
    if (readString == "1 3 5 9 7 8 4 3 2") {
    digitalWrite(buzzer ,HIGH) ;
    delay(500);
    digitalWrite(buzzer , LOW) ;
    delay(500); }

  • @navjotsingh8372
    @navjotsingh8372 5 лет назад

    Hello sir why the led colour can be changed only with amr voice app and why not any other voice control app is not able to change the colour.Can somebody please explain this issue??

    • @MechStuff
      @MechStuff  5 лет назад +1

      Hello there.. The code I've provided works only for the app AMR Voice. If you use another app, the code needs to be changed

  • @yourarpitkushwaha716
    @yourarpitkushwaha716 5 лет назад +2

    How much does this project cost

  • @adnanahmadknowledgevideo
    @adnanahmadknowledgevideo 5 лет назад +1

    Amazing

  • @aquilesdelacruz5676
    @aquilesdelacruz5676 6 лет назад +1

    porque nadie pone el codigo a la vista ?

  • @sahilgosavi2460
    @sahilgosavi2460 5 лет назад

    Can you give mi program of Arduino please
    In this time

  • @karunyavilasom
    @karunyavilasom 5 лет назад

    light is not working in hco5 bluetooth module pllssss replyy

  • @chesszone5100
    @chesszone5100 6 лет назад +2

    Sir your another video was helpful. But now I have some problem in using multiple commands for voice control...... Reply the solution pls . Thanks

    • @monicahurtado9292
      @monicahurtado9292 5 лет назад

      i have that problem too

    • @buddysk.g8213
      @buddysk.g8213 5 лет назад

      How 2 select the app for voice command...nd this app is nt available....plzz helpp....

  • @prathmeshghule53
    @prathmeshghule53 2 года назад

    Superb.....

  • @joyokilatmoko1883
    @joyokilatmoko1883 4 года назад

    Bang,, bluetooth hc 05 saya tu putus putus terus,kan kemungkinan tegangan ga stabil,,cara atasi tegangan ini gimana bang... padahal bukan sumber dari baterai..

  • @lslakhvirsingh1984
    @lslakhvirsingh1984 6 лет назад

    nice video bro

  • @youssefdalillox5728
    @youssefdalillox5728 6 лет назад +2

    Great explanation brother , Congratulaitons . I'm wondering the utility of the "*" in the beginning of each voice message "*red" please ?

  • @anoopganji9213
    @anoopganji9213 4 года назад +1

    How to upload the code?

  • @ambientworld7348
    @ambientworld7348 4 года назад

    we got the same question brother
    amr voice app is not working

  • @mehdwiyouth6338
    @mehdwiyouth6338 4 года назад

    automatic water level controller ke video banaen sir plz ....

  • @MohammadAsif-hr5fl
    @MohammadAsif-hr5fl 7 лет назад +1

    bro make tutorial connect 220 volt bulb through relay and control bulb through voice

  • @yourcodingmentor2492
    @yourcodingmentor2492 4 года назад

    Plz answer me....y work ku nhi kr raha h pls btaiy because I have only 2 days h plz help me

  • @karthikswaminathan8636
    @karthikswaminathan8636 6 лет назад

    sir can voice reg work without internet connection ??!

    • @MechStuff
      @MechStuff  6 лет назад

      No, because here Google needs an internet connectivity for identifying words !

  • @SandeepKumarGargkompass
    @SandeepKumarGargkompass 5 лет назад

    I think that there is some problem in programme.

  • @trmusa3434
    @trmusa3434 6 лет назад

    "AMR Voice/BT Voice Control app link" link broken

    • @CreativeStuff
      @CreativeStuff 6 лет назад

      ruclips.net/video/R2VBJ9y-pVY/видео.html

  • @anupriyankat8631
    @anupriyankat8631 4 года назад

    where to upload the code

  • @devanshmehrotra5432
    @devanshmehrotra5432 6 лет назад

    the app link is not working kindly help!!!!!

  • @carloseletaria8005
    @carloseletaria8005 4 года назад

    it's work thanks

  • @domobrah2671
    @domobrah2671 5 лет назад +2

    Man what a time to be alive. This is some tony stark level stuff!

    • @mkjones5385
      @mkjones5385 4 месяца назад

      DEI IDHA POI TONY STARK ODA COMPARE PANDRA

    • @mkjones5385
      @mkjones5385 4 месяца назад

      DONT CAOMPARE TONY STARK WITH THIS GUY

  • @YoDay
    @YoDay 6 лет назад

    Now I connected a Relay module , and I made a Google Home at my house ;) , btw I have already did it , before watching this video , and with this same app ...

    • @MechStuff
      @MechStuff  6 лет назад

      Nice ! ;)

    • @YoDay
      @YoDay 6 лет назад

      MechStuff btw You Indian?

    • @MechStuff
      @MechStuff  6 лет назад

      Oh yes, too easy to guess I suppose ! :P

  • @edwardpriyatna3062
    @edwardpriyatna3062 3 года назад

    what website did you use to make the diagram ?

    • @MechStuff
      @MechStuff  3 года назад

      For connection diagrams? Fritzing!

  • @bcarr3116
    @bcarr3116 3 года назад

    Can this device control stepper motors via Bluetooth?

    • @MechStuff
      @MechStuff  3 года назад

      B Carr Yess! I don’t see why it can’t 😆

  • @herik8530
    @herik8530 3 года назад

    Please help already follow step by step but bluetooth no connected

    • @MechStuff
      @MechStuff  3 года назад

      Hello, make sure you connect RX & TX pins after uploading the code. Also, make sure all the connections are proper.

  • @akikulislam1724
    @akikulislam1724 3 года назад

    How to control with mic

  • @sanathkumar2616
    @sanathkumar2616 3 года назад

    I have a common anode rgb led

  • @satyaranjansahoo2180
    @satyaranjansahoo2180 6 лет назад

    plz give application link

  • @prasunbiswas8025
    @prasunbiswas8025 7 лет назад

    code is not running. as voice is not initialied in the scope.. NEED HELP!

    • @MechStuff
      @MechStuff  7 лет назад

      Hi Prasun, the code will run. You haven't declared "voice" in your code. It is the first line of the code I've provided !

  • @maximusanelo8163
    @maximusanelo8163 4 года назад

    Heyyyyyy dam bro i love your videos. I need sone help and i know your the man for it i would love to se you make avideo use the arduino board and the arduino uno rev3 to l298N motor drive controller board module conect to the DROCK Timer delay controller module 5v 12v conected to bluetooth dsd tech hc-05 c to set a timer on my fan. He i know its alot but its a little complicated forme. IM A BIG FAN AND I HAVE YOU ON NOTIFICATIONS ILL WAIT FOR THE NEXT VIDEO ILL HEAR A BING PLEASE HELP

  • @lslakhvirsingh1984
    @lslakhvirsingh1984 6 лет назад

    for i phone witch app i have to download and use

    • @YoDay
      @YoDay 6 лет назад +1

      Lakhvir Singh there's isn't any app for an iPhone, and that's a reason I hate these iPhones, though...

    • @ankuranand2142
      @ankuranand2142 6 лет назад

      it is which

  • @riteshgaming4341
    @riteshgaming4341 4 года назад

    How to change baud rate of Bluetooth module

    • @MechStuff
      @MechStuff  4 года назад

      Hello! You can find a dropdown for changing baud rate at lower right side in Serial monitor

  • @vinayrajesh1968
    @vinayrajesh1968 5 лет назад

    App not found

  • @chetankishor16
    @chetankishor16 6 лет назад

    The led will on but it will not turn off

    • @CreativeStuff
      @CreativeStuff 6 лет назад

      ruclips.net/video/R2VBJ9y-pVY/видео.html
      watch this one for that prob

  • @edmlover6821
    @edmlover6821 6 лет назад

    Code is't working bro it's return symbolic value in serial monitor

    • @MechStuff
      @MechStuff  6 лет назад

      Heya, try changing the baud rate to 38400 in serial monitor & yes don't forget to replace 9600 with 38400 in the code !

    • @edmlover6821
      @edmlover6821 6 лет назад

      Thanks bro now it's work properly ☺

  • @adnanahmadknowledgevideo
    @adnanahmadknowledgevideo 5 лет назад

    Awesome video

  • @manojpradhan7595
    @manojpradhan7595 7 лет назад

    While I uploading the code this error message is showing " An error occurred while uploading the sketch"
    Please suggest me what shall I do?

    • @MechStuff
      @MechStuff  7 лет назад +1

      Hi Manoj, this issue sometimes arises when we directly open the .ino file & try to upload it! So you can solve it by first opening Arduino IDE, then open the .ino file------>compile it------>then upload it !

    • @manojpradhan7595
      @manojpradhan7595 7 лет назад

      Thank you.

    • @manojpradhan7595
      @manojpradhan7595 7 лет назад

      May I get you mail Id or contact no?

    • @MechStuff
      @MechStuff  7 лет назад

      jay22karexplains@mechstuff.com

    • @radhikasoni622
      @radhikasoni622 5 лет назад

      @@MechStuff hello, which app do I use?

  • @vitthalpandhare6607
    @vitthalpandhare6607 5 лет назад

    Sir app nahi mil raha hai

  • @kanchigroupofinstitutions-1154
    @kanchigroupofinstitutions-1154 5 лет назад

    pls give correct link urgent

  • @atanumondal8116
    @atanumondal8116 2 года назад

    But sir... code kaha likhu...

  • @shubhamnsun
    @shubhamnsun 5 лет назад

    Can't it be done by connecting mike rather than the Bluetooth module