Arduino HC-05: Bluetooth Module Configurator w/UNO R3 & Basic AT Commands [Tutorial]

Sdílet
Vložit
  • čas přidán 7. 07. 2024
  • Arduino IDE Code: drive.google.com/file/d/117Rn...
    Fritzing: drive.google.com/file/d/1KXa-...
    0:00 Introduction w/Fritzing Diagram
    0:33 HC-05 Configurator Example (pre-built)
    1:15 Fritzing Diagram w/explanations
    2:28 Building the HC-05 Configurator
    6:38 IDE Code w/explanations
    9:17 Uploading code to HC-05 Configurator (Uno R3 Board)
    9:52 AT Commands w/Serial Monitor
    12:38 End
    #arduino #hc05 #atcommands #arduinouno #arduinoide
  • Věda a technologie

Komentáře • 63

  • @sauali
    @sauali Před 3 měsíci +1

    finally!
    I wasn't getting any response to my AT commands then I plugged in the Bluetooth module after starting the Arduino. It worked.

  • @dominikjantschgi4987
    @dominikjantschgi4987 Před 2 měsíci +3

    ive been waiting for this my whole life...
    THANK YOU!!!!!!

  • @kevhartin
    @kevhartin Před 5 měsíci +2

    The best Arduino Bluetooth video I have watched so far... I'm about to troll your channel fo some more gems!!!😁

  • @lukea6166
    @lukea6166 Před rokem

    Thanks Paul!

  • @bkcganeshblogs
    @bkcganeshblogs Před rokem +1

    After setting up baudrate.can I now use 0 and 1 for rx and TX or I have to use 10 and 11 for rx and TX for my upcoming projects. Pl help

    • @Ilgenfixit80
      @Ilgenfixit80 Před měsícem

      I know this answer is probably a year past when you needed it, but you can use the TX and RX pins on the Arduino board. However, I'd recommend using an alternate if available since it causes errors to upload sketches by usb if you have another connection such as Bluetooth or any serial device.

  • @D10_GAMER
    @D10_GAMER Před rokem

    sir i was getting an error:[o] if i give the commands other than AT could u plz tell me the solution for this ?!

  • @adilfarooq1430
    @adilfarooq1430 Před rokem +2

    Hi, did you face any delay in receiving signals to the hc05. I am getting delayed signals and at time it jams. What can be the issue?

  • @Tiparium_NMF
    @Tiparium_NMF Před 2 lety +16

    I'm not sure what I'm doing wrong here, but I'm just not receiving any responses from the Serial Monitor.
    The code compiles and uploads, the HC-05 is blinking, so it's at least receiving power.
    I have set the Serial Monitor to the correct baud rate.
    One thing worth noting is when I compile, I have verbose on, and it includes a message saying *Overriding Baud Rate : 115200.*
    Could this be the issue?
    Edit:
    For some reason there are also a bunch of missing character squares and backwards question marks at the beginning of the lines where it asks for AT commands in the Serial Monitor.
    Edit 2:
    I got it working by pulling Arduino power, pressing and holding the small button on the HC-05, and *while still holding the button*, plugging Arduino power back in. It now responds to commands as I would expect.

    • @Howchon
      @Howchon Před rokem

      Thanks!

    • @midnighthighwaycasettedust9940
      @midnighthighwaycasettedust9940 Před rokem

      I GOT THE SAME ISSUE AND IT STILL DOESNT WORK HELP

    • @Howchon
      @Howchon Před rokem +1

      @@midnighthighwaycasettedust9940 Did you try his edited procedure? :
      I got it working by pulling Arduino power, pressing and holding the small button on the HC-05, and *while still holding the button*, plugging Arduino power back in. It now responds to commands as I would expect.

    • @midnighthighwaycasettedust9940
      @midnighthighwaycasettedust9940 Před rokem +1

      @@Howchon YES ı did that, ı also tried switching rx and tx too. no respond whatsoever

    • @midnighthighwaycasettedust9940
      @midnighthighwaycasettedust9940 Před rokem

      @@Howchon ım sure the module is in the at mode because it blinks slowly, also ı tried ther methods like making pin32 high so it gets at mode, it does get in to the at mode but the console doesnot respond to me
      pls help

  • @apbosh1
    @apbosh1 Před 2 lety +8

    Thanks for the video. I thought this module has 3.3V logic levels and the arduino IO is at 5V so you need to use a voltage divider on the TX RX lines? It's been ages since i used it so thats why i'm here. thanks for the refresher.

  • @TheSliMeee
    @TheSliMeee Před rokem +3

    I do exactly as said in the video, as well as holding the little button on the HC-05 module while powering up the arduino and releasing it after to get it in the AT state. I end up getting an OK response the the single AT command, but when I put another command such as AT+ADDR I get the error message "ERROR: [0]". Anyone who can help?

    • @RescueTracker112
      @RescueTracker112 Před 2 měsíci

      I got the solution. At least for me. I didnt had a HC-05. I have BC352 and used the Baud rate 9600. Changed it in the code and in the serial monitor. Now it works

  • @mr.murica9571
    @mr.murica9571 Před rokem

    So I am working on a school project and have the exact board you got at 0:35 except we put another board on top that has pins that slide onto both sides of the bottom board. I’m not sure what we placed on top but there are 12 pins with Bluetooth written next to them and I’m trying to figure out what I need to get to plug into it. Any help or suggestions would be appreciated
    EDIT: the board we placed on top was a FunduMoto L298P Motor Driver Shield. It apparently has two bluetooth connections so I guess 6 pins for each connector. Cant find anything to attach to get the Bluetooth

    • @user-dm5tf6qu5b
      @user-dm5tf6qu5b Před 9 měsíci +1

      I used to have the same problem but you can use 3 ways to avoid it
      First you can use a breadboard
      Second you can solder it to the motor driver
      Third you can use another motor driver for the same

    • @mr.murica9571
      @mr.murica9571 Před 9 měsíci

      @@user-dm5tf6qu5bappreciate it. This was for physics class and none of us have ever done anything like this, nor do we know any coding, let alone C++. He told us to figure it out lol

  • @Purplerabbitstudios5139
    @Purplerabbitstudios5139 Před rokem +2

    Hello Paul, thanks for video. Though I am sending AT command, but there is no reaction. No reaction at all. Can't understand the reason. BT module seems to operate normally. Why it can be happening?

  • @msthepro
    @msthepro Před 4 měsíci

    For fixing the error you have to remove the jumper wire at the left/right most wire. I will work 👍

    • @msthepro
      @msthepro Před 4 měsíci

      Remove the key one.

  • @3goldfinger
    @3goldfinger Před 6 měsíci +3

    Just not working, keep getting error (0), can't find a solution to the problem.

    • @RescueTracker112
      @RescueTracker112 Před 2 měsíci

      I got the solution. At least for me. I didnt had a HC-05. I have BC352 and used the Baud rate 9600. Changed it in the code and in the serial monitor. Now it works

  • @TechnoEveryday
    @TechnoEveryday Před 2 lety +2

    🆒 Thank you so much for uploading this video.
    👍👍👍👍👍
    What's meant by level 3.3V at the back of the module?

    • @savalioanananimus
      @savalioanananimus Před rokem

      How much voltage do all the pins accept/output, except for the power pin

  • @sipasevenessek
    @sipasevenessek Před 5 měsíci +1

    It just says empty squares and it wont answer me it doesnt say anything but empty squares

  • @fourknotsnowhere
    @fourknotsnowhere Před rokem

    any idea how i fix this error? when it try to flash it just stops here. ive been at it for several hours and im about to give up
    avrdude: stk500v2_getsync(): timeout communicating with programmer

  • @shaknit
    @shaknit Před 2 lety

    I have a version 4.0 and cant get it to work. No datasheet available. Any suggestions,

  • @LazyOwl77
    @LazyOwl77 Před 2 měsíci

    is it aright to connect RXD directly to arduino port?
    the port provides 5V meanwhile the RXD on the module says LEVEL: 3.3V

    • @Ilgenfixit80
      @Ilgenfixit80 Před měsícem

      The HC-06 needs to work at 3.3V or you could fry it. I think the HC-05 can handle 5V but I've been cautious and running at 3.3V. The Arduino board has a regulator that steps down from the 5V from USB to 3.3V if needed.

  • @Si-uy8qg
    @Si-uy8qg Před rokem

    THANK YOU VERY FUCKING MUCH I LOVE YOU

  • @madladdan
    @madladdan Před 10 měsíci +1

    I cant detect my module with my pc? Not showing up on windows BT

    • @38.ngovantuan36
      @38.ngovantuan36 Před měsícem

      i need youu, i can't conect HC_05 with my phone

  • @felipe08z59
    @felipe08z59 Před 20 dny

    THXXXXXXXXXXX

  • @PietDeboer-py9fm
    @PietDeboer-py9fm Před 2 měsíci

    thanks all lot please go on grreeds from holland

  • @domosthenesdomosthenes3218
    @domosthenesdomosthenes3218 Před 8 měsíci

    I did everything that was on this video and I can't enter any commands, this is getting old.

  • @zofmod
    @zofmod Před rokem

    You can connect multiple HC-05s with
    czcams.com/video/iMEm3QrP37Q/video.html

  • @fernandohood5542
    @fernandohood5542 Před rokem

    It is unfortunate that those libraries hide so much from you. Sending text to a slave would be handy.

  • @anhnhat3928
    @anhnhat3928 Před 8 měsíci

    AT ERROR ?? WHAT ?HELP . OH MY SHOST. HELP MY.