How to Connect Two Arduino Projects Together Using HM-10 BLE 4.0 | Bluetooth Low Energy cc2541 bc417

  Переглядів 6,081

Delali

Рік тому

Today we would look at how to connect two HM-10 Bluetooth low energy modules together. This will enable wireless communication between two Arduino projects on two separate boards. 2021

HM Bluetooth modules use CSR or TI CC254x or cypress chips
cc2541 csr bc417 Arduino electronics | Texas Instruments cc2541f256

First Schematic Diagram: bit.ly/3096na0
Second Schematic Diagram: bit.ly/33XbBa6
HM_10_BT1 Code: bit.ly/3cBMqxy
HM_10_BT2 Code: bit.ly/3iaDh0e

--------------------------------------------------
Part Links (Affiliate)
AliExpress
HM10 BLE 4.0 Module: s.click.aliexpress.com/e/_9IUzUR
Arduino Uno: s.click.aliexpress.com/e/_A1V4Mx
Breadboard: s.click.aliexpress.com/e/_AZEKAf
Push Button: s.click.aliexpress.com/e/_AC6HLN
Light Dependent Resistor: s.click.aliexpress.com/e/_97uUs7
LEDs: s.click.aliexpress.com/e/_9QFJA3
Resistor Pack: s.click.aliexpress.com/e/_AnV50n

Amazon
HM10 BLE 4.0 module: amzn.to/39RgmWL
Arduino Uno: amzn.to/36PcYd9
Breadboard: amzn.to/3rrM2rL
--------------------------------------------------

----------------------------------------
Channel Equipment's (Affiliate)

UT204 Plus Clamp Multimeter
s.click.aliexpress.com/e/_9ihxKq

DSO FNIRSI PRO Oscilloscope
s.click.aliexpress.com/e/_ATrDZM

Screw Driver
s.click.aliexpress.com/e/_AeEkhC

Bench Power Supply
s.click.aliexpress.com/e/_AfpU7G

USB Adjustable Discharge Load
s.click.aliexpress.com/e/_9HFFwe

USB Tester with Current Voltage Indicator
s.click.aliexpress.com/e/_9frmaK
----------------------------------------

Hope you learned something new.

Don't forget to LIKE, SHARE and SUBSCRIBE Cheers!!!

Follow us @diydelali on Facebook, Twitter and Instagram
Channel Theme Song: Entire by Quincas Moreira

arduino bluetooth

КОМЕНТАРІ
El Mehdi Seddougui
El Mehdi Seddougui Місяць тому
Finally someone using a voltage divider on the rx pin!
Delali
Delali Місяць тому
I can tell you use a voltage divider on the rx pin too. Welcome to the club brother. Cheers!! Please don't forget to subscribe.
Đức Lê
Đức Lê 3 місяці тому
My HM10 and HC06 are paired with my PC how ever they didn't connect, can you show me how to?
Đức Lê
Đức Lê 2 місяці тому
@Delali No... I’m using them to pair with my PC not together .-.
Delali
Delali 2 місяці тому
HM10 and HC06 are two different Bluetooth types. HM10 is Bluetooth Low Energy 4.0 and HC06 is Bluetooth classic. So its understandable why they wont pair together. Kindly get another Bluetooth HM10 and it will most likely pair with the one you already have. Please dont forget to subscribe. Cheers!!
Josh Prentice
Josh Prentice 6 місяців тому
I have an HM-10 but it will not connect automatically. Does anyone know why?
Josh Prentice
Josh Prentice 4 місяці тому
@Marcos no I connected it with another hm-10 like in the video. Sorry I can’t help you there
Marcos
Marcos 4 місяці тому
@Josh Prentice got it, thanks, I'll buy the original. By the way, did you test it with an iOS App?
Josh Prentice
Josh Prentice 4 місяці тому
@Marcos the clone did not work. I tried to rewrite the firmware on it and I think that works but it’s very complicated and don’t suggest doing that. I would buy another set that is not a clone
Marcos
Marcos 4 місяці тому
@Josh Prentice Tried it but it doesn't work either. Mine is also a clone (it has a single crystal instead of two). So, did it work for you with the clone or the original you bought later? Thanks
Josh Prentice
Josh Prentice 4 місяці тому
@Marcos yes I followed @Delali post right before mine and it worked. My original problem was that I bought a cheap set off Amazon and it turned out to be a clone and not the original HM-10. There’s a full list of commands out there and I was able to verify that mine was a clone because it couldn’t do a lot of the commands. I bought a more expensive set (only a few dollars more) and people have said it was the real deal and then I followed Delali instructions and it worked. Make sure you also have TX to RX and RX to TX and I forgot which one but one of them needs to have a voltage divider so that the voltage drops down from 5V to 3.3V
PTV
PTV 7 місяців тому
Hello, Very informative and helpful video by the way, I am looking for your advice on connecting that same cc2541 HM-10 and Arduino Nano. I got Breadboard board power supply board , breadboard, 12v DC adapter and Nano. What would be the best way to connect the Nano and Bluetooth as I'm little bit aware of voltage shock between them. Please be kind to provide a best recommendation as I'm on a project doing a Robotic arm that powered with four servos which intended to feed food to disabled. Thank you and If you're not clear what I'm asking for, please reply down here and I'll be back immediately.
PTV
PTV 7 місяців тому
@Delali Hello thanks for replying, I'm using DC adapter to power all those servos as they require high amps and voltage. So this what I'm planning for, I use my breadboard power supply board that connected with DC adapter (12V/1.5A) and since it got two variations called 5v and 3.3v, I will power my Bluetooth to the 5v via positives power rails on breadboard and GND to negatives..next RXT,TXT pins on Bluetooth will connected to vice versa on Nano. So with Nano, I will power with USB as usual coz I'm still in test mode, I should try your recommendation later when all coding and testing stuff done. Is it okay, my friend? Sorry for long message btw. Again Thank you for replying :-)
Delali
Delali 7 місяців тому
Hello Friend, thanks for getting in touch. Your Arduino Nano wiring to the HM-10 remains the same as with the Uno but this time the 12v dc adaptors positive goes to Vin of the Nano(it supports 7-12v), ground goes to any of the ground pins of the Nano and then you can connect the Nano's 5v pin to the HM-10
TheDemonking82
TheDemonking82 7 місяців тому
I'm curious to know if you can set up multiple slaves to one master and then the master to a main device and communicate data through or from all back to main. going to be testing this for sure. thank you for the code.
Delali
Delali 7 місяців тому
I have been wondering same fam. Not sure if its possible to connect multiple slave HM10's to one Master HM10 but i'd do well to let you know if i succeed. Let me know if you try it out and the results. Cheers!!
Chihaucciso IlConte
Chihaucciso IlConte 8 місяців тому
very nice tutorial! - I have a question, would it be possible to setup a network with one receiver and many transmitter?
Delali
Delali 8 місяців тому
Thanks for the kind words. I have been looking into implementing a network like the one you mentioned but i haven't had any luck so far. I will make a video when am successful and let you know. Please dont forget to subscribe.
Mees Jonker
Mees Jonker 8 місяців тому
Very clear and useful
Delali
Delali 8 місяців тому
Glad you liked it. Happy new year fam. Please dont forget to subscribe.
Dock Chen
Dock Chen 9 місяців тому
I like your video, clear and load. Learn a lot. Thanks for sharing.
Delali
Delali 9 місяців тому
Thanks fam. Much appreciated. Kindly don’t forget to subscribe
The Rak
The Rak 10 місяців тому
Hi bro Can you make a project by MH-10🙏
Delali
Delali 10 місяців тому
Sure fam. I would look into that.
Linda Aidoo
Linda Aidoo 11 місяців тому
Awesome video, thumps up.
Delali
Delali 11 місяців тому
Thank you! Cheers!
MJ Lookout
MJ Lookout 11 місяців тому
This is cool
Delali
Delali 11 місяців тому
Thanks buddy
kwaku Effa Adu-Ampomah
kwaku Effa Adu-Ampomah 11 місяців тому
This is super cool sir!! Keep sharing more vids with us 😍
Delali
Delali 11 місяців тому
Thank you, I will
GHizmo Hub
GHizmo Hub 11 місяців тому
Nice one bro.🔥🙌
Delali
Delali 11 місяців тому
Thanks 🔥
Prince Banini
Prince Banini 11 місяців тому
Interesting video. Now I can make a door bell with a receiver that connects over Bluetooth 4.0. Thanks a lot for this.
Delali
Delali 11 місяців тому
yh yh.
Caleb Crosby Adainoo
Caleb Crosby Adainoo 11 місяців тому
Interesting application
SCARA Robot | How To Build Your Own Arduino Based Robot
25:27
How To Mechatronics
Переглядів 449 тис.
МастерШеф 11 сезон. Выпуск 2 от 04.09.2021
3:40:30
МастерШеф
Переглядів 1,1 млн
Мой кот точно пытается меня убить
19:27
TheBrianMaps
Переглядів 2,8 млн
Professor Eric Laithwaite: Magnetic River 1975
18:39
Imperial College London
Переглядів 4,9 млн
Building a Lego-powered Submarine 3.0 - balloon and compressor
11:49
Brick Experiment Channel
Переглядів 4,6 млн
What makes this Anvil so special?
13:06
Fireball Tool
Переглядів 1,9 млн
Bluetooth 2.0 VS Bluetooth 4.0 (BLE) || Is an Upgrade worth it?
7:54
GreatScott!
Переглядів 540 тис.
How does a USB keyboard work?
34:15
Ben Eater
Переглядів 774 тис.
Flywheel Battery
14:49
Tom Stanton
Переглядів 2,7 млн
МастерШеф 11 сезон. Выпуск 2 от 04.09.2021
3:40:30
МастерШеф
Переглядів 1,1 млн
Мой кот точно пытается меня убить
19:27
TheBrianMaps
Переглядів 2,8 млн
D3 Mercedes S-класс Продажный тест.
24:34
smotraTV
Переглядів 1,3 млн
МастерШеф 11 сезон. Выпуск 2 от 04.09.2021
3:40:30
МастерШеф
Переглядів 1,1 млн