Це відео не доступне.
Перепрошуємо.
Bluetooth 2.0 VS Bluetooth 4.0 (BLE) || Is an Upgrade worth it?
Вставка
- Опубліковано 24 бер 2018
- $2 for 10 PCBs & Free Shipping on First Order: jlcpcb.com
Support me for more videos: / greatscott
Previous video: • DIY Digital Spirit Lev...
Facebook: / greatscottlab
Twitter: / greatscottlab
Make your own Remote Bluetooth Firework Igniter: • Make your own Remote B...
Electronic Basics #4: Arduino+Bluetooth+Android=Awesome: • Electronic Basics #4: ...
Code used in this video can be downloaded here: / 17759054
You can get the HC-05 and HM-10 board here: (affiliate link)
Aliexpress:
HC-05: s.click.aliexp...
HM-10: s.click.aliexp...
Amazon.de:
HC-05: amzn.to/2I1qWtz
HM-10: amzn.to/2G9VzN9
Ebay:
HC-05: rover.ebay.com/...
HM-10: rover.ebay.com/...
Useful websites which were mentioned in the video:
github.com/yos...
www.electronica...
cdn.makezine.c...
www.martyncurre...
blog.yavilevic...
In this VS episode we will have a closer look at the most common Bluetooth boards for the Arduino. Along the way I will present you how easy it is to implement such a board in a Bluetooth project and whether it makes sense to use Bluetooth 4.0 (BLE) or whether we should stick to Bluetooth 2.0.
Thanks to JLCPCB for sponsoring this video
Visit jlcpcb.com to get professional PCBs for low prices
Music:
2011 Lookalike by Bartlebeats
Ecstatic Wave, Jens Kiilstofte
machinimasound...
Nicely done.
Another really important difference is that the HC-05 BT2.0 boards DO NOT WORK with iPhones. That's because Apple refused to pay the licensing fees for this relatively old BT standard. So if you want your application to work with iPhones then you need to use a more modern BT standard like 4.0, eg the HM-10.
So, if you care about iPhone compatibility use BT4.0LE via board like the HM-10.
I’ve got the same cheap chinese version. You can find tutorials online how to flash a genuine HM-10 firmware on it and then you can use it as intended.
Also, one more advantage of the Bluetooth 4.0 is the iBeacon mode, which can be used to track the distance from the device without even connecting to it, so it can last for years with just a coin cell battery.
Did that to my fake copy and it died🤣
Nice presentation.. but it's half the story. BLE is specially desigend for small packets and not streaming applications. That's while both versions are important. You pick the version needed for your application. However, BLE is good enough for serial
Hey, what are you doing here?
Aren't you supposed to be working on colour Tetris?
What if you want to use a Bluetooth board to be a single switch? My car is semi automatic with tiptronics. I guess the manual gears are changed with two wires. One being an up shift switch and the other down shift. I want to use a Bluetooth board to connect to paddle shifters to be the signal to hit the switches. Think these are good for that?
The sponsoring for this channel actually makes sense unlike on other channels. Once again a very detailed video.
How the hell do you do this man? You always make a video about what I need for my projects. This is like the 5th time :D
You forgot about one nifty thing that might convince some people to switch from HC-05. HC-10 can work as an iBeacon.
What that basically means is that it can broadcast its data to more than one device at a time. Useful for something like sensors that don't need to receive data from controller and if they do need to receive something like a config change, you can easily switch them back to Central + Peripheral mode, receive data packet and go back to Broadcaster + Observer.
we all should appreciate the Chinese manufacturers for providing us with cheap and affordable electronics!
Quick Look n Teardown they make more money then the u.s does in the purchase so their happy to make them cuz it’s literally so incredibly cheap to make one
With low quality and counterfeit electronics
Congrats to Chinese Manufacturers
they took our jobs !!!
@@insAneTunA but they give for us possibility to education. Look on price of budget rigol scopes for example.
@@SomeRandomPerson163 Good education doesn't depend on cheap electronics made by people with no human rights.
You explain the content in the simplest way possible
If there is any affirmation to how much we like your videos, the responses here are it. Great work as usual Great Scott!
How does an external bluetooth module like the ones in this video compare to built-in ones like in ESP32?
A video about security for projects using these boards would be interesting. Thank you for another excellent video.
I tried a Bluetooth 4.0 module for replacing the 2.0 one on my wirelessly-controlled RGB strip and on Windows computer it couldn't be connected as a serial port (maybe Bluetooth SPP or something), which made my existing code useless.
It's crazy how simple this is
Useless Duck Company omg my fav channel, why is no one like this comment?
sorry to be off topic but does someone know a tool to get back into an Instagram account..?
I was dumb forgot the login password. I would appreciate any help you can offer me!
@Justin Eli instablaster ;)
Great video, anyway Ebay is full of HM-10 clones, beware of that. I spent a month finding why my diy e-longboard is not working, HM-10 clone...fortunately I found solution how to firmware upgrade it to the "original" HM-10 via Arduino and some Windows commands :D. You can detect fake HM-10 by missing external oscilator on the PCB...
The official HM-10 does have a variant *without* the external oscillator. Hope this confuses you more haha.
I just want to become an electronic engineer because of you
Here is the thing!
Your videos are Amazing ! Super High Quality and very well explained!
BLE has the option to send broadcast packets without pairing, it's used e.g. for beacons or sensors.
Where's the best place to look into that?
I watch your videos very often. Great job. I like the ends all the time "Stay creative, and I will see you next time" of course with german accent :D
Some more features of this board -
1. The HM-10 is rated to operate at a supply voltage of 2.0 to 3.7 volts, and its I/O are 3.3V tolerant.
2. HM-10, 11 and 12 all use TI's BLE4.0 CC2540 chip.
3.Requires up to 50mA
4. Uses around 9mA when in an active state
5. Use 50-200uA when asleep
6. RF power: -23dbm, -6dbm, 0dbm, 6dbm
7. Default baud rate for the serial connection is 9600
8.The main modes of operation are called the advertising mode, scanning mode, master device, and slave device.
You forgot range and robustness. BT4 has gained robustness functionality, similar to features found in Zigbee, so it will keep connection in harsher environments like thick walls, through floors and long distances.
Thank you for the video! :) I'd like to contribute by sharing my own experience with Bluetooth LE and more advaced projects. I was supposed to make tiny coin-battery powered device, let's say some sort of a "smart sensor" - as it had PIC MCU, accelerometer and BTLE module. Bluetooth 2.0 uses good old serial COM port, so it is really simple to operate and use, especially when you can't use just pre-made terminals and have to create your own application to collect, process and save the recieved data. But Bluetooth 4.0 and higher are far more complex, although they still use UART in fact, it is not COM-port-based and that simple anymore.
thanks! No COM-port support is a huge downgrade. I wonder why it wasn't mentioned in the video.
have used several BT headphones 4.2 used much less power and would reconnect easily - i like
What is the range of this 4.0v (in meters) ??
Top man love watching your very interesting and inspiring videos....
I have been watching you videos from a very long time your videos are awesome and informative :) keep up the good work also today is my birthday
Since I have checked HC-05 works great, but not suitable for small battery application...
Hm-10 has a lot of models with a lots of firmwares,so the best you can do is to use the command "AT+HELP", gladdly it will shows up all the commands implemented....
HC-05 to HM10 - Watch out not every Hm is pin to pin compatible.
Hm10 - Once you power on, you're in AT commands mode, after pairing you automatically exit from AT command and gets into serial port mode.
Funny how the chip used in the bluetooth-module already has a micro-controller included that gives the arduino a run for its money :P
8/16bit timers, 8K Ram, I2C, USART, 12bit ADC - quit a decent thing.
Hello Greatscott!
This demonstration is really awesome. You have made many cool projects about wireless control or connectivity using those Bluetooth devices. That makes them fun and smart. But I think if you can make a projects about radio connectivity or control instead of using those Wi-Fi or Bluetooth devices, that also be awesome.
You may want to also note that HC-05 if fine for Android devices but will not pair with iOS. HM-10 will pair with both Android and iOS.
Some of the BT 4.0 BLE modules doesn't have an SPP mode, so you can't use it as a "wireless serial".
Not sure if this has been pointed out below but the BLE module you have is not a HM-10. It might be worth adding, although these boards use BLE technologies the UART layer hides it from the user. They are designed as a simple serial cable replacement the same as the HC-05.
The funny thing is that these boards are all as programmable as the ESP8266 and ESP32's are. But the manufacturer hasn't been as community friendly as Espressif is. Which is kind of a shame.
Yeah, you can flash the hc-05 a new firmware to give it HID capabilities.
The CC254x chips use 8051 CPUs which are far more difficult to program; they have no GCC available for example and good luck finding a C++ implementation.
That's my point. the manufacturer hasn't provided a toolchain like Espressif did. The devices themselves are just as capable, but without the toolchain their use is limited.
Thanks for sharing your experience trying to make an objective contribution I found quite pleasant the writing on paper bits that have added to your videos. 😎
I love to see a blue tooth project that controls a remote headphone and microphone, like the cell phones control a blue tooth headphone. Most of the blue tooth projects the device is controlled by cells phone.
I'm 13 and in an electrical engineer geek and you are like my role model
The Most Professional Electronics UA-camr Ever!!!!
Thank you
Another thing to keep in mind if you’re on iOS, the Core Bluetooth framework is BLE-only, and gives you a bunch of control over the connection from inside your app.
Don’t know half the crazy tech wizardry you do, but I still find it interesting!
Hello Scott! Great!
But you didn't considered the other side, that is the phone. Doesn't it also saves lots of power there also? For continuous monitoring use, doesn't the phone runs cool when using the BLE? while it gets hotter on Bluetooth 2 based phones or running in compatibility Bluetooth 2 mode?
I guess having extra security options could be useful. It is cool it has a wake up mode for projects where energy conservation is important.
This video is great. It really helps getting good details.
I don't know if this board supports it, but the real power of BLE is GATT, which allows you to broadcast and receive data without pairing. Supposedly GATT also uses less power, but I haven't been able to measure it because I've only ever used it between Android phones.
Where do you source your LiPo batteries? I'm nervous about trying ebay as a LiPo being roughed up on it's way from china is bad news..
I've done an entire project on BLE in engineering school. It seems easy to use, but it sometimes work terribly bad, apps do not always pair or allow you to do what you want.. More advanced arduino projets using bluetooth can be a pain in the ass!
Other than that, we did a few tests with it, and BLE modules seem to have globally the same range as bluetooth 2.0, they consume waaaay less energy (as you said, good for long lasting applications), and seems to be more reliable in terms of pairing
or you could bui an hc-05 bereaout board with the logic level converter built-in
3:22 you missed the chanche to include the "hello there" - "general kenobi" meme
Hi Scott I caught on your channel pretty late, but was very impressed with the practical videos which have helped me a lot to understand the theory behind electrical and electronic texts. How can I contribute to support you on launching future videos?
Also consider only BT 4.0 and newer devices can be connected to iOS devices. So if you want communication between iPhone and lamp switcher - HM10 is a way to go.
can you make an GPS traker?
YOUR CHANEL IS THE BEST ELETRONICS CHANEL!
Have you checked up to which distance your Hm-10 works?
While watching this video, i got an idea: maybe i can connect two phones to that system and find a way to send a message for one phone to another. I don't know if it's a good idea, but i think it's worth a try.
I am not that good at software and hardware, but i would love to read your suggestions about this topic.
P.S Maybe you should do a DIY or BUY episode on this.
Please make a video on HC-12... It says it can be controlled from a very large distance... About 1.8Km
BLE != BT. In fact there're many BLE only chips nowadays which don't even support BT. If you really had been using HID/UART over BLE that'd be sort of exciting because I haven't seen it before due to BLE not being meant to be used as a (permanently) connected protocol.
Everyone:Multimeter
Electroboom:Multimeta
Great Scott:MULTIMUETAR
What kind of objektiv do you use for your close up shots?
Great video btw!
This got me to buy the HM10 one, thanks a lot! looking forward to doing cool stuff with it
Great Scott great video
You are missing GATT. BLE has support for GATT services.
They can be setup so that they notify the master when their data has changed. So you can use it for sensors, so that you only pull the sensor value if it has changed.
Also, you don't need to pair. If you get the MAC, you can (on android at least) just tell the BLE service to connect that that MAC and it will do so if in range.
Not sure about 2.0, but on 4.0 BLE you can get up to like 450 meters rage with an SMD antenna.
Source: I work with product development and has used BLE (HM-10 for pre-study and better one for actual products) as a part of my job.
Hey since you seem to have a handle on the hm 10 module I have a question. I want to make an app that will comunicate with an arudino over a BLE HM-10 (mine is most likely a clone) module. So far I've succesfuly used a BLE terminal app to talk with the module but havent been able to pair it with my phone. Is this important for making an app, like do you have to first pair with it or just use the MAC address as you say.
Also how do you fin out the MAC address
all in all
it is the way forwards
4.0 headset lasts for many hours past a work shift ,it never runs flat like the 2.o ones used to do
(for pro drivers on the roads who need headsets connected up all day then ,4.0 to 4.2 headsets are a must if you want to stay headphone connected up to your mobile and it last the full day DRIVING SHIFT )
so if your headset is 2.0 and does not last you a full day -simply look for the 4.0 headsets and this is just the start of a great new world in Bluetooth technology
i give it the thumbs up
Thx for your vids including this one. I thought a major advanyage of BT4.0 is multi connection support?
What I know is the BT 4.0 shoul'd have much less power consumption. That's the main "policy" of BT nowdays. Not the speed. You can use the wifi for speed. It is for the lowest power consumption. The BT4 devices will stay online for over 1 year just with the button cell battery.
Informative! Thanks for sharing your knowledge on this!
Hi, how to set HM-10 so it can replace HC-05? We have Bluetooth classic MIT APP INV APP that works well with HC-05 but not with HM-10. So can HM-10 work as a HC-05 after setting it's parameters?
What do you think about making a video about creating a 555 timer step up/step down converter?
Also great video as always...
Well, it seems like you can read my mind. Not sure if I will use a 555 timer but a buck/boost converter tutorial without uC is coming.
Great! I can't wait to see that video!
how about external mosfet mod to lm 2596?
please make a video on how to make a wired keyboard wireless using blutooth with least possible delay...
Thanks Scoot!! really nice!
can you recomend a chip for making a bluetooth headset?
BLE board draws 120uA in sleep mode and can be powered by a coin battery. But, usually it needs to transfer data occasionally when it requires 9mA. So, do we need a seperate power configuration when transferring data. How to configure the power sources in that case?
Can the HM-10 run standalone (as a IPS beacon)?
Nice video! The biggest advantage for BLE is compatibility with iOS. For Bluetooth 2, you need to be in apple’s MFi licensing program, while anyone can create a BLE based app for free.
Please your suggestions or ideas I need it:
My hc-05 connect normally without any problems and received/ send data to phone but in AT MODE DONT respond to command, what should I do !!!
thanks man u saved my life
You should take a look in the HID firmware capabilities in the HM 10 board.
Nice video. About the round-trip delay measurement, Did you use Android's methods to get the current time? I think the whole Android OS timing is not exact to ms level, and also there is the non-real-time-ness of both transmitter OS (Android) and receiver OS (windows?). Maybe a better time analysis could be achieved by attaching a logic analyzer to RX/TX pins of transmitter and receiver modules. This way you can circumvent the OSes
My bt HC-05 was blinking both led. But after ORGL command it is blinking only red. What is the reason?
Can u pls make demo : BLE Angle of Arrival and Angle of Departure Bluetooth 5.1 using BLE ESP 32
Hi @GreatScott! I hope you are well. Bluetooth 5.2 vs 5.0 vs 4.0 video content is expected😉
I don't know if it is true, but I have been told that Apple iOS meaning all the iPhone smartphones, is not compatible with Bluetooth 2.0 (because SPP=Serial Port Profile is not supported), and consequently BLE 4.0 is required to work with the iPhones.
Can you confirm ?
someone mentioned that the classic SPP profile does not work on BLE, how is it working on the HM10 module?
I ordered a fake HM-10 (AT-09) from Aliexpress. But, i have a little problem with it. I can't access AT mode or even connect to it through any apps. I have a HC-06 from school and it works just fine. What could cause this?
Is 9600 the serial baud rate?
Great video scott!
Can you make a gps unit as a gps tracker please?????
How much faster? I'm actually thinking about sending and receiving sound / image sensor data via bluetooth, for analysis by a server PC that I don't want to physically wire to the device, and 9600 baud certainly sounds rather cumbersome. Particularly as I would want to add security, as I'd rather not have my neighbors pairing to those devices by mistake, or out of curiosity.
Useful info thanks! I would like to work on a Arduino/iPhone 8 project. Could you suggest a compatible bluetooth module?
What's the maximum distances to stay connected to those two components? Did yoou test that to? Would be nice to know, e.g. for building a smartphone controlled drone.
Ever going to make a video on more PCB design & etching and maybe autonomous rc Drone/airplane?
Thanks for the review. Is there a shutoff function on this device that I can control through an RC transmitter?
Have you considered using such a BL device to power a relay, to turn on a lamp when you get home for example?
ohh I finally had the time to see your video well.
slow motion and subtitled because I do not know English very well (German even less). Excellent explanation but I can not make Arduino work:
I bought a box of components with an arduino-one clone (Geekreit from banggood) and I downloaded IDE for ubuntu from the original site
I installed it but even if the program recognizes the port and type of card does not load the sketch (the blink) have you heard of others having the same problem?
thanks a lot for all your sharing.
What other microcontroller do you like??
I like all of them
GreatScott! Btw I love your Diy or buy vids keep them coming more and more!!!! Kudos....
WeMos D1 is pretty nice... it runs on an ESP8266 with 80 MHz and Wifi.
I fully expected EXACTLY this reply by GreatScott!
You should look at the Parallax propeller...8 CPUs (cogs) on one chip. They just successfully fired up the more powerful P2 after 13 years of development. It has ”smart pins" with all kinds of functionality.... imagine reading 30 quadrature encoders on one device 😎
Did I also see the HM10 board voltage input range is now increased from 3.3v to 3 to 6 v, therefore direct connection to the 5v pin?
Can you make a video about connecting two HC-05 modules with each other?
What is the maximum range? If one uses much less power wouldn't it be shorter?
Is it possible for a smartphone to connect 4~6 BLE devices at the same time?
Can you do a tutorial?
Do you have a plan of making a project video of making a Dual rail adjustable power supply? Like A positive and a Negative output in respect to Ground? Thanks for replies really appreciate your efforts..
The HM-10 presented here is one of the many "fake" ones. It is lacking the second crystal, which the original HM-10 has. Plus, it has a different firmware with many limitations, higher current in standby, very bad/badly tuned antenna and range, etc. However it can be flashed with the original HM-10 firmware, which eradicates some of these drawbacks.
could you tell please how tu build an mesh wireless network in a easiest way in your video, for tens of controllers to communicate each other trough other ones like through the bridges
Хм, а может именно светодиод на плате BLE модуля потребляет эти 10 мА во время активного режима?
Ведь во время приема/передачи не было всплесков по потреблению, как у hc-05
How could I amplify bluetooth I want to make a system so that when my machine faults out it makes a box on my belt vibrate. But with walls and other machines it's not easy for it to stay connected
It's Cool!
How to may i try to make my wired keyboard to wireless one?
or i find a other referance video?