Tag Archives: IEEE 802.15.4-compliant bundles

mbed eval boards showcase focus on IoT software and connectivity


Chipmakers like Atmel are joining hands with ARM to bring the entire ecosystem under one roof and thus facilitate the creation of standards-based IoT products.


ARM’s mbed operating system is winning attention in the highly fragmented embedded software space by promising a solid software foundation for interoperable hardware and thus scale the Internet of Things designs by narrowing the development time.

Atmel has put its weight behind ARM’s mbed OS by launching the single-chip evaluation board for the IoT ecosystem in a bid to ensure low software dependence for the embedded developers. The leading microcontroller supplier unveiled the mbed evaluation platform at the recent ARM TechCon held in Santa Clara, California.

The mbed OS platform is focused on rapid development of connected devices with an aim to create a serious professional platform to prototype IoT applications. So IoT developers don’t have to look to software guys for help. The mbed stack features a strong focus on enhancing the IoT’s connectivity and software components.

Atmel mbed Xpro board

ARM is the lead maintainer for the mbed OS modules while it adds silicon partners, like Atmel, as platform-specific dependencies for the relevant mbed OS modules. Silicon partners are responsible for their platform-specific drivers.

Atmel’s mbed-enabled evaluation board is based on the low-power 2.4GHz wireless Cortex-M0+ SAM R21 MCU. Moreover, Atmel is expanding mbed OS support for its Wi-Fi modules and Bluetooth Low Energy products.

The fact that Atmel is adding mbed OS to its IoT ecosystem is an important nod for ARM’s mbed technology in its journey from merely a hardware abstraction layer to a full-fledged IoT platform. Atmel managers acknowledge that mbed technology adds diversity to embedded hardware devices and makes MCUs more capable.

Solid Software Foundation

There is a lot of code involved in the IoT applications and software is getting more complex. It encompasses, for instance, sensor library to acquire data, authentication at IoT gateways and SSL security. Here, the automatic software integration engine like mbed lets developers focus on their applications instead of worrying about integrating off-the-shelf software.

The mbed reference designs like the one showcased by Atmel during ARM TechCon are aimed at narrowing the development time with the availability of building blocks and design resources—components, code and infrastructure—needed to bootstrap a working IoT system. Atmel managers are confident that a quality software foundation like mbed could help bring IoT products to market faster.

thingsquare2

Atmel’s mbed-enabled IoT evaluation board promises harmony between hardware and software. Apparently, chipmakers like Atmel are joining hands with ARM to bring the entire ecosystem — OS software, cloud services and developer tools — under one roof, and thus facilitate the creation of standards-based IoT products. Atmel’s mbed evaluation board clearly mirrors that effort to deliver a complete hardware, software and developer tools ecosystem in order to bring IoT designs quicker to market.

The platform comprises of mbed OS software for IoT client devices like gateways and mbed Device Server for the cloud services. ARM launched the mbed software platform in 2014 and Atmel has been part of this initiative since then.

mbed in Communications Stack

Additionally, Atmel has tied the mbed association to its SmartConnect wireless solutions to make the best of mbed’s networking stack in the Internet of connected things. The IoT technology is built on layers, and here, interoperability of communications protocols is a key challenge.

For a start, Atmel’s SAM R21-Xpro evaluation board is embed-enabled and is built around the R21 microcontroller, which has been designed for industrial and consumer wireless applications running proprietary communication stacks or IEEE 802.15.4-compliant solutions.

Next up, the evaluation board includes SAM W25 Wi-Fi module that integrates IEEE 802.11 b/g/n IoT network controller with the existing MCU solution, SAM D21, which is also based on the Cortex-M0+ processor core.

XPLAIN
Furthermore, Atmel is offering an mbed-enabled Bluetooth starter kit that includes SAM L21 microcontroller-based evaluation board and ultra-low-power Bluetooth chip BTLC1000, which is compliant with Bluetooth Low Energy 4.1. Atmel demonstrated a home lighting system at the ARM TechCon show floor, which employed SAM R21-based Thread routers that passed light sensor information to an mbed-enabled home gateway. Subsequently, this information was processed and sent to the mbed Device Server using a web interface.


Majeed Ahmad is the author of books Smartphone: Mobile Revolution at the Crossroads of Communications, Computing and Consumer Electronics and The Next Web of 50 Billion Devices: Mobile Internet’s Past, Present and Future.

Accelerate your evaluation of Atmel 802.15.4 wireless solutions from your desktop

You have probably come across this scenario before: Management or the marketing department approaches you asking you to add wireless functionality to an existing product, or to develop a new product that needs to be able to support a wireless link. Today, there are many wireless technologies and options to consider.

It is also quite possible that marketing has already made part of that decision for you.

The marketing requirement may stipulate that you use Wi-Fi, Zigbee, 6lowpan or Bluetooth low energy (BLE). Or, maybe marketing has no idea what is required, and just tells you to implement a wireless link!

So, after a number of meetings and conference calls, you decide to use a solution that is based upon 802.15.4. This could include Zigbee, 6lowpan, Wireless HART, ISA100.11a, Openwsn, Lwmesh, among many other wireless stack solutions that all require an 802.15.4 compliant transceiver.

At this point you would need to decide if your solution, or the protocol you’ve selected, will operate in the 2.4 GHz band or in a SubGhz band. There are times when you will need to do some experimentation or RF performance evaluations to determine which RF band to use in your particular situation.

When evaluating Atmel 802.15.4 wireless solutions, the first tool you should turn to is Wireless Composer. Provided as an extension to Atmel Studio 6.x, the Wireless Composer is a free tool. In order to make it simple, each of the current Atmel 802.15.4 evaluation kits/platforms comes with a Performance Analyzer firmware application pre programmed into the kit. Running on the evaluation kit, this Performance Analyzer firmware is designed to communicate with both the Atmel Studio and Wireless Composer extension.

Some of the capabilities of Wireless Composer include:

  • PER (Packet Error Rate) Testing: Transmit and receive 1000’s of frames at a specific TX power level and RF channel and then review the results for errors (dropped bits/frames) while also evaluating throughput metrics.
  • CW Test Modes: Place a device in a Continuous test mode to monitor emissions with a spectrum analyzer or other RF test equipment
  • Antenna Evaluation: Provide a Large Digital Display to allow testing antenna radiation pattern’s at distances of up to around 3 meters from the device connected to the laptop PC.
  • Range Testing: Gather and log range data generated from a  wireless link set up between two nodes — this data includes RSSI (ED signal strength) and LQI (signal quality) from both sides of the RF link.

Here are a few additional example screen captures, available from within Wireless Composer.

Energy Detection Scan Mode:

Energy Detection Scan

Screenshot of Wireless Composer, an extension of Atmel Studio 6.x – Energy Detection Scan

Have you ever wanted to set up some RF tests and wanted to know if there were other transmissions already taking place on the channel you intended to test on ?  Maybe your colleagues  are performing tests in another section of the lab or building, or maybe at home you have Wi-Fi or Bluetooth or home automation devices operating in close proximity to where you want to run some experiments.  The ED scan mode, as shown here, allows you to get a quick glimpse of what RF activity is happening around you. You can do a one time scan or you can configure the test to continuously scan one or all channels and repeat this until you stop the test.

PER Test:

A common RF test to perform on a packet based wireless communication system is a PER (Packet Error Rate) test.

This test mode allows you to configure operation on a particular channel, at a specific TX power level, using a selected antenna option. You are then provided the ability to set the number of bytes to send in a transmitted frame, and to set how many frames you are going to send during the test. All of these parameters are configured in the left hand Transceiver Properties Pane, as shown in the capture below. Once the test is performed, the right hand window provides data regarding the results of the test.

This can be useful for confirming RX sensitivity parameters, and data throughput characteristics under different conditions. Here is an example of sending 1000 frames and achieving zero errors using a frame length of 20 bytes.

Packet Error Rate test mode

Screenshot of Wireless Composer, an extension to Atmel Studio 6.2 – Packet Error Rate test mode

 

Continuous Transmission Test Mode:

If you have attempted to develop a wireless RF product before, you know that a considerable amount of time will be spent performing regulatory pre – scan certification testing. This typically involves configuring your device to transmit a continuous wave RF emission on a particular RF channel using a specified amount of Transmit power. The RF emissions are monitored using a spectrum analyzer or other RF test equipment. To help save time and provide a useful tool, Wireless Composer provides a Continuous Transmission Tab that allows selection of a few different tests of this type.

In the example shown below, an unmodulated CW test transmission has been started on channel 16 using a TX power level of +4dBm. These are no results reported here, because all measurement results would come from observing the RF test equipment that monitors the RF emissions.

Screenshot of Wireless Composer, an extension to Atmel Studio 6.2 -  Continuous Wave test mode

Screenshot of Wireless Composer, an extension to Atmel Studio 6.2 – Continuous Wave test mode

 

Antenna Evaluation Range Test Numerical Display:

For any wireless product, the antenna is one of the most important sections of the design. A great radio with a poor antenna results in poor product performance, while a mediocre radio with a great antenna can end up with very good performance. So, one of the tasks for any wireless product developer is to understand the characteristics and performance of his antenna design. This may be some type of on board antenna like a ceramic chip antenna, or a pcb trace antenna, or it just may be connecting an external antenna to an RF connector mounted on the product’s pcb. Many on board antenna designs are shortened quite a bit to reduce the footprint or space required by the antenna. This usually will affect the performance of the antenna in a negative way, or at a minimum create directivity to the antenna’s radiation pattern. A nice capability of Wireless Composer is the ability to allow you  to place the device connected to the PC, running Wireless Composer, on a table or tripod at a specific height above the floor in an open indoor or outdoor area. Then, in the range test tab within Wireless Composer, select “Numerical “ as the display mode. This will then display a screen as shown below.

One would then take a battery operated mobile node about three meters away from the PC display and watch the values being displayed for ED/RSSI and LQI change as you rotate or change the orientation of the antenna with respect to the unit at the other end of the link. This display shows the LQI and ED/RSSI values at both ends of the link and can be used to examine any changes in antenna pattern, as the device orientation is changed. Knowing what orientation provides the best signal levels will later help you understand how to position the unit when mounting it at its final location. You will also acquire information on how to set up additional range tests where you could be up to one mile away, and all you have is a blinking led to indicate whether or not you still have communications with the unit under test.

Screenshot of Wireless Composer, an extension to Atmel Studio 6.2 - Range Test Numerical Display

Screenshot of Wireless Composer, an extension to Atmel Studio 6.2 – Range Test Numerical Display

 

Range Test Log With Multiple Markers (Push Button Marker Recording):

Wireless Composer also has a range test mode for logging signal level and quality to a PC display or to an Excel file, as shown in the screen capture below.

When two paired devices are configured in this range test mode, the unit connected to the PC will periodically (about every two seconds to conserve battery life) send a beacon type frame to the mobile unit, at which point the mobile unit will send back a reply to the logging device. This activity can also be seen in the screen capture below.

The LQI and ED (average RSSI) levels for each side of the wireless link are recorded with a time stamp to an Excel file.

Have you ever tried to do an RF range test by yourself? If you have, then you know that it sometimes can be difficult to set up a test, such that you can leave one node at a fixed location and take the other battery operated mobile unit to various locations where you want to gather signal level and link quality information.

This is especially true when your simple wireless device lacks any type of user interface, or display attached to it, as in the case of a wireless sensor, or an simple evaluation board. This becomes even more difficult if you are doing LOS (line of sight) measurements outdoors. The performance analyzer app only assumes you have access to two IO pins — one is typically an input for a push button or jumper, while the other is an output for an LED.

Outdoor LOS measurements may allow you to achieve distances of hundreds of meters, as well as one or more miles in the SubGhz RF bands.

To make this measurement task a lot easier, the performance analyzer app has the ability to enable you to press a button on the battery operated portable unit that you have in your hand, and have this RF device send an RF frame back to the unit connected to the PC that is doing the logging; as a result, that marker frame is recorded into the log, allowing you to place marker indicators for time and place in the log file. This will enable you to determine where you have been when you return to review the log data.

For instance, you could press the button once while at a specific location in room A, and then press it twice in for a location in room B. Or, if you are outdoors you could press the button and insert markers at various distances as you move away from the logging unit. Then, all you would have to write on your notepad while doing the test would be the name of your location (or the distance at which you were away from the logging unit) and the number of times you pressed the button at that location.

Upon your return to examine the recorded log, you’ll have all of the necessary information to understand the recorded results, including where in space and time the measurements were made.

See the example below:

Screenshot of Wireless Composer, an extension to Atmel Studio 6.2 -  - Recorded Logs

Screenshot of Wireless Composer, an extension to Atmel Studio 6.2 – – Recorded Logs

 

For each of the supported wireless platforms, Atmel Studio contains complete example projects with source files for the performance analyzer application. When you are finished making measurements on an Atmel evaluation board that you used to help make device selection or RF band selection decisions, you can then use this same application with possibly some minor modifications to support your own final hardware design with regards to the IO assignments for a push button or led. This performance analyzer application along with Wireless Composer have proven to be very useful when performing tests on first prototype boards, and even for use in performing FCC or other governmental regulation pre-scan testing.

Interested in learning more? You can access Wireless Composer here and Atmel Studio here.

 

 

Wireless packages for the IoT

Atmel offers flexible IEEE 802.15.4-compliant bundles, making it easy to create a tailored solution optimized for specific requirements. Simply choose the Atmel MCU that is best-suited to a particular application and combine it with one of our versatile RF transceivers.

“For example, gas and water meters are a rapidly-growing market as the smart grid gains maturity,” an Atmel engineering rep told Bits & Pieces. “RF communication is key for gas and water meters, because of the increasing availability of the AMI architecture, with the smart electricity meter often acting as the gateway to the utility for meter reading.”

When paired with an Atmel-powered 8- or 16-bit microcontroller that offers ultra-low power and integrated LCD segment drive support, developers can rapidly build an application which is ideal for the growing metering market.

“More specifically, we offer several RF bundle solutions that let you combine selected microcontrollers with an RF transceiver: AT86RF212 for the regional 700/800/900 MHz bands, and AT86RF230 and AT86RF231 for the worldwide 2.4GHz frequency band. These transceivers are true SPI-to-antenna solutions that comprise the only requirement for the MCU to feature SPI Serial Interface,” the engineering rep continued.

“Our flexible solutions let you to pick the microcontroller that is best-suited for your target application and combine it with the RF transceivers that features your RF requirements. The three RF transceivers are pin-compatible, making it easy when RF requirement change to replace the RF transceiver and reuse the microcontroller application.”

On the capacitive touch side, developers can choose one of Atmel’s bundles or combine any of the Atmel QTouch Library supported tinyAVRs, megaAVRs, AVR XMEGAs or AVR UC3 devices with the Atmel transceivers – easily adding capacitive touch functionality to RF applications.

Interested in learning about Atmel’s wireless packages for the IoT? Be sure to check out our detailed device breakdown here, specifically the RF212B and RF233.