Adding Bluetooth to Your Arduino Project with an HC-05 or HC-06 Bluetooth Module

Adding Bluetooth to Your Arduino Project with an HC-05 or HC-06 Bluetooth Module

Bytes N Bits

3 года назад

113,578 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@coconutph8842
@coconutph8842 - 06.12.2023 17:13

what if you accidentally wired 5 volts to the ground of your hc05? will it short circuit?

Ответить
@thapaharis
@thapaharis - 11.11.2023 16:15

great tutorial that goes in depth to explain; needs stuffs like that teaches under the hood mechanisms. Thank you for content

Ответить
@domseschummsi5476
@domseschummsi5476 - 11.11.2023 14:43

Hello sir, i followed your video step by step but somehow i wasnt able to pair with the module as it simply didnt show up in the „avaliable devices“ section. Does this not work for slave modules? And if it doesnt, how would one talk to a slave module?

Ответить
@Djshjwj
@Djshjwj - 10.11.2023 00:19

Thank you that was so helpful! Where did you write the code exactly?

Ответить
@kenmiles32
@kenmiles32 - 17.10.2023 17:23

Hey @BytesNBits when I did what you did, the Bluetooth Terminal got connected but when I try to send a msg with a semicolon it is not printed in the serial monitor nor i am getting the return print in the terminal back again. I checked the code and the wiring everything seems to be perfect.Both the Baud Rates are also set at 9600. Is there anything else I can do to trouble shoot?

Ответить
@matik09
@matik09 - 24.09.2023 22:28

I got the 1000th like. Very helpful video!

Ответить
@davedc6847
@davedc6847 - 09.09.2023 23:17

Please tell me... how are you achieving Arduino simulation? All I get is "NO SPICE INFORMATION".

Ответить
@Brandon-qp7gq
@Brandon-qp7gq - 01.09.2023 09:46

Great tutorial, thank you!

Ответить
@stu6097
@stu6097 - 31.08.2023 07:08

Can you use a buck converter to reduce 5 volts coming from arduino down to the 3.3 instead of using resistance and dividing method you use?

Ответить
@tomsheppard1666
@tomsheppard1666 - 26.08.2023 19:51

Why are you not using the preferred resistor value?

Ответить
@BenParisi
@BenParisi - 26.08.2023 01:55

absolutely perfect. Thanks so much!

Ответить
@hfk2609
@hfk2609 - 11.08.2023 10:47

Do you have any code with Arduino and HC-05 that can control a 12V fan, I really need it for my project, plz help me out

Ответить
@antoniodias2776
@antoniodias2776 - 06.08.2023 07:32

Excelente.

Ответить
@OpenDeepLearning
@OpenDeepLearning - 03.07.2023 10:12

This lesson is so so good! Thank you!
I am watching this because I want to connect my wired mouse to arduino and arduino to macbook air via bluetooth (basically I want to make my gaming mouse wireless - with bluetooth).
I want to create this because the usb hubs found online are either too expensive or so crappy (and damage my macbook air battery). So, this bluetooth-arduino based bridge would fix my issues. What do you think about this?

Ответить
@ebra9902
@ebra9902 - 01.07.2023 17:16

You're a lifesaver

Ответить
@e.t1224
@e.t1224 - 08.06.2023 11:54

Good day
Please I want to create a simulation for bluetooth controlled fan regulator using proteus
I haven’t seen anything close to that online

Ответить
@e.t1224
@e.t1224 - 02.06.2023 15:51

Do you have a project-like document write up for this ?

Ответить
@thoymen7584
@thoymen7584 - 16.05.2023 20:07

Why can't you just plug the TXD and the RXD into the TX and the RX on your arduino aka Digital pin 1 and 2?

Ответить
@cyberdyers
@cyberdyers - 27.04.2023 07:31

Voltage out for the resistor of 2.2 K and 5.7K is around 3.56 volts, i suggest replacing the 5.7K with 4.4k, since this value is hard to find, try 2 pcs of 2.2 K in series to get approx. 3.29 volts

Ответить
@ShitBrick785
@ShitBrick785 - 12.04.2023 22:56

I think the calculations of the resistors is off. I = V/Rt = 5/(2200+5700) = 0.0006329114 * 2200 = 1.39Vd when it should be close to 3.3 correct?

Ответить
@CrackinWithARB
@CrackinWithARB - 09.04.2023 22:47

This was an amazing video explaining the bluetooth receiver! I want to make a project where on my iPhone I can send the device an "on" or "off" signal and for the arduino to read if it is on or off (0/1) and turn a servo motor. The goal is to remotely turn on or off the lights in my room. Do you have any suggestions as to what bluetooth receiver I should use to connect to my phone and how I should go about this?

Ответить
@doverivermedia3937
@doverivermedia3937 - 06.04.2023 00:02

Nice vids, glad I found you. I'm a bit confused. My project needs multiple receivers. It seems that HC-05 can transmit & receive ? As they seem identically priced in most places to HC-06, is there actually any need for HC-06s ? Also can multiple receivers operate simultaneously? Or is it restricted with 1:1 pairing of some kind.

Ответить
@nerdshtenterprises2295
@nerdshtenterprises2295 - 05.04.2023 02:50

I see many Videos abaut konekting flaching .. ... .....🤤🥶🥴 Not my
I need a Chip Module with software like victron and other chargecontrollers konnekt a little power station with my Phone

Ответить
@tinglin6121
@tinglin6121 - 02.04.2023 22:48

Since I am using an iPhone, I am using other apps that say to support BLE to send the messages. However, it seems like the "pairing" never happens; it just connects straight to the module on the arduino (indicated by the LED stops blinking). Then, when I send any signal from the app, nothing on the arduino serial monitor ever shows up. Is this a common problem? Thanks in advance.

Ответить
@ericwilson9494
@ericwilson9494 - 31.03.2023 07:19

Trying to integrate my arduino and an application known as Processing 4 from my laptop to the board , any suggestion on which paticular one both sound tempting but cant decide.

Ответить
@fernandohood5542
@fernandohood5542 - 31.03.2023 02:27

These libraries hide to much information. Is the bluetooth module in master of slave?

Ответить
@Claykiez
@Claykiez - 29.03.2023 10:23

how do i connect it with a shield groove i looked everywhere but nobody is talking about it

Ответить
@nucspartan321
@nucspartan321 - 25.02.2023 08:23

THANK YOU! Great video

Ответить
@Ilgenfixit80
@Ilgenfixit80 - 14.02.2023 02:31

This is extremely helpful and well done. Thank you for the work you've put into this.

Ответить
@kapoioskapoiou8631
@kapoioskapoiou8631 - 01.02.2023 01:50

Thank you for the video I just subscribed.
I have a question when you first run it on Arduino and if i type on my phone's terminal "green;"
I get a result:
You typed green
Now if type after another word or the same there is a gap after the "You typed"
I get a result
You typed
green
And that's a problem for me since i have added a red led and a green led . When the program runs for the first time it's ok , writing for example in the phone's terminal "red;" or "green;" it lights up the desired led but if I write again "red;" or "green;" the program doesn't recognize the word ( I suppose that's because for a reason i don't know if you type for a second time it's like the word has the enter in front it??maby?) .
How can I resolve this issue?

Ответить
@andrewshepherd7429
@andrewshepherd7429 - 31.01.2023 20:30

It's frustrating reading all of these successful efforts. It all looks so well explained, but, while my phone sees the HC-06 module, I can't get my phone to connect to the HC-06. I purchased two HC-06 modules. When trying to make a connection using 'serial bluetooth terminal', one of my modules consistently returns the message "Connection failed: write characteristic not writeable", the other one consistently returns a message "Connection failed: gatt status 133". Can anyone suggest solutions?

Ответить
@pikadroo
@pikadroo - 09.01.2023 22:24

If your only gonna use hc06 why put hc05 in the title and waist my time. Screw you man. Screw you and your click bait.

Ответить
@Anton-le7gd
@Anton-le7gd - 04.01.2023 16:55

Do you need to pair the module with your phone every time you use it or only the first time?

Ответить
@winna101ify
@winna101ify - 01.01.2023 06:37

Very well explained video, thank you.

Ответить
@walterkimball9399
@walterkimball9399 - 29.11.2022 19:02

First off this was a great video series and was glad to find videos that really go in-depth into explaining how to implement things like Bluetooth. I do want to know if this tutorial will work with any BLE Bluetooth modules(preferably HC-08) since I believe that iPhone only connects with BLE. I want to use the App inventor to create a remote for my projects in my Engineering class in school and only have a iPhone. Thank you.

Ответить
@a.hanshgaming1529
@a.hanshgaming1529 - 18.10.2022 16:38

I am using HC 06 module but after connection with ardino uno led in Bluetooth module is not blinking.
Please help to solve this problem.

Ответить
@abdallahhachem4985
@abdallahhachem4985 - 16.10.2022 00:31

Great Video!!! i did the steps and it worked. Just FYI make sure you put resistors between the bluetooth rx to arduino tx. two different resistors of 2.2k and 6k would work. the reason is that you need to adjust the 5v to 3.3v.

Ответить
@danger0679
@danger0679 - 30.07.2022 15:14

Video provided great help for our project. Thanks

Ответить
@argon8883
@argon8883 - 24.07.2022 23:51

Everything works except the response "You sent ", and it doesn't reprint on the Serial Com. ...I followed your SKETCH perfectly with no errors, and it uploads fine ...the only thing that I can see that is different is in Void Loop ...your typing of "data" is highlighted and my "data" is not. The only mistake I caught is your Schematic PIN 8 and PIN 9 for RX and TX is reversed in the SKETCH.

Ответить
@echodoesathing4086
@echodoesathing4086 - 27.03.2022 21:45

this works, except the receiving on the app for "laser off;" is "Ylaser on;", "Y laser on;", "Y;", and a few other mashups. Why does it do this?

Ответить
@iqbalbhaiyat5511
@iqbalbhaiyat5511 - 27.03.2022 19:56

Thx you

Ответить
@sirgen001
@sirgen001 - 12.02.2022 13:14

Can you make a complete step by step video tutorial of how to send messages/texts to a display using an Arduino board (Nano/UNO), HC-05, MAX 7219 and MIT App creator? This would help me and a lot of people out here. Thanks.

Ответить
@darthdaenerys
@darthdaenerys - 06.11.2021 20:29

I recently purchased a hc 05. When I power the Bluetooth, sometimes it blinks and sometimes it doesn't. The same is with the connection. Also, when I transmit any data from the mobile application, the Bluetooth doesn't send it to Arduino. Should I ask for replacement

Ответить
@surendrakumarsahoo9878
@surendrakumarsahoo9878 - 08.10.2021 11:59

Excellent Sir

Ответить
@hariharanramamurthy9946
@hariharanramamurthy9946 - 23.03.2021 16:17

sir getting ---->⸮x⸮x⸮⸮x⸮x⸮x⸮⸮xxxxxx⸮x⸮⸮xx⸮⸮xxx⸮⸮ at serial monitor

Ответить
@PotatoImaginator
@PotatoImaginator - 02.02.2021 01:59

Could you make a pinball game ? I Love Pinball Games :)

Ответить