Tag Archives: Atmel SAM D21

Why connect to the cloud with the Atmel | SMART SAM W25?


The “thing” of IoT does not have to necessarily be tiny. 


The Atmel | SMART SAM W25 is, in fact, a module — a “SmartConnect Module.” As far as I am concerned, I like SmartConnect designation and I think it could be used to describe any IoT edge device. The device is “smart” as it includes a processing unit, which in this case is an ARM Cortex-M0-based SAMD21G, and “connect” reminds the Internet part of the IoT definition. Meanwhile, the ATWINC1500 SoC supports Wi-Fi 802.11 b/g/n allowing seamless connection to the cloud.

What should we expect from an IoT edge device? It should be characterized by both low cost and power! This IoT system is probably implemented multiple times, either in a factory (industrial) or in a house (home automation), and the cost should be as low as possible to enable large dissemination. I don’t know the SAMD21G ASP, but I notice that it’s based on the smallest MCU core of the ARM Cortex-M family, so the cost should be minimal (my guess). Atmel claims the W25 module to be “fully-integrated single-source MCU + IEEE 802.11 b/g/n Wi-Fi solution providing battery powered endpoints lasting years”… sounds like ultra low-power, doesn’t it?

Atmel claims the W25 module to be “Fully-integrated single-source MCU + IEEE 802.11 b/g/n Wi-Fi solution providing battery powered endpoints lasting years”…sounds like being ultra low-power, isn’t it

The “thing” of IoT does not necessarily have to be tiny. We can see in the above example that interconnected things within the industrial world can be as large as these wind turbines (courtesy of GE). To maximize efficiency in power generation and distribution, the company has connected these edge devices to the cloud where the software analytics allow wind farm operators to optimize the performance of the turbines, based on environmental conditions. According with GE, “Raising the turbines’ efficiency can increase the wind farm’s annual energy output by up to 5%, which translates in a 20% increase in profitability.” Wind turbines are good for the planet as they allow avoiding burning fossil energy. IoT devices implementation allows wind farm operators to increase their profitability and to build sustainable business. In the end, thanks to Industrial Internet of Thing (IIoT), we all benefit from less air pollution and more affordable power!

ATSAMW25 Block-DiagramThe ATWINC1500 is a low-power Systems-on-Chip (SoC) that brings Wi-Fi connectivity to any embedded design. In the example above, this SoC is part of a certified module, the ATSAMW25, for embedded designers seeking to integrate Wi-Fi into their system. If we look at the key features list:

  • IEEE 802.11 b/g/n (1×1) for up to 72 Mbps
  • Integrated PA and T/R switch
  • Superior sensitivity and range via advanced PHY signal processing
  • Wi-Fi Direct, station mode and Soft-AP support
  • Supports IEEE 802.11 WEP, WPA
  • On-chip memory management engine to reduce host load
  • 4MB internal Flash memory with OTA firmware upgrade
  • SPI, UART and I2C as host interfaces
  • TCP/IP protocol stack (client/server) sockets applications
  • Network protocols (DHCP/DNS), including secure TLS stack
  • WSC (wireless simple configuration WPS)
  • Can operate completely host-less in most applications

We can notice that host interfaces allow direct connection to device I/Os and sensors through SPI, UART, I2C and ADC interfaces and can also operate completely host-less. A costly device is then removed from the BOM which can enable economic feasibility for an IoT, or IIoT edge device.

The low-power Wi-Fi certified module is currently employed in industrial systems supporting applications, such as transportation, aviation, healthcare, energy or lighting, as well as in IoT areas like home appliances and consumer electronics. For all these use cases, certification is a must-have feature, but low-cost and ultra-low power are the economic and technical enablers.


This post has been republished with permission from SemiWiki.com, where Eric Esteve is a principle blogger and one of the four founding members of the site. This blog first appeared on SemiWiki on November 15, 2015.

Certified safety software libraries now available for Atmel | SMART MCUs


Atmel is collaborating with HiTex and Pervasive Displays to release software libraries including the IEC 60730 Class B safety standard and e-paper drivers.


Atmel has just unveiled additional ease-of-use capabilities for the ultra-low power Atmel | SMART ARM Cortex-M0+ based MCUs for household appliances, industrial and human interface device applications. In an effort to continue delivering rich features to its growing portfolio, Atmel is collaborating with HiTex and Pervasive Displays to release software libraries including the IEC 60730 Class B safety standard and e-paper drivers, respectively, to support Atmel | SMART MCUs.

img_5037

The Cortex-M0+ based family featuring a peripheral touch controller is currently designed into a wide variety of applications in tier 1 white goods manufacturer, and is ideal for a number of household appliances for touch-enabled button, wheel and slider capabilities. As a safety requirement for household appliances, the IEC 60730 safely standard—a requirement in Europe since 2007—was recently mandated in the US. Hitex has developed an IEC 60730 Class B library for Atmel | SMART MCUs. The library comes with excellent documentation, a formal certificate from VDE and can be downloaded from the Hitex website.

“Safety and time-to-market are two critical elements for appliance developers,” explains Andreas Eieland, Atmel Director of MCU Marketing. “The implementation of capacitive touch sensing for the user interface and MCUs in next-generation appliances, along with the availability of VDE certified Class B software libraries, allows manufacturers to get their products quickly to market with all the safely requirements.”

With power consumption being a primary driver for battery-powered retail and commercial markets, manufacturers are turning to e-paper for displaying pricing and information for their products. When paired with an ultra-low-power Atmel | SMART MCU and wireless transceiver, e-paper is the perfect interface for IoT apps running on coin cells or energy harvesting. To enable manufacturers to easily implement e-paper displays, Pervasive Displays has developed e-paper software drivers to support the Atmel | SMART SAM D and SAM L product families.

“Manufacturers of next generation battery-powered application are demanding lower power consumption and improved performance. E-paper addresses those needs with the lowest power display in the industry,” adds Charming Su, Pervasive Displays Technical Director. “With the combination of the Atmel | SMART MCUs and our free software drivers, e-paper manufacturers can be confident that their implementation is straight forward and power efficient. Our collaboration with Atmel enables manufacturers to deliver ultra-low power, next-generation e-paper displays.”

ZeroPi is an Arduino and Raspberry Pi-compatible dev kit


ZeroPi is an ARM Cortex-M0+-based development board for robotic motion structure systems, 3D printers, CNC machines and more.


ZeroPi is an Arduino and Raspberry Pi-compatible development kit for robotic motion structure systems and 3D printers. Based on the mighty Atmel | SMART SAM D21, the next-generation board is capable of controlling 11 micro servos and either eight DC motors or four stepper motors simultaneously.

8593e8974dbbe70ee4ee826a8ef292b4_original

Equipped with a four-channel SLOT interface, the module is compatible with today’s most common stepper motors and DC drivers, and supports open source sensors. ZeroPi will certainly be an appealing option for a wide range of applications, from 3D printing and CNC machines to mobile robots. In fact, the board boasts specially designed M4 holes that are well suited for Makeblock aluminum mechanical parts used in many DIY projects.

Additionally, Makers can take comfort in knowing that ZeroPi can be programmed with the highly popular Arduino IDE, giving you access to a number of easy-to-use libraries. According to its creators, a series of example codes for ZeroPi will be made available, such as an encoder readout and temperature monitoring.

f7b3b4880a017057f7911db94b96b5d9_original

And that’s not all. By simply plugging the SAM D21 powered board into the Raspberry Pi’s connector, you can also unlock countless features, spanning from tablet and wireless control to Bluetooth connectivity. With RPi, you can install a web browser to command the motors and servos directly, as well as remotely monitor your 3D print job. It can even interface with Java Script.

On top of all that, the team was able to successfully port the Marlin and Repetier firmware to ZeroPi for use in a vast majority of open source 3D printers. Not only does this eliminate the need for an expansion board, the kit is four times faster than the Arduino Mega, cheaper and half its size.

502d25a9831d72bc98627b4534ad07a9_original

“ZeroPi is also specially designed for motion structure systems. We have built many projects to test its functions and discover more possibilities from simple to complex systems of robotic,” the team adds. “We built a Johnny-Five robot, based on [the] Johnny-Five library by using ZeroPi to control this large motion structure and achieve the image recognition function and wireless control.”

Aside from the SAMD21J18 at its core, other key specs of the ZeroPi include:

  • Operating voltage: 3.3V
  • General purpose I/O pins: 35
  • UART: 2
  • Analog input pins: 4, 12-bit ADC channels
  • Analog output pins: 1, 10-bit DAC
  • DC current per I/O pin: 7mA
  • Flash: 256KB
  • SRAM: 32KB
  • Clock speed: 48MHz

Intrigued? Head over to ZeroPi’s Kickstarter campaign, where it is currently seeking $5,000. Delivery is estimated for December 2015.

Connect your Philips Hue lights to real world data with Zymbit


Change the color of your office’s Philips Hue lights based on subscribed data streams.


In today’s constantly connected world, it seems like we’re notified of just about everything from emails and missed calls to social media updates and appointments. As a result, a growing number of innovators are seeking less obtrusive ways to provide you with your daily notifications. This will enable you to keep tabs on important information without constant interupttings and having to look up at a computer screen or down at a phone.

Zymbit_Hue-GIF1

And so, Zymbit co-founder Roberto Aguilar has devised a slick system which connects his office’s Philips Hue lights to real world data through the use of Zymbit’s pub/sub framework. Rather than having to be alerted through irritating sounds or unnecessary vibrations, the Maker has created a much more natural, less distracting way of consuming content. Take for instance, the weather or mass transportation. A blue illuminated wall can indicate that it is freezing outside, while red illuminations can denote that the subway is quickly approaching. In his case, Aguilar has employed an Arduino Yún-powered LED device on his desk that he calls Zymbob. Essentially, the Arduino subscribes to the color data stream and controls the lights.

In order to bring this idea to life, the Maker began by coding a simple app for his friends to tweet a color to his LEDs. Whenever a color is mentioned in a tweet, it is published though Zymbit’s pub/sub. According to Aguilar, at first the app knew less than a dozen or so colors, and has since been extended to over 500. Meanwhile, another app running on a Raspberry Pi Model B+ subscribes to the color messages and adjusts the bulb’s Hue accordingly. Luckily, the app is small enough and can run on the Yún (ATmega32U4) to modify Zymbob’s lights.

Zmy

As for its software, the project called upon the Tweepy Python package to connect to the Twitter API, the phue Python library to sync with the Philips Hue bridge, the Zymbit Python package to pair with the Zymbit itself, as well as the Zymbit pub/sub engine. Beyond that, Arduino sketches were completed within its IDE.

“All in all, the project was quite successful! The biggest problem is the way I listen to tweets; there can be pretty long delays between sending a tweet and having the lights change colors. There’s probably a better way to ‘listen’ for tweets than constantly polling,” Aguilar writes.

Zm

Moving ahead, the Maker hopes to subscribe to more data streams, thereby allowing him to command the Hue lights directly from his Raspberry Pi rather than having to piggyback the Hue bridge.

Seems cool, right? In case you’re unfamiliar with Zymbit, the end-to-end IoT platform enables Makers, engineers and developers to transform their smart ideas into real-world, connected products in blistering speed. On the hardware side, the solution gives users the ability to transition their Arduino or Raspberry Pi proof-of-concept to a professional-grade item using its modular Atmel | SMART-basedATECC108-protected devices. What’s more, the team has designed remote management software that will let users easily connect and control their gadget from anywhere, both securely and transparently — as seen in the Hue Data Channel project.

Intrigued? Head over to Zymbit’s official page to learn more.