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

Поделиться
HTML-код
  • Опубликовано: 26 ноя 2024

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

  • @sauali
    @sauali 8 месяцев назад +7

    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 7 месяцев назад +5

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

  • @alexandersoltys8738
    @alexandersoltys8738 3 месяца назад +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.

  • @elytra_gg
    @elytra_gg 2 месяца назад +1

    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

  • @kevhartin
    @kevhartin 10 месяцев назад +3

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

  • @Tiparium_NMF
    @Tiparium_NMF 2 года назад +20

    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 2 года назад

      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

  • @sahilsagar173
    @sahilsagar173 Месяц назад

    In interfaceing diagram the tx and rx are not connected properly

  • @bobmansfield6859
    @bobmansfield6859 14 дней назад

    Nice Video Paul, thanks .
    I had been trying for hours to get the modules configured using an Arduino UNO and connecting directly to the HW UART, but never had any luck. Even with your approach, I have found, (as have others it appears) that I must power cycle the modules AFTER powering the Arduino, otherwise I get no responses to AT command,

  • @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 7 месяцев назад

      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

  • @3goldfinger
    @3goldfinger 11 месяцев назад +3

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

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

      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 2 месяца назад

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

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

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

    • @DontMindRick
      @DontMindRick 5 месяцев назад

      How did you make it work?

  • @alexanderbeuerle4488
    @alexanderbeuerle4488 Месяц назад +1

    Hello there, thank you for the great video. I could only get it partially working and I wanted to ask for some help.
    When I type AT, it will send the OK message but when I try anything else it says error{0}
    My baud rate is set to 38400 and instead of setting a pin to high I just plug EN into 5V which is within the range for my HC05.
    Any Idea why this is happening?

    • @alexanderbeuerle4488
      @alexanderbeuerle4488 Месяц назад +1

      It will also only say "OK" if I have it set to "Both NL & CR"

  • @msthepro
    @msthepro 9 месяцев назад

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

    • @msthepro
      @msthepro 9 месяцев назад

      Remove the key one.

  • @adilfarooq1430
    @adilfarooq1430 2 года назад +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?

  • @Barryd57
    @Barryd57 Месяц назад

    It works with pin 9 attached. I can change the name. It only works at 9600 baud which is OK. I can connect with my Android phone, password 1234, but then it disconnects after 5 seconds. Any assistance is appreciated.

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

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

    • @Latter-Day-Aint
      @Latter-Day-Aint 6 месяцев назад

      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.

  • @sipasevenessek
    @sipasevenessek 10 месяцев назад +2

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

    • @AzoneTheMighty-g2w
      @AzoneTheMighty-g2w 2 месяца назад

      Its because of your baud rate

    • @sipasevenessek
      @sipasevenessek 2 месяца назад

      @@AzoneTheMighty-g2w thank youuuu

    • @Aswath-i1p
      @Aswath-i1p Месяц назад

      I recommend using hco6 though lower cost and worth it cuz the ble very easy to fry

  • @danbrit9848
    @danbrit9848 2 месяца назад

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

  • @madladdan
    @madladdan Год назад +1

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

    • @38.ngovantuan36
      @38.ngovantuan36 6 месяцев назад

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

  • @LazyOwl77
    @LazyOwl77 6 месяцев назад

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

    • @Latter-Day-Aint
      @Latter-Day-Aint 6 месяцев назад

      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.

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

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

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

  • @lukea6166
    @lukea6166 Год назад

    Thanks Paul!

  • @domosthenes
    @domosthenes Год назад

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

    • @bababoyynpc5349
      @bababoyynpc5349 Год назад

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

    • @domosthenes
      @domosthenes Год назад

      @@bababoyynpc5349 I got it to work using another app

    • @feeldulfo9387
      @feeldulfo9387 11 месяцев назад

      @@bababoyynpc5349 same problem, help plss

  • @hamzaben3804
    @hamzaben3804 6 дней назад

    nice

  • @fernandohood5542
    @fernandohood5542 Год назад

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

  • @Si-uy8qg
    @Si-uy8qg Год назад

    THANK YOU VERY FUCKING MUCH I LOVE YOU

  • @felipe08z59
    @felipe08z59 5 месяцев назад

    THXXXXXXXXXXX

  • @anhnhat3928
    @anhnhat3928 Год назад

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

  • @PietDeboer-py9fm
    @PietDeboer-py9fm 6 месяцев назад

    thanks all lot please go on grreeds from holland

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

    You can connect multiple HC-05s with
    ruclips.net/video/iMEm3QrP37Q/видео.html