Sunday, December 22, 2024

What Makes Bluetooth Smart

- Advertisement -

1F1_5F7_1

Developed two decades ago by Ericsson, Bluetooth is one of the most common wireless communication technologies seen in consumer electronics. Unlike Wi-Fi (IEEE 802.11 standards), it usually serves a category of applications known as wireless personal-area network (WPAN). The low energy profil of Bluetooth has made it popular in consumer electronics arena, while Wi-Fi is seen in more institutional setups.

Bluetooth Smart, aka Bluetooth Low Energy
The most important feature of Bluetooth Smart is its extremely low power requirement. Along with its reduced size and very low cost, this allows it to be used on sensors as miniature data loggers. Furthermore, as Bluetooth Smart uses the same frequency band as classic Bluetooth, it is compatible with almost every Bluetooth-enabled mobile device.

- Advertisement -

Bluetooth Silicon
There are a wide variety of chips available to get you started on integrating Bluetooth Smart technology into your device.

Navaneethan Sundaramoorthy, an independent technology, innovation and education consultant, explains, “There are three broad approaches for integrating Bluetooth into your embedded system design, which vary based on the cost, level of integration and development effort. One option would be to use individual components like an antenna, microcontroller and power supplies directly on your board. The second option is use of pre-integrated Bluetooth PCB modules that can be soldered on your board. Alternatively, you can use off-the-shelf USB (or SDIO) Bluetooth dongles connected to your board.”

“Of these three approaches, use of Bluetooth modules is the most popular approach for embedded systems. These modules have the complete Bluetooth software stack burnt into the microcontroller’s Flash memory, and are 100 per cent factory tested and even certifiedfor various wireless standards,” he adds.

 [stextbox id=”info” caption=”Why Bluetooth Smart”]

Bluetooth Smart finds applications in many consumer electronics, automotive, and industrial, segments such as smartphones and tablets, keyboards and mice, TV remote controls, sports and fitness, toys, gaming, automotive infotainment, etc.

Products which previously used on other proprietary wireless (ISM band) and infra-red (e.g., IrDA) connectivity technologies are migrating to Bluetooth Smart connectivity to benefit from lower power/voltage operation, much longer battery life (years not months), non line-of-sight and two-way operation, etc. The major OS providers have announced the integration of a native Bluetooth Smart stack into their updates and upgrades so that cool “Appcessories” (e.g., a smartphone app for a Bluetooth connected accessory) can be developed. There’s an exciting range of upcoming consumer electronics products that are ready for Bluetooth Smart, such as smart watches, door-key fobs, camera accessories, health and fitness monitors, proximity alarms, keyboards, mice, gesture-based remote-controls, tablets and laptops, to name a few.

—Nitin Gupta, Lead Engineer, µEnergy Applications Group, CSR

[/stextbox]

Single-chip processor. Single-chip processor is the firt choice when a designer is looking for the smallest possible footprint along with minimal power consumption, while keeping performance on par with standards. It is also selected when the developer wants to keep the costs as low as possible while implementing his Bluetooth system—for example, when creating Bluetooth client devices.

CSR has a single-chip radio with an integrated 16-bit microprocessor and 64 kB each of RAM and ROM. Named CSR1011, it comes with I2C peripheral and SPI debug interfaces, as well as a development kit and SDK that can be accessed at the CSR website.

Broadcom’s BCM20702 is another single-chip Bluetooth processor, but built on the 65nm LP CMOS technology. It has a built-in amplifier to support Class 1 transmit power. This chip features a packet loss concealment technology that reduces packet loss and bit error rates. This makes it a good choice for audio output devices that rely on a Bluetooth link for audio streaming.

One of the lowest-voltage Bluetooth Smart controllers currently available is the EM9301 by EM Microelectronic. This controller operates at 0.8 V, which makes it a good choice for cases where power might be a very precious resource—such as in solar cells, piezo-electric and other energy harvesters.

Multifunction processors. Unlike single-chip processors, these RF silicon chips come with a variety of communication technologies apart from Bluetooth. The chips are targeted at applications where a variety of wireless technologies would be used simultaneously. As such, they come with technology that works to mitigate potential interference between the various wireless technologies (explained later).

Broadcom’s BCM2076 is one such combo chip that features Bluetooth Smart and FM, and also supports both the GPS constellation as well as the GLONASS constellation. There is also an integrated technology in the chip, called InConcert, that allows Bluetooth and Wi-Fi signals to coexist without interfering.

 [stextbox id=”info” caption=”Recommended BLE modules”]

There are many chipset and module makers, viz, Broadcom, ConnectBlue, Panasonic, Bluegiga, InsightSiP and Blue Radio. All of their modules are based on common TI CC2540/41 chipset stacks. Only InsightsiP’s product is built with Nordic nRF8001 chipset.

External host interface. In Blue Radio module, the built-in API for external host uses AT commands, which are extremely easy to integrate with existing libraries. Bluegiga has a binary API dependant on ANSI C library.

Application hosting. In case of BLE, to save on power, cost and complexity, applications are typically hosted on the modules themselves. Application hosting on Bluegiga module is free, while it costs almost 60 per cent less on Blue Radio compared to other modules.

Pricing. Blue Radio module is costlier, while Bluegiga module is the cheapest and the rest of them are averagely priced.

Certifications. Modules based on a technology like Bluetooth must be certified for CE and FCC standards. Other certifications are not mandatory but desirable. Bluegiga modules carry five certifications compared to basic certifications carried by other modules. Having certifications already in place certainly reduces cost and speeds up the development.

All in all, it seems that Blue Radio and Bluegiga modules should be preferred in designs followed by Panasonic and ConnectBlue modules.

T. Anand, MD, Knewron

[/stextbox]

BLE system-on-chips. Since the proliferation of the Internet of Things, or the Electronics of Things as we may like to call it, there has been a surge in the demand to create wireless personal area networks for each tech-savvy person (including me). We have most of our personal belongings tagged with a Bluetooth ‘sticker,’ which gives these objects a virtual representation of themselves. The benefit is to track and easil locate every piece of accessory that I carry about with me. While single-chip Bluetooth radios are good, cases like these demand a dedicated system-on-chip (SoC) that can handle all the functions on one very small chip.

One of the SoC series that is now famous is the nRF51 series from Nordic Semiconductor. These are highly flexible, multi-protocol, SoC devices for ultra-low-power wireless applications. They run on an ARM Cortex M0 processor core, and the memory and feature specs differ amongst the different variants of the chip.

 [stextbox id=”info” caption=”Power profiles for BLE devices”]• Health Thermometer Profile (HTP): Used for medical temperature measurement
• Blood Pressure Profile (BLP): Used in blood pressure monitoring applications
• Glucose Profile (GLP): Used in blood glucose meters
• Heart Rate Profile: (HRP): Intended for use in heart rate measurement devices
• Cycling Speed and Cadence Profile (CSCP): Runs on a device integrated to a bike, monitoring its cadence and wheel speed
• Find Me Profile (FMP): A trigger on one device sends an alert to another. The former is known as the target, while the latter becomes the locator.
• Proximity Profile (PXP): Used in applications that detect whether another device is within close physical range
• Phone Alert Status Profile (PASP): It allows a device to receive notifications from another device and trigger an action[/stextbox]

One benefit of these SoCs is that different devices are compatible across product families as long as they are based on the nRF51 with similar general-purpose input/output (GPIO) count. A major benefitthat designers would see is “freedom from proprietary software frameworks,” as Nordic puts it.

How to make the design process easier
While using the aforementioned modules could be either difficult or time-consuming for integrators, many solution providers have started working on making them pluggable type by integrating them with other peripherals and control boards.

“A few shield designs are already available for Arduino, although these are costly for small/one-time users. Many of the solution providers who have come up with integration modules have also come up with supporting libraries and tools to test or simulate them. Arduino too has a library for Bluetooth use. We are making further efforts to improve existing Bluetooth libraries and bring them to an abstraction level where users would be able to match time-to-market easily and deliver before time,” explains T. Anand, MD, Knewron.

Vijayasarathy Shastri, application engineer at Texas Instruments (India), explains TI’s efforts to make the design process easier using its products: “First, meeting the most predominant design challenge, TI offers a royalty-free certified stack that addresses 80 per cent of the profiles listed on BT SIG. For those without any prior RF designing experience, reference designs are available. App notes on TI’s centre address ways to lower power consumption, through software examples for all profiles in th BLE stack. TI’s unique ‘Over the Air Download’ enables future firmware upgrades wirelessly in the field.

Navaneethan shares that there are three main things that ease the process of designing with BLE: “One would be to use pre-verified, pre-certified Bluetooth modules that integrate antenna, power supplies and MCUs with the complete software stack. These modules provide a drop-in functionality that can be added to any embedded board at the PCB utilising UART, I2C or GPIO interfaces.”

“Readily available consumer devices like the Samsung Galaxy S4 and the Apple iPhone 4S and 5 also include Bluetooth stacks and thus can be used for testing embedded designs. In general, Android devices are preferred due to their greater flexibility,” adds Navaneethan.

Reducing interference
As mentioned earlier, Bluetooth Smart operates in the 2.4-2.485GHz band using a spread-spectrum, frequency-hopping and full-duplex signal at a nominal rate of 1600 hops/second.

Since there would be multiple wireless technologies using the mostly unlicenced 2.4GHz spectrums, interference here can be reduced by the adaptive frequency hopping capability that is designed into the technology. It works by detecting the other devices in the spectrum as well as the frequencies that they are using. Once the frequencies are detected, the device in question can avoid those frequencies in its operation. The best part is that it works with even other wireless technologies apart from Bluetooth.

 [stextbox id=”info” caption=”Mobile OS support for BLE”]

If you are designing a device for use with smartphones, then this section is for you. Apple devices have supported BLE from the fifth iteration of their iOS operating systems iOS 5, and on their OS X as well. Blackberry 10 also features support for BLE.

Android, on the other hand, has been slightly slower. It has just come out and announced support for BLE in May 2013. The announcement confirms that BLE will be supported in Android API Level 18 and higher versions.

It is interesting to note that while Google was late in implementing BLE in Android, Samsung and HTC developed their own SDKs for BLE so that they are not left behind in what is an obvious evolution in the use of consumer electronics.

Finally, Windows Phone 8 supports only Bluetooth 3.1. However, the chipset (WCN3660) used in Lumia 820 and 920 phones does support BLE. Thus it is expected to receive a stack update that will enable it to feature in those devices and thus herald Windows Phone 8 to the world of BLE. Microsoft does support BLE on its desktop operating system.

[/stextbox]

Ensuring that your product succeeds
Ensuring market success is as important as designing it. Navaneethan suggests, “When designing a new product with Bluetooth for the first time, focus on getting to market faster than on attaining the lowest cost possible. Reduce development/go-to-market time by starting with complete Bluetooth development kits from chip or module vendors that get closer to your eventual design needs—even if they are more expensive. You can reduce the cost in the next iteration of your product release.”

As an example, if you intend to support iOS or Android devices or aparticular application like audio over Bluetooth, choose a module or a kit that already has proven design examples with these interfaces.

 [stextbox id=”info” caption=”Development kits for BLE”]

Texas Instruments has come out with the CC2540 development kit, which includes CC2540-based modules and dongles, and general-purpose development boards for hardware protoyping, along with the necessary antennae, cables and documents. This is a quick way to get familiar with designing using the CC2540 SoCs mentioned earlier in the article.

EM Microelectronics has also made available the ENSEMBLE BLE development kit, which allows designers and developers to test their own BLE application on a small, easy-to-use, portable hardware platform.

The ALPW-BLESDK80c51 software development kit from Alpwise provides a compatible BLE stack for the EM9301, as well as many profiles, services and example applications for the ENSEMBLE DVK.

The nRFgo starter kit and the nRF8001 development kit from Nordic Semiconductor is one way to jumpstart development using the nRF8001 BLE IC. The kit also includes a BLE emulator board, which connects to a PC via USB to enable monitoring and control of peer-to-peer connections.

From CSR, the µEnergy development kit includes a complete software development environment with graphical code development and debug facilities. The SDK includes extensive example applications and application notes together with a qualified Bluetooth 4.0 stack.

[/stextbox]

“Increase reliability by using pre-verified and pre-certified Bluetooth modules. Do not underestimate the time/effort it would take to do wireless certifcation for your own designs. If you are designing Bluetooth 4.0 system along with USB 3.0 on the same board, place these components as far away as possible” adds Navaneethan.

The most critical aspect of any wireless design is good PCB design/layout and assembly configuration of rest of the peripheral modules. Any small mistake in doing that can lead to non-working of your design.

“The worst thing that could happen in such a case is that the project works sometimes, and sometimes it doesn’t. This is a reliability issue and it is extremely difficult to detect the pattern and root cause. Taking precautions during integration itself would save a lot of resources. In a nutshell, read the user manuals and component datasheets carefully and thoroughly before getting hands on,” adds Anand.


The author is a tech correspondent at EFY Bengaluru

rss

1 COMMENT

SHARE YOUR THOUGHTS & COMMENTS

EFY Prime

Unique DIY Projects

Electronics News

Truly Innovative Electronics

Latest DIY Videos

Electronics Components

Electronics Jobs

Calculators For Electronics