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

Поділитися
Вставка
  • Опубліковано 1 жов 2024

КОМЕНТАРІ • 71

  • @Tiparium_NMF
    @Tiparium_NMF 2 роки тому +18

    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

  • @dominikjantschgi4987
    @dominikjantschgi4987 5 місяців тому +5

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

  • @sauali
    @sauali 6 місяців тому +4

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

  • @alexandersoltys8738
    @alexandersoltys8738 Місяць тому +1

    Working! I had problem with answering my commands but i reset it by unpluging from GND and plugin it back while holding little black button on HC-05 and after that it was answering to my commands. Thanks.

  • @kevhartin
    @kevhartin 8 місяців тому +3

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

  • @3goldfinger
    @3goldfinger 9 місяців тому +3

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

    • @RescueTracker112
      @RescueTracker112 5 місяців тому

      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

    • @ironbondar
      @ironbondar 21 день тому

      AT+ADDR? - don't forget about question mark

  • @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 5 місяців тому

      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

  • @apbosh1
    @apbosh1 2 роки тому +10

    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.

  • @elytra_gg
    @elytra_gg 12 днів тому

    If it doesn't work for you:
    1. Make sure the HC-05 slow blinks, if it slow blinks, remove the pins and then insert the pins on the hc05 whilst holding the button
    2. Make sure to use commands like: AT+COMMAND?
    the ? is very important

  • @sipasevenessek
    @sipasevenessek 8 місяців тому +2

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

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

  • @sahilsagar173
    @sahilsagar173 3 дні тому

    In interfaceing diagram the tx and rx are not connected properly

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

  • @danbrit9848
    @danbrit9848 11 днів тому

    has anyone tryed connecting two of these on one Arduino...i need two input and output sources

  • @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 4 місяці тому

      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.

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

  • @madladdan
    @madladdan Рік тому +1

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

    • @38.ngovantuan36
      @38.ngovantuan36 4 місяці тому

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

  • @D10_GAMER
    @D10_GAMER Рік тому

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

  • @fernandohood5542
    @fernandohood5542 Рік тому

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

  • @zofmod
    @zofmod 2 роки тому

    You can connect multiple HC-05s with
    ua-cam.com/video/iMEm3QrP37Q/v-deo.html

  • @LazyOwl77
    @LazyOwl77 5 місяців тому

    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 4 місяці тому

      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.

  • @PietDeboer-py9fm
    @PietDeboer-py9fm 4 місяці тому

    thanks all lot please go on grreeds from holland

  • @anhnhat3928
    @anhnhat3928 11 місяців тому

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

  • @msthepro
    @msthepro 7 місяців тому

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

    • @msthepro
      @msthepro 7 місяців тому

      Remove the key one.

  • @Si-uy8qg
    @Si-uy8qg Рік тому

    THANK YOU VERY FUCKING MUCH I LOVE YOU

  • @felipe08z59
    @felipe08z59 3 місяці тому

    THXXXXXXXXXXX

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

  • @fourknotsnowhere
    @fourknotsnowhere 2 роки тому

    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

  • @domosthenesdomosthenes3218
    @domosthenesdomosthenes3218 11 місяців тому

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

    • @bababoyynpc5349
      @bababoyynpc5349 11 місяців тому

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

    • @domosthenesdomosthenes3218
      @domosthenesdomosthenes3218 11 місяців тому

      @@bababoyynpc5349 I got it to work using another app

    • @feeldulfo9387
      @feeldulfo9387 10 місяців тому

      @@bababoyynpc5349 same problem, help plss

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

    • @ChahatBhardwaj-l3p
      @ChahatBhardwaj-l3p Рік тому +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 Рік тому

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

  • @lukea6166
    @lukea6166 Рік тому

    Thanks Paul!