Tag Archives: Atmel | SMART SAM R21

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.

Introducing the first SoC evaluation solution based on the ARM mbed IoT Platform


Atmel is unveiling an ARM mbed evaluation platform for Internet of Things applications at ARM TechCon 2015.


What better way to kick off ARM TechCon than with some big news? Atmel has unveiled the first system-on-chip hardware evaluation solution based on the ARM mbed IoT Platform.

best-free-virus-scan-software-for-smartphones

Powered by the Atmel | SMART SAM R21 SoC, the new solution runs on the mbed IoT Device Platform — a platform that provides the operating system, cloud services, tools and developer ecosystem that makes the deployment of commercial, standards-based IoT solutions possible at any scale. The R21 is an ideal solution for the rapidly growing Internet of Things market.

Atmel is a leading supplier of IoT solutions, and the company’s SmartConnect wireless solutions are the perfect companion for the mbed networking software to power next-generation smart, connected devices. Those who’ll be heading to ARM TechCon will be able to get a firsthand look at the newly-unveiled hardware evaluation platform powered by Atmel’s SAM R21 wireless solution inside the mbed Zone (booth #512, pedestal 1). What’s more, Atmel will also be expanding mbed OS support to the Atmel SmartConnect SAMW25 Wi-Fi modules and Bluetooth Low Energy platform by the end of the year.

SAMW25_Xplained_Pro_Angled

“High-quality, well integrated software is key to our customers’ success for developing complex IoT designs requiring several layers of standards-based protocols to deliver secure communications,” explained Steve Pancoast, Atmel Vice President of Software Development, Applications and Tools. “By delivering a robust hardware platform based on our Atmel | SMART MCUs and SmartConnect wireless solutions combined with the ARM mbed OS, customers have all the necessary requirements to quickly bring their IoT projects to market. Our mission is to deliver a complete software, hardware and tools ecosystem so our customers can build compelling next-generation products for the rapidly expanding IoT market.”

Launched in 2014, the mbed IoT Device Platform combines client and server software, consisting of a lightweight OS for client devices (mbed OS), and the matching cloud server software to interact with it (mbed Device Server). Both the mbed OS and mbed Device Server are intended to be building blocks for finished products so developers can take the mbed components and build the application logic on top of a solid software foundation provided by ARM.

“IoT developers operate at pace and they need a breadth of easily-available hardware and software technologies that work in harmony so they can bring products to market as quickly and easily as possible,” said Zach Shelby, ARM Vice President of Marketing, IoT Business. “Atmel solutions range from embedded processing to security and include highly-integrated wireless technology solutions for Wi-Fi, Bluetooth and 802.15.4. By utilizing mbed IoT Device Platform technologies Atmel is well positioned to deliver easy-to-use hardware evaluation platforms that include processing, security and communication protocols for next-generation systems.”

thingsquare2

For those unfamiliar with the Atmel | SMART SAM R21, the low-power MCUs are based on the 32-bit ARM Cortex-M0+ processor integrating an ultra-low-power 2.4GHz ISM band transceiver. The devices are available in 32- and 48-pin packages with up to 256KB Flash, 32KB of SRAM, and operate at a maximum frequency of 48MHz, reaching 2.14 Coremark/MHz. Atmel SAMR21 devices include intelligent and flexible peripherals, Atmel Event System for inter-peripheral signaling, and support for capacitive touch button, slider and wheel user interfaces.

If you’ll be joining us in the Santa Clara Convention Center, then come check it out inside the mbed Zone. Otherwise, stay tuned as we bring you more information!

BitCloud ZigBee PRO SDK achieves Golden Unit status


Compatible with the Atmel | SMART SAM R21 and ATmega256RFR2, the BitCloud ZigBee PRO Software Development Kit has achieved Golden Unit status.


Atmel has announced that the BitCloud ZigBee PRO Software Development Kit (SDK) has achieved the prestigious Golden Unit status for the ZigBee PRO R21 standard. As an approved Golden Unit, the Atmel BitCloud solution will be used by ZigBee testhouses to verify standard compliancy for all future ZigBee 3.0 products. This guarantees superior interoperability for customers designing the latest connected lighting, security and comfort control products for smart home applications.

banner-ZigBit-Modules-496x190

With improved security, interoperability and ease-of-use, the Atmel BitCloud SDK provides a comprehensive set of tools to quickly design and develop wireless products compliant to ZigBee LightLink and ZigBee Home Automation Profiles, as well as the upcoming ZigBee 3.0 standard. The BitCloud SDK includes full-featured reference applications, ZigBee PRO stack libraries and API, user documentation, and implements reliable, scalable and secure wireless solution that supports large mesh networks of hundreds of devices, and is optimized for ultra-low power consumption with up to 15 years battery life.

BitCloud ZigBee PRO SDK fully supports Atmel | SMART SAM R21 devices, a single-chip solution integrating Atmel’s Atmel | SMART ARM Cortex-M0+-based MCU and high-performance IEEE 802.15.4 RF transceiver available as a standalone component or production-ready certified modules. The Atmel BitCloud is also compatible with the AVR ATmega256RFR2 wireless MCU, an ideal hardware platform delivering the industry’s lowest power consumption at 12.5mA in active receive mode, combined with receiver sensitivity at 101dBm.

WC_256RFR2

“Intelligence, wireless connectivity and security are key elements to enable the anticipated growth of the Internet of Things market,” says Pierre Roux, Atmel director of wireless solutions. “Achieving the prestigious Golden Unit Status for our BitCloud SDK ensures designers that our wireless solutions are world class and will cater next-generation solutions for this smart, connected world. We are excited to achieve this certification again.”

Calling all Makers, visionaries and innovators up for a (IPSO) Challenge!


How do you IPSO? There are many problems in everyday life that can be solved by collecting data thru sensors, or by controlling smart objects based upon inputs from a variety of sources.


Once again, the IPSO Alliance has initiated its annual challenge, whose deadline for proposals is quickly approaching!

ipso2

The IPSO CHALLENGE was launched as a way to show what is possible utilizing the Internet Protocol (IP) and open standards in building the Internet of Things. Enter this global competition by submitting a proposal before July 15 2015 for a working prototype that is innovative, marketable and easy to use.

Just a few weeks ago, I had the opportunity to speak to a potential group of IPSO CHALLENGE participants in Colorado Springs, Colorado. This meetup was created to enable potential participants to learn about the challenge, mingle with like-minded individuals, find team members with the skills needed to implement ideas that are already being considered or to find those with like interests and come up with an innovative project proposal.

As a proud sponsor of the IPSO CHALLENGE 2015, my goal on behalf of Atmel was to describe how our wireless and MCU solutions can be used to form the basis of the hardware and software platforms that should be considered for a number of innovative IP-based challenge entries.

The incentive? Over $17,500 up for grabs in prizes with first taking home $10,000, $5,000 for the runner-up and $2,500 for third. There are many problems in everyday life that can be solved by collecting data thru sensors, or by controlling smart objects based upon inputs from a variety of sources. The Internet of Things and the Internet Protocol are a smart choice as the means to publish and subscribe to  sensor information, and make this available for processing in the cloud, or to deliver this information to mobile devices for viewing or notification anywhere in the world.

One of the development kits that is being promoted for use in the IPSO CHALLENGE is the ATSAMR21-XPRO evaluation board. This kit supports the ATSAMR21 (IEEE 802.15.4-compliant single-chip wireless solution) wireless “system in package” device.

SAMR21_XPRO

The device contains both an ARM Cortex M0+ microcontroller plus the AT86RF233 2.4ghz 802.15.4 radio. This combination makes the perfect solution where a low power wireless sensor or actuator is required ,as an element of the hardware platform needed to implement your CHALLENGE entry.

The SAM R21 is the ideal platform to support a 6LoWPAN wireless mesh network, with sensors that can be used to measure and collect  data, or control outputs, while also having the ability to transfer this information to the cloud, or to any PC or mobile device, that has an internet connection anywhere in the world.

SAM R21 device IO assignments:

SAMR21

Atmel recently released its SmartConnect 6LoWPAN, a wireless stack firmware package that provides an IPV6 6LoWPAN implementation running on the SAM R21 evaluation kit, among a number of other Atmel platforms. Additionally, there are a number of example applications for SmartConnect 6LoWPAN that are provided in the free Atmel Studio 6.2.

AtmelStudio6

The example that I demonstrated during the IPSO meetup was the MQTT (MQ Telemetry Transport) example. MQTT is a publish/ subscribe protocol that allows the SAM R21 SmartConnect 6LoWPAN solution to implement topics like /Atmel/IoT/temperature or  Atmel/IoT/LED and then subscribe to, or publish to these topics while also allowing other devices to also subscribe  or publish to these same topics. This enables all these devices to work together in collecting and processing the content of many distributed sensors.

This is a very simple protocol that needs only a small amount of memory resources, and allows one to create a very effective distributed processing solution, where IP is used to enable communication and data transfer between all of the elements contained within the network.

SmartConnect 6LoWPAN, as with most 6LoWPAN solutions, makes use of the RPL mesh networking routing protocol. This lets these low power SAM R21 (15.4) radios to have the ability to transfer data over longer distances thru the wireless mesh. Because one only has to transfer the data to its nearest neighbor or its parent, in  the network that was formed.

Let’s take a look at a simplistic example of a problem, with a 6LoWPAN wireless mesh network solution: Your children take a school bus to school every morning, and if you could know when the school bus was in the neighborhood, or approaching the nearest stop, life would be a lot easier in inclement weather.

So you gather together a few SAM R21 kits and battery packs, and start to think about a solution.

Since you would need to know where the bus is at some distance from your home, this would eliminate “wired’ solutions, and since you probably would not have access to “mains power” at many of the sensing locations, the solution would require low power battery operated wireless sensors.  As it just so happens, the SAM R21 would make a perfect low power battery operated “wireless” sensor.  The SmartConnect 6LoWPAN wireless mesh network firmware would allow you to cover an extended range, by placing additional routing sensors where needed to keep track of the bus, and to relay or route similar data from other sensors that are too far away by radio, to get all the way back to your home base unit.

Given that you will need access to a fence post, a mailbox or telephone pole on your neighbors property in order to mount your small wireless sensors, you can tell them that they also can access this data to keep track of the school bus, or just about anything in the neighborhood that has a mobile tag  placed on it, whether it’s a young child’s backpack or jacket, a pet’s collar, etc.)

There needs to be one root location where all of the sensor data is transferred to, and this location will act as the  border router ( or dag root ) of the 6LoWPAN network. This is also implemented using the SAM R21 evaluation kit along with an Ethernet 1 XPRO interface board. This border router hardware would be located in your house, and plugged into a spare Ethernet port of the home access point that provides internet service to your home. Future options could also allow using Wi-Fi instead of Ethernet to make the connection to your home Wi-Fi access point.

A mobile sensor/tag will need to be placed on the bus (hopefully you can get permission, to place a small sensor using double sided tape inside the bus, or maybe ask the nice bus driver if he/she would carry it, or have one of the kids that gets on the bus early in the bus route for our neighborhood,  clip the mobile sensor to their backpack or belt .  How and where to place these mobile tag sensors, may actually be one of the most difficult parts to solve for this solution.

Once you have the mobile sensors in place on the bus, kids, dogs,  and cats, now you need to set up the sensor mesh around the neighborhood.

Atmel provides a tool call Atmel Wireless Composer.

WirelessComposer

This free tool  has a very nice feature that allows range testing to be done by one person.  Place one SAM R21 device in a fixed location and then take a battery operated remote node for a walk in your neighborhood.  You can  use this method to determine the typical range that you can achieve and  check potential mounting spots within the neighborhood. This can be used to insure that you can establish reliable wireless communications, and to find the location of where to place the  nearest neighboring node.

Remember to ask permission, before you mount the sensor node on someone else’s property.

As you turn on the remote nodes they will make their presence know to the network, and a route will be discovered back to the root node at your home.

mesh

Once you have established your network, a number of SmartConnect 6LoWPAN Example applications can be used to move the data around the network. By using the MQTT example previously mentioned, units can publish information as to which “mobile” tags are within wireless range of the sensor, thus providing a coarse location system, to notify those that are subscribing to a particular topic, as to the current location of the bus, child, dog or cat.

You can find the Example projects within Atmel Studio 6 as shown below:

ExampleProj

ExampleProj1

The power of  The Internet Protocol and the Cloud in this system is that each individual sensor has its own IPV6 address, and the data collected by the end sensor nodes is packaged into an IP frame, and  transferred thru the wireless network, and then thru the border router to the wired Internet. Then finally to the Cloud without having to convert or change protocols.  Today, there are so many devices that can make use of this data, including devices such as smartphone’s, tablets, laptops, and home automation hubs and gateways, What you can do with this data has endless possibilities.

Applications for these internet connected devices can be created to show the location of the bus or pet on a map, or maybe just send a simple notification of “School bus currently at the Smith family residence”….  Again the possibilities are endless.

Maybe you would also like to turn on your house lights or open your garage door when you approach your house from your car with a sensor mounted in the car. The info in the cloud can be integrated with your home automation system to control the lights and garage door.

Now that you have completed the proof of concept using  the Atmel | SAM R21 evaluation boards, or hopefully now that you have won the IPSO CHALLENGE!, you will want to turn your prototype into a deploy-able product.

Atmel has the solution for you.  SAM R21 “modules” are being developed in a small form factor that will allow the creation of a small battery operated mobile tag or sensor unit, and these modules come with an FCC certification ID, and a proven RF design, to eliminate the challenge, cost, and time required to develop a wireless product from scratch.

Feeling inspired? Submit your idea today before time runs out!

Building an open-source, smart ecosystem for your plants


Botani.st helps you monitor and analyze your garden environments with ease — and prevents you from killing your plants again.


Many find gardening to be a rather enjoyable hobby, where after buying and planting seeds, you watch your soil transform into an array of beautiful plants. However, for others, the activity can be downright frustrating as those seeds fail to flourish or your greens begin to wither.

connected-garden

Luckily, the Botani.st crew has developed a smart gardening assistant that will not only monitor your plants, but act before it’s too late. The project was first conceived as a way to provide folks with an affordable solution that would place countless sensors throughout their gardens, which in turn, would generate the amount of environmental and plant health data needed to make accurate recommendations. Secondly, with the Maker community in mind, its creators wanted to ensure that it was not only open-source, but modular so that others could build both hardware and software for it.

“One thing we recognized early in our design phase was that people who grow in greenhouses doesn’t mind having cords, hoses and steel wires around so there we could go with wired devices. This not only allows us to skip radio hardware but also batteries and a lot of other hardware in the sensors itself to keep costs down,” team member Claes Jakobsson explains.

And so, the crew devised a hub that would provide the necessary power and connectivity along with a gateway that would link to their service through Wi-Fi, yet still be compatible with wires when available.

hardware-hub

What’s nice is that users can add multiple gateways to their account — something that will surely come in handy should barriers like concrete walls severely reduce the RF signal or for when trying to reach parts off in the distance. Beyond that, if the device happens to lose contact with Botani.st’s service, its built-in memory will store all of the data and automatically sync right back up when running again. Each hub consists of eight ports, which can handle up to 64 devices (via an extender) and a micro-USB port if battery proves not to be enough.

As eluded to above, the system comes with both wireless and wired sensors. Ideal for those outdoor and indoor settings where cords might be unwanted or inaccessible, Botani.st’s wireless sensors can be recharged using both battery and solar cells, and are entirely waterproof to withstand rain and watering. In addition, an LED indicator reveals the current status — green if everything is okay, orange if a minor problem and red if an urgent matter that requires attention.

As for the radio portion of the project, this required something with extremely low power consumption, ease of use, few external components, and as any startup will tell you, minimal cost. Lo’ and behold, it wasn’t before long that the team employed the Atmel | SMART SAM R21. Meanwhile, its tethered counterpart — which is based on ATtiny48/88 — packs most of the same functionalities, except without radio, battery and solar cell.

“We looked at many options from Texas Instruments, NXP, Nordic Semiconductor and more and had almost settled on a chip when Atmel presented the SAM R21 which combined a ARM Cortex-M0+ with their RF233 802.15.4 radio. The SAM R21 was an excellent match,” its creators note.” With the Xplained evaluation kits we could very easily get going. Now we run on our own boards with a PCB antenna that gives us about 50 meter range in free-line-of-sight. However, since the Atmel LWMesh stack that we use provides automatic meshing, we are confident that this range won’t be a problem even when there are obstructions in the way.”

software-smartphone

“Since we had plenty of prior experience with AVR MCUs, and the fact that it’s a hugely popular target for Makers, it’s was a no-brainer to build on that. Especially thanks to the big span of possible MCUs, from the very tiny 6-pin ATtiny to large 100-pin ATmega,”Jakobsson discusses their MCU selection for the wired sensors. “Having it being provided in both 28-DIP and 32-TQPF has eased during prototyping and the 28-QNF and 32-QFN packages will make it possible to save precious PCB space in production.”

At the moment, Botani.st continues to work hard on finalizing the hardware and software components to their smart gardening platform. And once completed, they will be releasing example schematics for both the sensors and actuators as well as a SDK for AVR that will enable DIYers — and other plant aficionados — to create their own platform.

“What most excites us about using Atmel apart, from their strong Maker popularity (of course), is the availability of affordable tools such as AVR programmers and excellent documentation. Having an open-source toolchain in the form of gcc both for AVR and ARM is also a huge plus.”

Getting ready to plant this spring? Head over to the the project’s official page here.