is arduino worth it
It is so easy to do that. I even created a Bluetooth firework igniter project and a standalone video about the HC 05 Bluetooth module in the past.. If you don’t remember this board, then let me say that it can be bought for just two dollars can be connected to your favorite microcontroller through a simple serial, RX and TX connection, and basically sends over all the text you sent to it from your phone to The Arduino and also the other way around this way you can edit your Arduino code in a way that it reacts to certain code words and Just like that, in round 3 minutes, you successfully created a Bluetooth, control project., Pretty awesome. I would say., But as time passed, other versions of this Bluetooth board got created., Which leads me to this HM 10 board, Which is super cheap as well, but, unlike its predecessor, is not built around a Bluetooth, 2.0 IC, but around the CC2541 IC., Which features Bluetooth. 4.0 and BLE aka Bluetooth, Low Energy, But what are the practical differences between those two Bluetooth boards and is an upgrade to bluetooth 4.0., Really worth it Let’s find out. This video is sponsored by JLC PCB one fact about them. Jlc PCB manufactures quick turn prototypes and small medium quality PCBs in four factories for about 10 years, Upload your Gerber files to order high quality PCBs for low prices. Now for a proper comparison, let’s start over with the HC 05 board.
To use it. We have to connect its 5 volt, pin to 5 volts its ground, pin to ground Its TX, pin to pin 8 and it’s RX pin to a 1 kilo, ohm2 kilo ohm voltage divider, which connects to pin 9 of the Aduino.. This way we convert the 4.5 volts voltage levels of the Arduino to 3 volts voltage levels Which are compatible with the HC 05 boards.. For the software we only need a simple sketch that uses pin 8 and 9 as serial communication pins.. In order to forward all data, we enter through the serial monitor, while also outputting sent data from the module through the serial monitor. So after uploading the codes, it was time for the smartphone part. There. I installed the application Serial Bluetooth Terminal because it’s interface is very well and intuitive, designed and best of all it functions with Bluetooth, classic and Bluetooth low energy devices.. That means, after pairing, with the HC 05 board, with the pairing code 1, 2, 3, 4, and connecting to it through the app I can send over ASCII text, which gets presented through the serial monitor., Which obviously also works. The other way around and just like I described it before this way, I can let the microcontroller react to different code words. And thus create all sorts of different projects.. And if we want to upgrade the HC 05 boards to the HM 10 board, then all we must do is to simply replace it.
, Since the pinout of the two breakout ports is exactly the same. Now, of course, you will need to pair with the new BLE Device called MLT BT05 with the pairing code, 1, 2, 3, 4, 5, 6, But afterwards it works exactly the same way as the old Bluetooth boards. So at this point you might be asking yourself what’s the point then, but as soon as I connect a multimeter in series to the 5 volt power connection of the board, we can see why this technology is called low energy. When the Bluetooth boards is not paired with device, It draws around 9 milliamps and during sending or receiving data. It draws around 9.1 milliamps. That is not really a low power. Yet if we consider that the old HC 05 boards draws around 20 milliamps unpaired Around 19 milliamps, while sending or receiving and drops down to only 2 milliamps after entering its low power modes after five seconds of doing nothing. But what we have not considered yet are all the available AT commands. The HM 10 offers. There we can find the AT sleep commands which, like the name, implies, puts the board into a sleep mode., Where it only draws around 120 micro amps, which is pretty low power and should be able to run off a coin cell. For quite a while, Those AT commands might only work when the board is not paired with your phone, But it is still a low power solution for projects that only need to send data.
Occasionally Such AT commands do also exist for the older HC 05 board, Which can be used, for example, turn one Bluetooth board into master device and the other into a slave device So that they can communicate with one another, Which also does work with the HM 10 Boards – but you cannot mix between the two Bluetooth versions., Also keep in mind that you must hold the push button, while powering up the HC 05 board to enter this AT mode. But I’m getting off topic here right now. We know that the BLE board can manually enter asleep modes and can get woken up by either connecting to it or sending along text to it through the serial monitor. What also seems possible is to activate an auto sleep mode through the AT command set.. But after recalling all available ones through AT help, it seems like this command is missing from my board.. The reason is probably my board version, Which, after doing a bit of research, seems to be a copy of a copy and thus misses this function. So always be careful what you buy. For the last tests, I edited the basic communication sketch So that it sends a response to the phone to measure the time difference between sending and receiving Afterwards, I sent data from all around my apartment with different distances and measured. The ping for both Bluetooth, 2.0 and 4.0 And concluded that both versions work flawlessly, no matter the distance and offered a similar ping.
The last mentionable difference for me was that Bluetooth 4.0. does pair a bit faster with the phone than Bluetooth 2.0. But overall, when it comes to simple microcontroller data transfer projects, I have to say that when you do not care about power., Then the upgrade is really not worth it at first sight., Of course, when we dig deeper, then Bluetooth 4.0 offers more security, better error, correction And communicates faster, But when it comes to simple Arduino Bluetooth projects, then the difference is pretty insignificant but feel free to. Let me know your opinion in the comment section below, As always: thanks for watching.
is arduino worth it Video
is arduino worth it news
Posted on Monday October 21, 2019The Arduino IDE Finally Grows Up Hackaday … Continue Reading »
Posted on Wednesday October 09, 2019If You’re a DIY Tech Lover, This Arduino Kit Subscription Box Is a Must Futurism … Continue Reading »
Posted on Thursday October 10, 2019The Next Generation Arduino Nano Hackaday … Continue Reading »
is arduino worth it Social