The truth about Bluetooth 5
Bluetooth is one of those pieces of tech that we now take for granted. Ever since its introduction in the mid 1990s it has become an essential wireless technology, coque iphone xr silicone jaune not only for smartphones but also for tablets, laptops, desktops, and more.
Bluetooth comes in two flavors: “Classic” and “Low Energy”. The former is the Bluetooth that enables our wireless keyboards and mice, along with wireless headsets and speakers. The latter, Bluetooth Low Energy (BLE) uses a lot less power and is designed for areas like health care, fitness, and beacons. coque samsung a5 stitch That whywearables like the Fitbit Charge 2use BLE rather than Bluetooth Classic.
Last summer,the Bluetooth Special Interest Group (Bluetooth SIG) announced Bluetooth 5and shortly after that I made a Gary explains video about Bluetooth 5. Since then the new specification has been officially published and the technology is starting to appear in development boards and mrsmr coque samsung galaxy s8 consumer gadgets, most notably the Galaxy S8.
Since Bluetooth 5 will likely become the de facto version of Bluetooth over the next few years, I thought coque samsung j5 2016 original it would be good to test it out now and discover the truth about its range and speed. To do that I got hold of two Bluetooth 5 nRF52840 development boards fromNordic Semiconductor. These two coque iphone xr flip boards come with a Bluetooth 5 protocol stack and a32 bit ARM Cortex M4F microcontroller clocked at 64 MHz.
This basically means you can write C coque samsung a5 2017 personnalisable souple programs for the board coque samsung galaxy note3 lite to test out Bluetooth 5, which is what I did. To save time I started with an example Bluetooth throughput program provided by Nordic and then tweaked it for my particular needs. It is known as the BLE 1 Mbps connection because that is its approximate speed at the lowest level (layer) before any protocol overheads are added.
The second is the new faster connection that comes with Bluetooth 5. It coque samsung galaxy s4 keep calm is rated at 2 Mbps, again at the lowest level. The third is a new special kind of connection that was introduced for Bluetooth 5. Its aim is to provide long distance Bluetooth connections, but with a low bit rate. In other words: range rather than speed.
BLE 4.2BLE 5BLE 5 Long Range (S=2)BLE 5 Long Range (S=8)Connection speed1 Mbps2 Mbps1 Mbps1 MbpsNetwork data rate1 Mbps2 Mbps500 Kbps125 KbpsData coque samsung galaxy a5 2016 plume throughput800 Kbps1400 Kbps380 Kbps109 KbpsError CorrectionNoneNoneFECFECBluetooth 5 RequirementMandatoryOptionalOptionalOptional Double the speedThe way Bluetooth 5 doubles the bandwidth is by doubling the speed of transmission. So previously a packet of data (actually 251 bytes worth) was sent in a set time frame (2120 microseconds). Now, with Bluetooth 5 the same data is sent coque samsung a5 2017 supernatural in 1060 microseconds. However you don quite get a doubling of the data rate as theinter frame space that is, the time interval between two consecutive packets remains the same as with Bluetooth 4. What this means is that the data is sent faster, but the gap between the packets has not been shortened. When you do the maths that means that Bluetooth 5 is actually about 1.7 times faster than BLE 4.2.
Bluetooth 5 is actually about 1.7 times faster than BLE 4.2.
Coded and Forward Error CorrectionBluetooth 5 offers a special kind of connection which is designed for long distance communications. So this isn for Bluetooth speakers or for syncing your smartwatch with your smartphone, this is for the Internet of Things. The power of IoT will be the ability to place cheap modules all over a build (be it residential or industrial) or in an open space (park or farmer field) and gather data. This data can be anything from temperature or humidity, to movement detectors or traffic monitors. The possibilities are endless. But the problem is that these sensors need to have a power supply and they need to send their data to a central hub or gateway. If the device is plugged into the mains electricity then power isn a problem and maybe the device would use Wi Fi to communicate. But the requirement for mains power and for Wi coque iphone xr apple cuir Fi coverage restricts thescope and potential of such devices.
This is where Bluetooth coque samsung 6edge 5 Long Range comes in. First of all, because the device uses Bluetooth it doesn necessarily need mains power. Secondly it doesn have to incorporate Wi Fi or even need Wi Fi coverage. Instead, these sensors could be placed with just a battery to power them and use Bluetooth 5 Long Range to communicate with the gateway.
One coque samsung s8 rigolote way to increase the range without increasing the power usage is to reduce the data rate.
But how can you increase the range without increasing the power usage One way is to reduce the data rate. What that basically means is that each bit of data sent has more energy for the same level of power. The second trick is to use error correction.
For a connection to be reliable it must ensure that when a number is sent then the same number is received at the other end. If a gets changed into a somewhere along the line then everything can go horribly wrong.
Bluetooth 5 usesa strong error correction system based onHamming codes, a family of error correcting codes thatwere invented by Richard Hamming in the 1950s. Known as Forward Error Correction (FEC), it is a system which replaces a single digit or with multiple digits that make up a word.
Let take a very simplistic example, one that isn actually used in the real world, but it is a good illustration. Rather than a systemcould transmit and rather than it could transmit This would obviously be slower but it offers some resilience. If the message gets corrupted on the way, say to then you can be confident that actually it was meant to coque samsung galaxy j3 etanche be if it got changed from to then you can still be sure that it was meant to be However if is coque samsung j3 psg received then it is clear that two bits have been changed, but is it changed to or is it changed to The good news is that there is a whole field of computer science dedicated to working out the best methods for detecting errors in transmission andworking out how to correct the errors.
Real worldTo test coque samsung galaxy core 4g star wars Bluetooth 5 in the real world I took my two NordicSemiconductor development boards and tested the throughput speed in different situations. First I tested the throughput around my house. One board remained connected to my PC while the other was moved further and further away to different rooms. Coded).
HomeHere is a very basic plan of my house:
The blue circle in the coque samsung a3 2017 silicon bottom left hand corner represents the sender (connected to my PC) while the blue stars show the different receiver positions around the house and the rough location of the walls. The walls in my house are simple partition walls covered with plasterboard (or drywall). You will find that thicker walls, concrete or brickwork, and walls with ironwork in them, will alter the way the signals propagate.
When the boards coque samsung core prime totoro where next to each other I was able to get a throughput of 1337 Kbps (that 1337 Kilobits per second which is 167 Kilobytes per second) using Bluetooth 5 and 746 Kbps for Bluetooth 4.2. Here is a table of iphone xr coque psg how the bit rate changed as I moved the boards further and further apart:
PointDistanceWallsBluetooth 5 throughputBluetooth 4.2 throughput15m/16ftt11215672211m/36ft2900629318m/59ft4470386411m/36ft2584533 If you look at the data in the table above you will notice a few things. First, Bluetooth 5 is faster than Bluetooth 4 in every case. Hooray!Secondly, for closer distances the speed of Bluetooth 5 is significantly faster than coque dessin iphone xr BLE 4.2: 1125 Kbps vs 672 Kbps for point 1 and 900 Kbps vs 629 Kbps for point 2.
As the range increases the benefits of normal Bluetooth 5 diminish compared to BLE 4.2
Thirdly, the throughput drops as the distance increases. This is true for both BLE 4.2 and Bluetooth 5. Lastly, as the range increases the benefits of Bluetooth 5 diminish compared to BLE 4.2 (ignoring the Long Range mode for the moment).
You might have expected the throughput for point 2 and point 4 to be the same, but clearly they aren My guess is that the amount of furniture and the layout of said furniture is different. Certainly signals to point 2 have a less obstructed path than those to point 4.
Shopping MallMy next test was less scientific than the home tests above and I really recommend that you watch the video to get a sense of how these tests were carried out. As I was in a shopping mall I wasn able to get out my tape measure and start calculating distances, however there are a few important things that I learned:
Bluetooth works best when there are no obstructions (walls, furniture etc) In the coque samsung s5 montre food court, which is essentially a large open space indoor area with tables and chairs, the performance of Bluetooth was impressive.
With Bluetooth 5 Long Range (Coded), where data transmission rates drop, I managed a connection of over 100m.
From my testing it is clear that Bluetooth 5 has delivered on its promise of higher throughput. Speeds of over 1000 Kbps are possible when two devices are within a few meters of coque samsung galaxy a5 2017 supreme each other, and around the halfway point of the signal coverage Bluetooth 5 remains coque samsung galaxy s7 edg faster than BLE 4.2. At the very edges of the range then the speed differences decrease significantly and according to some maths calculations I have read, the theoretical range of Bluetooth 5 (using the 2 Mbps connection type) is actually shorter than that of BLE 4.2. However, Bluetooth 5 does introduce the new Long Range (Coded) connection type which offers greater range, but less throughput.
It is interesting to note that support for the 2 Mbps and Coded connections are optional in Bluetooth 5. The only connection that is mandatory is the 1 Mbps connection speed from Bluetooth 4, however even if a Bluetooth 5 setup only supports the 1 Mbps connection speed, it will still need to support the new protocol elements like the biggerbroadcasting capacity (which increased from 31 bytes to 255 bytes).. coque iphone xr magnolia.