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

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 มิ.ย. 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
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 61

  • @dominikjantschgi4987
    @dominikjantschgi4987 หลายเดือนก่อน +3

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

  • @sauali
    @sauali 2 หลายเดือนก่อน +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.

  • @kevhartin
    @kevhartin 4 หลายเดือนก่อน +2

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

  • @apbosh1
    @apbosh1 ปีที่แล้ว +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.

  • @lukea6166
    @lukea6166 ปีที่แล้ว

    Thanks Paul!

  • @Tiparium_NMF
    @Tiparium_NMF ปีที่แล้ว +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 ปีที่แล้ว

      Thanks!

    • @midnighthighwaycasettedust9940
      @midnighthighwaycasettedust9940 ปีที่แล้ว

      I GOT THE SAME ISSUE AND IT STILL DOESNT WORK HELP

    • @Howchon
      @Howchon ปีที่แล้ว +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 ปีที่แล้ว +1

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

    • @midnighthighwaycasettedust9940
      @midnighthighwaycasettedust9940 ปีที่แล้ว

      @@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

  • @adilfarooq1430
    @adilfarooq1430 ปีที่แล้ว +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?

    • @muhibali205
      @muhibali205 11 หลายเดือนก่อน

      following

  • @D10-GAMER_YT
    @D10-GAMER_YT 11 หลายเดือนก่อน

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

  • @TechnoEveryday
    @TechnoEveryday 2 ปีที่แล้ว +2

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

    • @savalioanananimus
      @savalioanananimus ปีที่แล้ว

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

  • @Si-uy8qg
    @Si-uy8qg ปีที่แล้ว

    THANK YOU VERY FUCKING MUCH I LOVE YOU

  • @Purplerabbitstudios5139
    @Purplerabbitstudios5139 ปีที่แล้ว +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?

  • @bkcganeshblogs
    @bkcganeshblogs ปีที่แล้ว +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 10 วันที่ผ่านมา

      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.

  • @mr.murica9571
    @mr.murica9571 ปีที่แล้ว

    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 8 หลายเดือนก่อน +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 8 หลายเดือนก่อน

      @@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

  • @sipasevenessek
    @sipasevenessek 4 หลายเดือนก่อน +1

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

  • @TheSliMeee
    @TheSliMeee ปีที่แล้ว +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 หลายเดือนก่อน

      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

  • @LazyOwl77
    @LazyOwl77 หลายเดือนก่อน

    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 10 วันที่ผ่านมา

      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.

  • @fourknotsnowhere
    @fourknotsnowhere ปีที่แล้ว

    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

  • @3goldfinger
    @3goldfinger 5 หลายเดือนก่อน +3

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

    • @RescueTracker112
      @RescueTracker112 หลายเดือนก่อน

      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

  • @msthepro
    @msthepro 3 หลายเดือนก่อน

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

    • @msthepro
      @msthepro 3 หลายเดือนก่อน

      Remove the key one.

  • @shaknit
    @shaknit 2 ปีที่แล้ว

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

    • @jeremyed9507
      @jeremyed9507 2 ปีที่แล้ว

      Try baud rate of 9600 for both

  • @madladdan
    @madladdan 9 หลายเดือนก่อน +1

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

    • @38.ngovantuan36
      @38.ngovantuan36 21 วันที่ผ่านมา

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

  • @PietDeboer-py9fm
    @PietDeboer-py9fm 29 วันที่ผ่านมา

    thanks all lot please go on grreeds from holland

  • @fernandohood5542
    @fernandohood5542 ปีที่แล้ว

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

  • @domosthenesdomosthenes3218
    @domosthenesdomosthenes3218 7 หลายเดือนก่อน

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

    • @bababoyynpc5349
      @bababoyynpc5349 7 หลายเดือนก่อน

      I have the same problem the command are sent but nothing happens pls help

    • @domosthenesdomosthenes3218
      @domosthenesdomosthenes3218 7 หลายเดือนก่อน

      @@bababoyynpc5349 I got it to work using another app

    • @feeldulfo9387
      @feeldulfo9387 6 หลายเดือนก่อน

      @@bababoyynpc5349 same problem, help plss

  • @zofmod
    @zofmod ปีที่แล้ว

    You can connect multiple HC-05s with
    th-cam.com/video/iMEm3QrP37Q/w-d-xo.html

  • @anhnhat3928
    @anhnhat3928 7 หลายเดือนก่อน

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