MicroSolutions March April 2018
MicroSolutions March April 2018
7 No Reliability
Compromises
13
Finishing
Touch
19 Connecting with
a Simple Tap
MAR/APR 2018
A MICROCHIP TECHNOLOGY INC. PUBLICATION
17 An Ingenious ClickBOT in
NEW PRODUCT Just Minutes
7 No Reliability Compromises 19 Connecting with a Simple Tap
ATmegaS64M1 Microcontroller Decreases Time to Market
and Cost for the NewSpace Market 22 Made to Measure
FEATURED PRODUCT
MAKER SPACE
9 Standing Out in the Crowd
An Operational Amplifier for Single-Supply, Low-Noise, 25 Meet the Makers of 2017
Battery-Powered Applications
NEW TOOL
10 In a Heartbeat
New Medical Reference Design Eases Development of
Portable or Wearable Electrocardiogram Devices
NEW SOFTWARE
12 Serving Up Power Savings
PAC1934 Linux® Driver Provides Support for
Web Servers, Navigation, Networking and
Infotainment Applications
The Microchip name and logo, the Microchip logo, AnyRate, AVR, AVR logo, AVR Freaks, BeaconThings, BitCloud, CryptoMemory, CryptoRF, dsPIC, FlashFlex, flexPWR, Heldo, JukeBlox, KEELOQ, KEELOQ logo, Kleer,
LANCheck, LINK MD, maXStylus, maXTouch, MediaLB, megaAVR, MOST, MOST logo, MPLAB, OptoLyzer, PIC, picoPower, PICSTART, PIC32 logo, Prochip Designer, QTouch, RightTouch, SAM-BA, SpyNIC, SST, SST Logo,
SuperFlash, tinyAVR, UNI/O, and XMEGA are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. ClockWorks, The Embedded Control Solutions Company, EtherSynch, Hyper
Speed Control, HyperLight Load, IntelliMOS, mTouch, Precision Edge, and Quiet-Wire are registered trademarks of Microchip Technology Incorporated in the U.S.A.
Adjacent Key Suppression, AKS, Analog-for-the-Digital Age, Any Capacitor, AnyIn, AnyOut, BodyCom, chipKIT, chipKIT logo, CodeGuard, CryptoAuthentication, CryptoCompanion, CryptoController, dsPICDEM, dsPICDEM.
net, Dynamic Average Matching, DAM, ECAN, EtherGREEN, In-Circuit Serial Programming, ICSP, Inter-Chip Connectivity, JitterBlocker, KleerNet, KleerNet logo, Mindi, MiWi, motorBench, MPASM, MPF, MPLAB Certified logo,
MPLIB, MPLINK, MultiTRAK, NetDetach, Omniscient Code Generation, PICDEM, PICDEM.net, PICkit, PICtail, PureSilicon, QMatrix, RightTouch logo, REAL ICE, Ripple Blocker, SAM-ICE, Serial Quad I/O, SMART-I.S., SQI,
SuperSwitcher, SuperSwitcher II, Total Endurance, TSHARC, USBCheck, VariSense, ViewSpan, WiperLock, Wireless DNA, and ZENA are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.
SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. Silicon Storage Technology is a registered trademark of Microchip Technology Inc. in other countries. GestIC and ULPP are registered trademarks of
Microchip Technology Germany II GmbH & Co. & KG, a subsidiary of Microchip Technology Inc., in other countries. The LoRa name and associated logo are registered trademarks of Semtech Corporation or its subsidiaries.
USB Type-C™ is a trademark of USB Implementers Forum. Arm and Cortex are registered trademarks of Arm Ltd. in the EU and other countries. All other trademarks mentioned herein are property of their respective
companies. © 2018, Microchip Technology Incorporated, All Rights Reserved.
2
EDITOR’S NOTE
MAR/APR 2018
Strength
E
A MICROCHIP T ECHNOLOGY INC. P UBLICATION
very issue of MicroSolutions gives you a window into the latest products and
technologies at Microchip and, we hope, provides you with some inspiration
and the information you need to develop some amazing applications. But did
you know that, behind the scenes, there is a continually growing and evolving global
team that is committed to supporting thousands of diverse customer applications using
our solutions?
We believe that our customers benefit greatly from Microchip’s unique company
culture, which is defined by our Guiding Values. One of these values is that “Customers
are Our Focus.” Other values emphasize quality, continuous improvement, cycle time
7 13 19
optimization, professional ethics and communication. As a result, employees around No Reliability Finishing Connecting with
Compromises Touch a Simple Tap
the world are focused on serving our customers while working in unison to achieve
the company’s goals of quality, profits and technological advancements. That is why
“Employees Are Our Greatest Strength” is another one of our Guiding Values. Don’t Miss the Next Issue of
MicroSolutions
Microchip’s emphasis on employee development and empowerment, as well as its Published six times a year,
pledge to foster a positive employee environment, has lead the company to be recog- MicroSolutions is a valuable resource
nized year after year as a top place to work in a number of locations where we have for product and technology news
offices. Microchip also provides internship opportunities for students who are enrolled about Microchip’s innovative
in accredited academic programs and actively recruits new college graduates who have solutions. Subscribe today to receive
the skills and enthusiasm to embark on their careers with us. email notifications when each new
issue of MicroSolutions is ready. Use
This means that you will find a dedicated team behind the Microchip brand that is the link below:
working to fulfill our vision to be the very best embedded control solutions company
ever. Our unified goal is to provide you with timely, innovative, reliable and cost-effective
CLICK TO SUBSCRIBE
products and the support that you need to bring your innovative designs to life.
3
COVER STORY
SOLVING YOUR
MEMORY CHALLENGES
How Can You Select the Right Type of
Memory and Vendor for Your Design?
A
t the heart of many of the electronic
products and systems that we use every
day is some sort of memory product. Virtu-
ally every consumer, communication, computing,
automotive and medical device requires some
type of memory to store software code and para-
metric or other data. Picking the best memory
option for your design can be a mind-boggling and
time-consuming process. And, there are plenty of
manufacturers of memory devices out there vying
for your business by promising you low prices. But
many a design engineer has learned the hard way
that saving a few cents per device isn’t worth the
risk of designing in an unreliable memory device
that may fail sometime during a product’s life-
time. Or, they design in a product only to have it
appear later in an End-of-Life notification from
their vendor.
(continued on page 5)
4
So, how do you get started with solving your memory challenges?
First of all, maybe you need some guidance on selecting the COVER STORY
right type of memory for your design. Here is a quick overview
of the types of memory products that Microchip offers in our
extensive portfolio. You can use the links that are embedded in Serial EERAM
each description to click through to our website, where you will EERAM is a nonvolatile SRAM with a shadow EEPROM
find more details about specific devices and helpful resources backup, all in a single, low-cost, low-power chip. The EERAM
to assist you in zeroing in on a memory device that will best uses a small external capacitor to provide the necessary energy
meet your requirements. to automatically store the contents of the SRAM onto the
EEPROM when system power is lost. Unlike NVSRAM, EERAM
Serial EEPROM does not require an external battery. Combining the reliability of
Serial EEPROMs are low-power, nonvolatile memory devices an EEPROM with the performance of an SRAM, EERAM also
with wide operating ranges, small sizes and byte alterability, offers unlimited read and write cycles to the memory. It is well
making them ideal for data and program storage. There are ver- suited for applications that need to constantly update data and
sions for use with the I2C, UNI/O®, Microwire, SPI and Single-Wire that need to reliably preserve data on power down or during an
buses. The Serial EEPROM family includes some specialty inadvertent loss of power.
products or features: EUI-48™/EUI-64™ MAC address chips,
software write protection, Serial SRAM and Serial NVSRAM
I2C and SPI EEPROMs with If you need an easy and inexpensive way to add more RAM to
options ranging from −55°C your application, then our 8-pin, SPI-compatible Serial SRAM
to 150°C, and EEPROMs and Serial NVSRAM devices are good options. Our Serial
that are pre-programmed SRAM products are standalone volatile memory devices that
with serial numbers and use less power and fewer I/O connections than parallel SRAM.
unique IDs. They allow you to use a smaller microcontroller (MCU) in your
design rather than moving to a larger MCU just to get more
Our serial EEPROMs can be written more than one million on-board RAM. Our serial NVSRAMs have unlimited endurance
times and retain data for over 200 years. They are available and zero nonvolatile write times via an external battery. These
in a wide variety of tiny, innovative packages to help save devices support unlimited instantaneous writes to the memory
board space, minimize size and reduce costs in designs array and are ideal for applications like meters, data loggers,
like sensors, hearing aids, medical disposables and other data recorders and black boxes that need to write very often
space-constrained applications. to memory.
Parallel EEPROM
Parallel EEPROMs enable stored data to be updated
byte-by-byte or by full sector for design flexibility and offer
Watch this video describing Microchip’s Triple Test process.
faster read times than serial interface protocols. Our portfolio
(continued on page 6)
5
of parallel EEPROMs includes a selection of densities (from
64 Kbits to 1 Mbit), operating voltages and package types. Our COVER STORY
Battery-Voltage (2.7V), low-voltage (3V) and 5V devices are used
extensively across a broad spectrum of products, including
telecommunications, avionics and military applications. We also offer some web seminars about memory topics that
you may find educational, or to get high-level, industry-insider
One-Time Programmable EPROMs information on some memory technology topics, you can watch
One-Time Programmable (OTP) EPROMs are widely used for our “What Is…?” series of videos on YouTube.
embedded code storage in applications like cordless phones,
video game players, printers, graphics cards, instrumentation,
automotive, medical devices, telecommunications, networking,
industrial control equipment and hard disk drives. We have one
of the broadest portfolios of parallel OTP EPROMs, with 5V,
3V and Battery-Voltage (2.7V) options, densities ranging from
256 Kbits to 8 Mbits, speeds as fast as 45 ns and a variety of
packages including PDIP and PLCC.
CryptoMemory® ICs
If security is your concern, our CryptoMemory family of ICs
offers cost-efficient, high-security EEPROMs and host-side
security for applications requiring comprehensive data pro-
tection, including mutual authentication between devices and
Partnering with Microchip
host. CryptoMemory ICs include a 64-bit embedded hardware We know that you have many options when it comes to selecting
encryption engine, four sets of non-readable 64-bit authen- a vendor for memory devices. Our goal is to partner with you to
tication keys and four sets of non-readable 64-bit session reduce your design risk, save you money and help you bring
encryption keys. This provides you with a truly secure means of your product quickly and successfully to market. We are here
preventing product counterfeiting and piracy. Devices are avail- to help throughout the lifecycle of your product by offering you
able in a range of memory densities and are easy to implement reliable products, reliable support and a reliable supply. You can
in a variety of applications. leverage our many years of experience and leadership in pro-
viding memory products and our commitment to exceptional
quality to be confident that you will get the right solution for your
Design Resources latest design. And, when other suppliers are issuing End-of-Life
When you visit our Memory Design Center, you will find notices for their memory products, Microchip’s client-driven
comprehensive information about all of our memory products, obsolescence policy ensures that, until you decide you no
including links to specific devices and their datasheets. In many longer need a product, we will continue to supply it.
cases, the application notes and technical briefs that we offer
If you are overwhelmed with all the options for memory solutions,
will point you directly to the part you should use.
contact your local Microchip Sales Office and discuss your
Our MemoryLink Product Selection Tool is an excellent requirements with one of the members of our knowledgeable
discovery tool that provides a comprehensive overview of all sales staff or Field Applications Engineers (FAEs). They will be
of our memory products and supporting development boards. happy to help guide you through the process of selecting a
This interactive PDF can be downloaded and then opened in a product that will turn your toughest memory challenge into a
PDF viewer so that you can use the embedded links to quickly successful design.
navigate to product-specific information.
You can also learn about some helpful development tools, Want More Information?
like our free Total Endurance™ Software Model for use with
Visit the website at:
our serial EEPROMs. As the only tool of its kind, this software
provide a user-friendly interface that enables you to enter your
www.microchip.com/memory
application’s operating conditions into an advanced mathemat-
ical model, which will then predict the endurance and reliability
of your selected serial EEPROM within that environment.
6
No Reliability
New Products
Compromises
ATmegaS64M1 Microcontroller Decreases Time
to Market and Cost for the NewSpace Market
T
o survive multi-year missions in a harsh environment, • Fully immune from Single-Event Latchup (SEL) up to
space applications require the highest level of reli- 62 MeV.cm²/mg
ability. Historically, this meant that developers of • No Single-Event Functional Interrupts (SEFI) that secure
radiation-hardened systems faced long lead times and high memory integrity
costs. Today’s NewSpace and other critical aerospace appli- • Accumulated Total Ionizing Dose (TID) between
cations require solutions that enable faster development and 20 to 50 Krad(Si)
reduced costs. To meet these needs, Microchip now offers a • Single Event Upset (SEU) characterization for all
new microcontroller (MCU) that combines specified radia- functional blocks
tion performance with low-cost development associated with
Commercial Off-The-Shelf (COTS) devices. This new device joins the ATmegaS128, a radiation-tolerant
MCU that has already been designed into several critical space
The ATmegaS64M1 is the second 8-bit megaAVR® MCU missions including a Mars exploration plus a megaconstellation
from Microchip that uses a development approach called of several hundred Low Earth Orbit (LEO) satellites.
COTS-to-radiation-tolerant. This approach takes a proven
The COTS-to-radiation-
automotive-qualified device—the ATmega64M1 in this case—
and creates pinout-compatible versions in both high-reliability
in a no-compromise,
targeted performances:
space-grade component.
The ATmega64M1 COTS device, along with its full development
toolchain that includes development kits and a code configu-
rator, can be used to begin development of hardware, firmware
and software. When the final system is ready for the prototype
phase or production, the COTS device can be replaced with
a pinout compatible, radiation-tolerant version in a 32-lead
ceramic package (QFP32) with the same functionality as the
The ATmegaS64M1 enables faster development and reduced
costs for the NewSpace market. (continued on page 8)
7
original device. This leads to significant cost savings while also
reducing development time and risk. New Products
This COTS-to-radiation-tolerant approach results in a
no-compromise, space-grade component and not merely The ATmegaS64M1 family of devices is available in four
an up-screened or enhanced device that is targeted to the derivatives:
aerospace industry. The ATmegaS64M1 meets the high oper-
ating temperature range of −55° C to +125° C. It is the first • ATmegaS64M1-KH-E in ceramic prototype QFP32 package
COTS-to-radiation-tolerant MCU to combine a Controller Area • ATmegaS64M1-KH-MQ, ceramic space-grade QFP32
Network (CAN) bus, Digital-to-Analog Converter (DAC) and package, QMLQ qualified
motor control capabilities. These features make it ideal for a • ATmegaS64M1-KH-SV, ceramic space-grade QFP32
variety of subsystems like remote terminal controllers and data package, QMLV qualified
handling functions for satellites, constellations, launchers or • ATmegaS64M1-MD-HP in plastic QFP32 package, AQEC
critical avionic applications. high-reliability qualified for volume programs
We’re Committed to
High Reliability and
Long-Term Supply
Microchip Aerospace and Defense
8
Standing Out
FEATURED PRODUCT
in the Crowd
An Operational Amplifier for Single-Supply,
Low-Noise, Battery-Powered Applications
S
ystem designers have many choices when it comes to These features make the MCP6286 well suited for single-supply,
selecting operational amplifiers (op amps). Manufacturers low-noise, battery-powered applications, such as noise-
offer a huge variety of op amps specializing in high speed, canceling headphones or a microphone pre-amp on portable
low power, high precision, low input leakage, low noise or high devices. In either application, noise is a critical specification. An
output drive, just to name a few possible options. However, easy way to get a lower-noise design is for the amplifier to simply
most applications that are being designed today require some consume more current in the input stage. But wait. Portable
combination of these features, and that’s how the MCP6286 audio devices or noise-canceling headphones are battery
stands out in the crowd. powered, which means that the system designer for these types
of products has a really tight power budget. This makes a
The MCP6286 single op amp offers low noise (5.4 nV/√Hz) and
low-power amplifier a must, which is where the MCP6286 comes
low power (540 µA typical) with a gain bandwidth product of
into play.
3.5 MHz, all in a 5-pin SOT-23 package. Are there lower-noise
amplifiers on the market? Yep. Are there lower-power amplifiers When you select the
on the market? You bet. But for applications that require a low- MCP6286 for your
noise amplifier and need to be power conscious, the MCP6286 design, we offer a blank
offers a best-in-class solution. PCB that makes evaluat-
ing the MCP6286 a snap.
The Voltage Supervisor
SOT23-5/6 Evaluation
Board (VSUPEV2) offers
test point connections
for each pin, along with pads for supporting passive compo-
nents such as power supply filtering, output filtering and bypass
capacitors. This solution will speed up your development time
so that you can get your product to market more quickly.
9
In a Heartbeat
NEW TOOL
E
lectrocardiography (ECG) provides doctors and other The ECG data is detected and processed by a NeuroSky®
healthcare providers with helpful insight into how well a CardioChip™ ECG Biosensor. The demo measures heart rate
human heart is performing. The ability to measure cardiac and computes heart rate variability, heart age and stress using
health and performance is becoming an essential requirement the ECG data. Patient movement is also tracked via an on-board
for many medical device designs as well as a key feature in a accelerometer. The demo can be used with standard ECG leads
variety of fitness applications. With the rapid expansion of the as well as with the sensor pads that are supplied. The Connect-
Internet of Things (IoT), the medical community is also looking ed Wearable ECG Demo can also be used as a development
for remote patient monitoring solutions, including wearable platform for devices that offer more advanced ECG measure-
ECG devices, to help reduce healthcare delivery costs while ments. NeuroSky can assist with developing advanced
making healthcare more accessible to patients who might not ECG algorithms.
be able to travel to their doctor’s office, a clinic or a hospital.
10
Due to its high level of integration, this reference design offers a
low overall BOM cost. To help you get started with your wearable NEW TOOL
ECG design, we offer a user guide, schematics and ‘C’ source
code that can be downloaded for free from the Connected
*Microchip medical reference designs and demos are intended for evaluation
Wearable ECG Demo page on our website. If you would like
and development purposes only. Use of Microchip devices in life support
to see a working demonstration of this reference design or have and/or safety applications is entirely at the buyer’s risk, and the buyer
any questions about it, please contact your local Microchip agrees to defend, indemnify and hold harmless Microchip from any and all
Sales Representative. damages, claims, suits, or expenses resulting from such use.
11
Serving Up
NEW SOFTWARE
Power Savings
PAC1934 Linux® Driver Provides Support for
Web Servers, Navigation, Networking and
Infotainment Applications
W
hen people hear “server,” they tend to think of hardware Many of our data traffic customers are looking for a solution
from companies like HP, Dell and Microsoft, but they to actively measure DC power to reduce power consumption
do not always associate it with the Linux® operating in their systems. Using a PAC1934 to actively measure power
system (OS). But did you know that UNIX® and UNIX-like oper- enables a low power load to be treated differently from a high
ating systems power 67% of all web servers, and at least half of one, resulting in overall power savings in networking traffic.
these devices run on Linux?
But helping to efficiently manage information traffic is not all
Starting as early as 2002, companies started to look to Linux for that the PAC1934 can do. It also has an important role in auto-
system solutions. Some of the appeal was motivated by the motive navigation and infotainment applications. Hidden in
open-source nature of these solutions. These continually most modern car dashboards is a Linux operating system that
emerging server applications are running from multiple voltages consists of an ASIC, SoC or microprocessor-based system.
and need power management. So, what makes our PAC1934 Many of these systems, in fact, already interact with touch-
four-channel DC power/energy monitor IC uniquely suited for screens that use our maXTouch® touchscreen controllers.
these systems? Doing a cursory search, you’ll discover that Since these systems need power measurement, either for USB
there are very few multi-rail monitors for power ICs. The Type-C™ connector charging or for system management, the
PAC1934, with its wide dynamic measurement range, is a PAC1934 and its Linux driver are a perfect fit. This is especially
perfect fit for a multi-voltage rail system. As a result, the true for hybrid and electric vehicles, where power monitoring
PAC1934 Linux driver may be serving up your Internet soon. is essential.
To transition from Internet traffic to data traffic, there are So, whether you are working on a Linux-based server
server applications that support networking and telecommu- application, an automotive navigation or infotainment solution
nication systems. Communications systems developers, like or some other system that needs accurate DC power monitoring,
other embedded designers, desire both check out the PAC1934 and its new Linux driver.
network throughput and deterministic
response to activities. Embedded
Linux provides both these benefits.
Want More Information?
Therefore, whether the goal is Visit the website at:
to manage web traffic or data www.microchip.com/PAC1934
traffic, the PAC1934 power
monitor with a Linux driver
is a natural fit for network-
ing and telecom systems.
12
DESIGN CORNER
Finishing Touch
Development Tools for Microchip Touch Solutions Ease Design and Speed Your
Time to Market
I
n the “Accelerate Your Touch Design” article that appeared These development kits are available for our families of turnkey
in the January/February 2018 edition of MicroSolutions, touch solutions:
we discussed how Microchip’s code configurators for PIC®,
AVR® and SAM microcontrollers (MCUs) speed up the design of
touch applications. To keep you on the fast track to launching a
successful—and profitable—touch design, Microchip offers an
MTCH10x Evaluation CAP1188 Evaluation
extensive selection of touch development kits, design guides, Board (DM160229) Kit (DM160222)
example projects and more. We are continuously adding new
touch development kits to provide you with easy access to our
latest touch technology.
The touch capabilities of AVR and SAM devices with a PTC are
best explored using the Xplained Mini and Xplained Pro series
of evaluation boards. Capacitive touch buttons are incorporat-
ed into the boards, and the extension header of the Xplained
TouchKey 2 click TouchPad click Cap Touch click
Pro boards provides connectivity to a number of dedicated
(MIKROE-2474) (MIKROE-1995) (MIKROE-2888)
Xplained Pro touch extension boards. Here are several exam-
ples, but you will find a complete list in the “Tools” area on the
Design Documentation
1D Touch web page:
To quickly get you up to speed with your touch design, we
provide an extensive selection of documentation, step-by-step
design guides, application notes, reference designs and more.
You’ll find a number of helpful resources on our Developer Help
website and in the Documentation sections that you find in our
ATtiny817 Xplained ATtiny817 Xplained Touch Design Center.
Mini Evaluation Kit Pro Evaluation Kit
(ATTINY817-XMINI) (ATTINY817-XPRO) We hope you enjoy your experience working with our touch
solutions. And, if you run across a design challenge, you can
get assistance from our touch experts via our online Technical
Support platform. We can help you get your innovative touch
interface out of the design phase and into the hands of your
QT7 Xplained Pro Extension
Kit (ATQT7-XPRO) customers quickly.
One Size
Doesn’t Fit All
C
loud-connected systems are becoming increasingly For systems requiring data collection and analysis at a local level,
important across a wide range of industries. From agricul- you can use one of our SAMA5D2 series of microprocessors
ture to smart cities and consumer to industrial, real-time (MPUs) with integrated AWS Greengrass software. This solution
accessibility to systems and data is a game-changing element will enable systems to securely run local compute, messaging,
for these industries, accelerating both the pace and efficiency data caching and sync capabilities for connected devices. It
of business. provides improved event response, conserves bandwidth and
enables more cost-effective cloud computing. The SAMA5D2
To enable the creation of smart and connected designs that
devices, also available in System-in-Package (SiP) variants,
require enhanced security, Microchip has expanded its collab-
offer full Amazon Greengrass compatibility in a low-power,
oration with Amazon Web Services (AWS) to support cloud-
small-form-factor MPU targeted at industrial and long-life
connected embedded systems from the node to the cloud. With
gateway and concentrator applications. The integrated security
solutions that now are compatible with Amazon FreeRTOS,
features and extended temperature range allow these MPUs to
AWS Greengrass and AWS Internet of Things (IoT), we
be deployed in physically insecure and harsh environments.
provide all the components, tools, software and support you
need to rapidly develop secure cloud-connected systems. Security and ease of use are vital to any cloud-connected
design. Our ATECC608A CryptoAuthentication™ device
Amazon FreeRTOS is an Operating System (OS) that makes
enables enhanced system security as well as easy-to-use reg-
compact, low-powered edge devices easy to program, deploy,
istration. This secure element provides a unique, trusted and
secure and maintain. Our PIC32MZ EF series of microcon-
protected identity to each device that can be securely authenti-
trollers (MCUs) now includes support for Amazon FreeRTOS.
cated to protect a brand’s intellectual property and revenue. In
These high-performance MCUs incorporate industry-leading
addition to enhancing system security, the ATECC608A allows
connectivity options, ample Flash memory, rich peripherals
AWS customers to instantly connect to the cloud through the
and a robust toolchain that empower embedded designers to
device’s Just-in-Time-Registration (JITR) powered by AWS IoT.
rapidly build complex applications. Amazon FreeRTOS includes
software libraries that make it easy to securely deploy over-the- A breakout session held at AWS re:Invent 2017 entitled “IoT
air updates. They also enable you to connect devices locally to Security from Manufacturing to Maintenance” discussed how to
AWS Greengrass or directly to the cloud, providing a variety of mitigate threats and implement end-to-end security right from
data processing location options. the start of a design. A portion of this session discussed the
15
capabilities of the ATECC608A secure element. Click on the
image below to watch the presentation on YouTube. DESIGN CORNER
16
DESIGN CORNER
An Ingenious
ClickBOT in
Just Minutes
S
ir Arthur C. Clarke once said, “Any sufficiently advanced number of click boards, so it is easy to add functionality, like
technology is indistinguishable from magic.” Attendees at Bluetooth communications, to a project.
the 2017 India MASTERs that was held in Bangalore in
The control system for the ClickBOT is based on an XMEGA
early December were able to see a demonstration of some
A1U Xplained Pro Evaluation Kit with an ATxmega128A1U
Microchip “magic.” This was in the form of a custom,
MCU. It also incorporates a BLE2 click and a Thumbstick click,
remote-controlled robot, known as ClickBOT. While remote-
featuring our MCP3204 12-bit A/D converter. These two click
control toys have been around for a number of years. ClickBOT
boards are connected to the Xplained Pro board using two
was designed to demonstrate how easy it is to develop a
mikroBUS Xplained Pro extension boards. The web-based
modern application in a matter of just minutes using PIC and
Atmel START is used to configure this system’s driver and mid-
AVR microcontrollers (MCUs), a selection of MikroElektronika
dleware. Just like MCC, Atmel START now offers quick-start
click boards™ and our free code configuration tools.
libraries for click boards to help implement the application layer.
ClickBOT’s design incorporates two different components. The
motion-based portion of the application is implemented using
an MPLAB® Xpress Evaluation Board with a PIC16F18855
MCU onboard. A BLE2 click, featuring our RN4020 Bluetooth®
4.1 module, plugs into the Curiosity board’s mikroBUS™ socket
to act as a receiver. This portion of the ClickBOT’s design is pro-
grammed using MPLAB Code
Configurator (MCC). MCC’s
intuitive graphical user inter-
face makes it easy to generate
application code that is used
to configure the clock, pins,
interrupts and peripherals.
MCC also includes quick-start
software libraries for a growing
17
As the attendees at
India MASTERs dis- DESIGN CORNER
covered, MCC and
Atmel START make it
easy to get the basic remote-controlled robot or other design. If you are feeling
functions of the inspired to create your own amazing applications using our
ClickBOT—including MCU development boards along with the wide range of
the click boards—up MikroElektronika click boards, our code configurators will help
and running in less bring your ideas to life. In addition to the quick-start libraries,
than five minutes. The ClickBOT can also be easily turned into the user guides include information on the key features of the
a more advanced robot using other click boards to add sensors supported click boards and even include links to make it easy
and other functionality to the basic design. The possibilities are to purchase the boards online. Visit the Click into MCC and
only limited by your imagination. the Click START pages on our website, where you will find the
steps that you need to follow to quickly get started developing
While ClickBOT is not available to purchase, there’s no reason your project.
why you can’t use its basic concepts to develop your own
18
Connecting with a Simple Tap DESIGN CORNER
T
he human engineering spirit is on a quest to digitize and neck and can be tapped together to connect and exchange
automate as many operations as possible, from convert- delegates’ contact information in split second. It took us five
ing the audio on magnetic tape to high-quality digital years to perfect the patented oneTap technology that delivers
audio capable of being streamed over the Internet, to using instant communications. In 2016, we implemented Phase 2 by
mobile technology and data services to develop creative new creating a paperless oneTap badge based on a 32-bit Arm®
businesses like Uber. We can expect to see even more of this Cortex®-M0+ based SAM D09 microcontroller (MCU) that also
creative drive in years to come as artificial intelligence and features a glass-free e-ink display provided by Plastic Logic and
robotics become mainstream. Everything will need some sort of two 2.4 GHz radio chips. Looking to the future, Phase 3 will
hardware, embedded software, wired/wireless communications, focus on miniaturization and creating a cost-effective wearable
apps and servers. for consumers.
At the event, the trays are set up and numbered, and hubs are
strategically distributed around the venue. An iPad® running a
Blendology app and a registration wand are used to help check
Blendology’s patented oneTap implementation. It uses the Critical state memory Flash 8 KB in-system self-programmable
2.4 GHz radio and embedded software protocol to enable Flash; 4 KB SRAM
the oneTap connection. It also controls the LEDs and Communications with rest of Serial Communication Interfaces
system for software upgrade (SERCOM)
signals the activation of motor/haptic feedback.
and messages
Bluetooth® LE
Software flexibility Arm® Cortex®-M0+ based CPU
running at up to 48 MHz
Cost effective 30% of discrete component cost
Plastic Logic Display We believe we have the most efficient Bluetooth LE master hub.
It also uses a Microchip processor. That may be the subject
of a future article. In the meantime, our goal is to continue to
improve and refine our state-of-the-art event badging system
to encourage more opportunities for professional and personal
networking. Visit www.blendology.com to learn more about
oneTap 2.4 GHz Radio Plastic Logic Driver our services and solutions.
21
DESIGN CORNER
Made to Measure
I
n the world of nanoscience, understanding the processes at a solution. In this case, the coupling of the crystal dynamics
the root of macroscopic effects is the main challenge. Many with the surrounding liquid can cause a measurable shift
advances in this field have been made possible because associated with the physical properties—primarily the vis-
of scientific instrumentation. Devices that are able to provide cosity—of the solution. Because it is capable of measuring
valuable insight into the nanoworld are divided into two primary small changes in mass or viscosity, a QCM is a very useful
classes: high-resolution microscopes to observe molecules and versatile instrument. When used to detect variations in
and their interactions, and sensing devices to quantitatively viscosity, the quartz crystal is included in a flow-through
detect the presence of compounds or reaction products. The measuring chamber.
Quartz Crystal Microbalance (QCM) belongs to the latter group.
It is capable of detecting very small changes in mass occur-
ring on the surface of a quartz crystal during chemical and
biophysical experiments.
24
MAKER SPACE
L
ast year, crowdfunding sites were once again great places and more. It’s even possible to attach sensors to the AlgoBot
to find the next wave of innovative, entrepreneurial and Brain and have the robot respond with different code when
aspirational inventors as they shared their ideas with the certain sensors are triggered. This makes the programming
world and watched support flow in from eager backers and challenge slightly more complex and the learning experience
like-minded Makers. The projects that we came across during more interactive.
2017 ranged from ideas that pushed existing designs to the
The pledge kits included at least one Algobot robot kit, so
limits, to those that offered new and creative learning tools,
backers can build a variety of cute little inventions displayed on
while some projects were made for pure, simple enjoyment.
the Algobrix website. Since the Algobrix building blocks are also
Due to the popularity of the open-source Arduino® platform
compatible with LEGO® bricks, children can build their own
among the Maker and inventor communities, many of these
designs and robots and program them with the same intuitive
designs featured microcontrollers (MCUs) from our ATmega
blocks. Parents don’t even need to know how to code to help
product line, although we also saw projects using some of our
their kids use Algobrix. The kits come with activity cards and
PIC® MCUs and other products. Since several of these cam-
boards to guide parents and children through the process, and
paigns exceeded their funding goals in such a spectacular way,
online tutorials are also available to make it easy to start building
we thought you would enjoy hearing about them.
and coding projects.
Algobrix – Helping Kids to Learn to Code
with Building Blocks
Getting children involved with programming or robotics can be
a difficult endeavor. They often see it as boring or confining,
as Algobrix CEO, Danny Eizicovits, points out. But Algobrix
takes conventional building bricks and turns them into pro-
grammable robots called Algobots, all while teaching children
the basics of coding and robotics. They do this through the use
of an Arduino-compatible Algobot Brain that helps control the
Algobot. Children can also use function and parameter blocks
to physically build their code and program the robot. The func-
tions range from sound, to controlling LEDs, to movement
(continued on page 26)
25
This project incorporates multiple Microchip products—chosen as
the best alternative by the Algobrix engineering team (Ofer Zvik, MAKER SPACE
Ido Volansky and Tal Ofer)—including an 8-bit PIC16 MCU in each
of the function blocks. A PIC32 MCU was specifically chosen for
the play function block to start the code and communicate with STEAM coordinators located in Los Angeles and San Francisco,
the robot. The robot uses an 8-bit ATmega328PB MCU. Designed as well as in Sydney, Australia.
by education technology entrepreneur Amir Asor, and Danny
GameShell’s Kickstarter campaign was fully funded in just
Eizicovits, who has a Ph.D. in robotics, the project gained a lot of
13 hours, reaching over 2,600 people worldwide and ultimately
positive attention during its campaign. Reaching its funding goal
raising $290,000. Clockwork also created a GameShell cam-
in under 24 hours and raising a final total of $1.15 million, this
paign on Indiegogo where it additionally raised almost $311,000.
project has attracted nearly 3,700 backers who are now eager to
Their ultimate goal is to sell the GameShell in the retail market
get their Algobrix in the mail and start programming robots with
and create STEAM products that are not only appealing to
their kids in a whole new way.
younger users, but also to moms and dads.
26
basic hardware and software skills, while still providing pros with
advanced and creative options to exercise their knowledge. MAKER SPACE
At the heart of Nova’s hardware design is the Creoqode Mini
Mega Development Board, which is powered by an ATmega2650 Exen Mini runs at 48 MHz and offers 256 KB ROM and 32 KB
MCU. Because Nova is Arduino-compatible, both new learners RAM to manage a wide range of applications. It also includes a
and experienced programmers can develop code to start con- regulated 3.3V output pin, two power input pins and a 5V input
trolling Nova in just a couple of hours. To further enhance the option via an on-board microUSB connector. The Exen Mini
programming experience, Creoqode offers tutorials and other comes preloaded with the Arduino Zero bootloader, so users
materials through their Qode Share online community. can get started with their programming right away.
27
Coloring Page
Zero-to-GUI in
Mere Minutes
Industry’s First MCU With Integrated
2D GPU and DDR2 Memory
Key Features
• Three-layer graphics controller • Free advanced GUI creation tools Promo code for:
DM320005-5, AC320005-4,
• High-performance 2D Graphics including the MPLAB Harmony
AC320005, DM320010,
Processing Unit (GPU) Graphics Composer, Display DM320010-C, DM320008,
• 32 MB integrated SDRAM or 128 MB Manager and Asset Manager DM320008-C
externally addressable SDRAM • Greater HMI capability with audio
and touch features
Learn how to save money while upgrading your graphics:
www.microchip.com/ZerotoGUI
The Microchip name and logo and MPLAB are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. All other trademarks are the property of their registered owners. © 2018
Microchip Technology Inc. All rights reserved. 1/18
DS60001529A