Documente Academic
Documente Profesional
Documente Cultură
2012
Nov/Dec
Worlds First
2D Multi-Touch Pad with
3D Gesture Recognition
CONTROL
ROBUST
COMPACT
IoT APPS
SENSORS
Nov/Dec 2014
Contents
SHOWCASE
DESIGN ARTICLES
4 A Touch Above
NEW PRODUCTS
6 Take Control
8-bit microcontroller family offers closed-loop digital control and
safety monitoring
9 Smart Mix
Latest 32-bit microcontrollers enable a wide range of applications
at lower prices
11 Very Precise
New high-speed devices feature industrys lowest-power 16-bit,
200 Msps stand-alone ADCs
FEATURES
15 Product Spotlight
16 Gifts Just For You
33 Connect With Us at 2015
International CES
12 Swapping Roles
USB 2.0 four-port controller hub connects smartphones to
automotive infotainment systems
14 Power Up
Get simple analog PWM control and configurable MCU in compact
circuit solution
The Microchip name and logo, the Microchip logo, dsPIC, FlashFlex, KEELOQ, KEELOQ logo, MPLAB, mTouch, PIC, PICmicro, PICSTART, PIC32 logo, rfPIC, SST, SST Logo, SuperFlash and UNI/O are
registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. FilterLab, Hampshire, HI-TECH C, Linear Active Thermistor, MTP, SEEVAL and The Embedded Control Solutions
Company are registered trademarks of Microchip Technology Incorporated in the U.S.A. Silicon Storage Technology is a registered trademark of Microchip Technology Inc. in other countries.
Analog-for-the-Digital Age, Application Maestro, BodyCom, chipKIT, chipKIT logo, CodeGuard, dsPICDEM, dsPICDEM.net, dsPICworks, dsSPEAK, ECAN, ECONOMONITOR, FanSense, HI-TIDE, In Circuit
Serial Programming, ICSP, Mindi, MiWi, MPASM, MPF, MPLAB Certified logo, MPLIB, MPLINK, Omniscient Code Generation, PICC, PICC-18, PICDEM, PICDEM.net, PICkit, PICtail, REAL ICE, rfLAB, Select
Mode, SQI, Serial Quad I/O, Total Endurance, TSHARC, UniWinDriver, WiperLock, ZENA and Z-Scale 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. GestIC and ULPP are registered trademarks of Microchip Technology Germany II GmbH & Co. & KG, a subsidiary of Microchip
Technology Inc., in other countries. All other trademarks mentioned herein are property of their respective companies. 2014, Microchip Technology Incorporated, All Rights Reserved.
EDITORS NOTE
id you know that the size and scope of the Microchip website has exploded
within the past several years? Our product offerings have been steadily
expanding, reaching into a growing variety of innovative and leading-edge
applications. At the same time, we've absorbed extensive product information from a
series of significant company acquisitions that occurred during this same time frame.
Needless to say, as our business continues to expand, the additional activity keeps our
web development team very busy.
Our website is the "go to" resource for many thousands of visitors monthly who need
ogies. They can visit our Design Centers, download software and other resources,
submit requests for technical support or get information on our training programs.
Recognizing that requirements and technology are constantly evolving, our goal is to
continuously enhance the features on our website to offer the best experience possible
to all our users. That's where you come in.
We would very much appreciate it if you would take just a couple of minutes to assist
us as we plan for the future of the Microchip website. We have developed a simple
online survey which will help us learn how you currently use our website, how well it
is working for you, and how we can make updates so that it continues to meet your
needs going forward. While the majority of the questions can be easily answered using
checkboxes and buttons, you will also have the opportunity to provide additional comments if you have any suggestions for us. Click the text below to access the survey:
SHOWCASE
A Touch Above
3DTouchPad is Worlds First 2D Multi-Touch Pad with
3D Gesture Recognition
Rich and Well-Documented Development Platform Enables Advanced
Human-Interface Capabilities for Leading-Edge Applications
ave
you
ever
used
free-space
It provides an
intuitive and easy
way to control the
flow of content.
technology for
(continued on page 5)
user experience.
2D Touchpad
SHOWCASE
Multi Touch
Pinch/Zoom
Scrolling
PC Wake-Up
Joystick
Software
Development
Volume/
Brightness
Take Control
NEW PRODUCT
Independent Peripherals.
speed control, range finding and RPM indicators. The family also includes the Zero Cross
Detect (ZCD) module, which can monitor AC
(continued on page 7)
applications
with
NEW PRODUCT
minimum-to-zero
Development Support
The PIC16(L)F161X family is supported by
our standard suite of development tools,
including the PICkit 3 In-Circuit Debugger
(PG164130) and MPLAB ICD 3 In-Circuit
Debugger (DV164035). The MPLAB Code
Configurator, which is a plug-in for the free
MPLAB X Integrated Development Environment (IDE), provides a graphical method
to configure 8-bit systems and peripheral
features and gets you from concept to prototype in minutes by automatically generating efficient and easily modified C code for
your application.
NEW PRODUCT
These devices
Cyclic Redundancy
offer up to
150C operation. Check (CRC), Deadman Timer (DMT),
and Windowed Watchdog Timer (WWDT)
peripherals, as well as a backup system oscillator and certified Class B software. Other key
features include up to six advanced motor
control PWMs, a 12-bit ADC, and operational amplifiersan ideal combination for motor
control applications.
The dsPIC33EV devices easily interface to 5V
automotive sensors, offering improved noise
immunity and enhanced reliability. They also
Development Support
The dsPIC33EV 5V CAN-LIN Starter Kit
(DM330018) will help you get started with
your design. A new dsPIC33EV256GM106 5V
Motor Control Plug-In Module (MA330036) is
available to plug into the Low-Voltage Motor
Control Development Bundle (DV330100) for
motor control applications.
The dsPIC33EV family offers 28 SOIC, 28 QFN,
28 SPDIP, 44 TQFP, 44 QFN, 64 TQFP and
64 QFN packages, with Flash memory ranging
from 64KB to 256KB, including options with
and without CAN. Devices can be ordered from
Microchips worldwide distribution network
or from microchipDIRECT.
NEW PRODUCT
Smart Mix
Latest 32-bit Microcontrollers Enable a Wide Range
of Applications at Lower Prices
PIC32MX1/2/5 Series Offers Feature-Rich Peripheral Mix and
Large, Scalable Memory Options
B
Flexible, easy-to-use CAN2.0B controllers
are integrated into these new MCUs.
a lower cost.
USB module.
software
required
for
including
speakers,
consumer
music-player
docks,
automotive applications.
Development Support
The PIC32MX1/2/5 series of MCUs is also
supported by a variety of tools including the
free MPLAB X Integrated Development
Environment (IDE), as well as the MPLAB
XC32 Compiler, the MPLAB ICD3 In-Circuit
Debugger and the MPLAB REAL ICE
In-Circuit Emulation System. Several
new development tools are also available.
These include the PIC32MX1/2/5 Starter
Kit (DM320100), PIC32MX570F512L Plugin Module for Explorer 16 Development
NEW PRODUCT
10
NEW PRODUCT
Very Precise
New High-Speed Devices Feature Industrys
Lowest-Power 16-bit, 200 Msps Stand-Alone ADCs
MCP37DX1-200 and MCP372X1-200 Families Provide Low Power and
High Integration of Processing Functions in 124-Lead VTLA Packages
and MCP372X1-200 families are ideal for communication systems, as well as for a number of
via SPI.
This enables
high-precision
measurement of
fast input signals.
90 dB SFDR. This enables high-precision measurement of fast input signals. These devices
operate at very low power consumption of
490 mW at 200 Msps including LVDS digital
I/O. Lower power-saving modes are available
at 80 mW for standby and 33 mW for shutdown.
The MCP37DX1-200 and MCP372X1-200
include a number of digital processing features
that will simplify your system's design and
reduce the cost and power usage. These families also include decimation filters for improved
SNR, individual phase, offset and gain adjustment and a fractional delay recovery for
Development Support
The MCP37DX1-200 and MCP372X1-200
are supported by the MCP37XXX-200 16-bit
VTLA Evaluation Board (ADM00505), the
MCP37XXX-200 12-bit VTLA Evaluation
Board (ADM00619) and the MCP37XXX-200
Data Capture Card (ADM00506).
The MCP37DX1-200 and MCP372X1-200
devices are available now for sampling and
volume production in 124-lead VTLA packages
from Microchips worldwide distribution
network or from microchipDIRECT.
11
Swapping Roles
NEW PRODUCT
deviceslike
in-vehicle
smartphonesfor
This power
reduction is
most obvious
when actively
transferring data.
12
NEW PRODUCT
cation chip needs to be updated in the infotainment system design, this function could
be easily moved from the HMI to the breakout
box, minimizing requalification.
Development Support
The USB84604 UCH2 is the latest device to
be supported by our free ProTouch configuration software tool. ProTouch software makes
it easy to generate configuration settings and
program the UCH2s internal OTP memory,
or any external SPI Flash. The USB4604
Evaluation Board (EVB-USB4604) enables
FlexConnect applications and allows access
to the UCH2s digital pins used in I2C, GPIO
and UART bridging. This development tool
also contains on-board SPI Flash to allow
13
NEW PRODUCT
Power Up
MCP19118 and MCP19119 Provide Simple Analog PWM
Control and Configurable MCU in Compact Circuit Solution
Industrys First PMBus Compatible Controllers With Up to
40V Operation
power supplies.
for a variety of operating conditions and topologies, power system designers also face an
increasing need to be able to report telemetry
and conduct two-way communicationtypically
With the integration of a supervisory MCU,
The MCP19118/9
provide a very
compact circuit
solution.
14
PRODUCT SPOTLIGHT
15
ts time again to ring in the savings on a variety of our most popular development tools.
During the microchipDIRECT 2014 End of Year Tools Sale, you can save 25% on starter kits
and boards that will help you add Ethernet and USB connectivity, multimedia capabilities,
Bluetooth audio and other features to your design. Youll also find great prices on tools to assist
you in programming and debugging your design. Below are just some highlighted products. You'll
find the full list on the 2014 End of Year Tools Sale page on our website. But act quicklythe
savings end on January 3, 2015.
16
17
DESIGN ARTICLE
he changes occurring in the medical and fitness fields, along with their associated
electronic devices, can truly be called revolutionary. The demands of todays healthcare
device markets are many, varied and challenging. Devices that were once primarily found
in hospitals are now used for home-medical applications, as well as for fitness monitoring. For
example, the capability to measure heart rate and blood oxygen levels is showing up more often
now in consumer products. These measurements can be taken using pulse oximeters that are
now available as both home-medical devices as well as part of integrated wrist-worn fitness
activity trackers. This article will cover the basics of pulse oximetry for medical and fitness applications. It will also examine a pulse-oximeter design example that demonstrates the measurement
of heart rate and blood oxygen levels.
What is Oximetry?
Oximetry is the measurement of oxygen saturation in blood, and is usually expressed as a
percentage. A pulse oximeter is a non-invasive device that measures the oxygen saturation
of a persons blood, as well as their heart rate. Pulse oximeters are easily recognized by their
associated clip-type probe, which is generally applied to a patients finger. A pulse oximeter can
be a stand-alone device, part of a patient-monitoring system, or integrated into a wearable fitness
tracker. Accordingly, pulse oximeters are used by nurses in hospitals, outpatients at home, fitness
enthusiasts at the gym and even by pilots in unpressurized aircraft.
as Hb (i.e., oxygen-depleted). So, blood oxygen saturation (SpO2) is the ratio of Oxy-hemoglobin
to Deoxy-hemoglobin. This can also be expressed as:
18
DESIGN ARTICLE
reflectance-pulse-oximetry method.
transmissive
pulse
oximeter.
19
DESIGN ARTICLE
Figure 2: Real-Time Red and Infrared (IR) Pulsation Signals, As Captured By an Oscilloscope
20
DESIGN ARTICLE
Probe
21
DESIGN ARTICLE
two stages.
22
DESIGN ARTICLE
undamental buck converter topology is an excellent choice for LED drivers in off-lineas
well as low-voltageapplications as it can produce a constant LED current at very high
efficiencies and low cost. A peak-current-controlled buck converter can give reasonable
LED current variation over a wide range of input and LED voltages and needs little effort in feedback control design. Coupled with the fact that these converters can be easily designed to operate
at above 90% efficiency, the buck-based driver becomes an unbeatable solution to drive high
brightness LEDs.
The HV9910B Universal High Brightness LED Driver provides a low-component-count and
low-cost solution to implement a continuous mode buck converter. The HV9910B has two current
sense threshold voltages: an internally set 250 mV and an external voltage at the LD pin. The
actual threshold voltage will be the lower of these two voltages. The low sense voltage allows
the use of low-current sense resistor values. The HV9910B operates down to 8V input, which is
required for automobile applications, and can take a maximum of 450V input, which makes it ideal
for off-line applications. It also has an internal regulator that supplies power to the IC from the input
voltage, eliminating the need for an external low-voltage power supply. It is capable of driving the
external FET directly, without the need for additional driver circuitry. Linear or PWM dimming can
also be easily implemented using the HV9910B.
This article discusses the design of a buck-based LED driver using the HV9910B with the help of
an off-line application example. The same procedure can be used to design LED drivers with any
other lower-voltage AC or DC input; 12V for example. This information also applies to the HV9910
Universal High Brightness LED Driver.
AC Input Voltage Range
Vnom,ac = 120V rms
Vo,max = 40V
Io,max = 350 mA
= 0.9
freq = 60 Hz
Table 1: Buck-Based LED Driver Design Specifications
23
DESIGN ARTICLE
Resistor (R1)
this is 228 k.
(Equation 3)
average
current
drawn
by
the converter.
(Equation 1)
this application.
Step 3: Choose the Input
Capacitors (C1/C2)
(Equation 2)
24
DESIGN ARTICLE
(Equation 5)
where freq = 50 Hz (or 60 Hz) is the AC line
(Equation 8)
In this example, L1 = 2.9 mH.
The peak current rating of the inductor will be:
(Equation 9)
The rms current through the inductor will be the
same as the average current for the chosen
30% ripple. The right inductor for this application is an off-the-shelf 2.7 mH, 0.54A (peak),
for C1.
Diode (D2)
The peak voltage seen by the FET is equal
to the maximum input voltage. Using a 50%
safety rating,
(Equation 10)
The maximum rms current through the FET
depends on the maximum duty cycle, which is
50% by design. Hence, the current rating of the
(Equation 7)
FET is:
(Equation 11)
25
DESIGN ARTICLE
(Equation 14)
(Equation 15)
Appendix
The more accurate equations for computing
the required capacitance values are:
losses as well.
The peak voltage rating of the diode is the
same as that of the FET. Hence,
(Equation 12)
The average current through the diode is:
(Equation 13)
Choose a 300V, 1A ultra-fast diode.
26
DESIGN ARTICLE
many also face the task of designing and developing the refined interfaces that users have come
to expect from their mobile devices. Sometimes they do not have the necessary expertise to take
on this task in-house.
Rather than trying to replicate existing interfaces, many designers would rather tap into the
installed infrastructure to create apps for monitoring and control in real time and from any location.
In combination with cloud-based connectivity, mobile apps are a natural way for users to interface
with things such as wearable fitness monitors, security systems, home automation, garage-door
openers and industrial controls. But, that first experience with an app can make or break a product.
Recognizing this need and building on our deep roster
of traditional embedded hardware and software development design partners, we have recently added the
category of App Developer Specialist to our worldclass Design Partner Network. Companies in this category will offer an exclusive focus on web and nativeapp creation to assist you with getting your IoT design
up and running. WillowTree Apps, an award-winning
and experienced iOS, Android and mobile web app developer, has been named as our first App
Developer Specialist. Their innovative, best-in-class web and mobile app designers are ready to
help you reduce the risk, complexity and time of app creation by doing the work for you. This will
allow you to focus on the core of your IoT design and expedite your development cycle, while
(continued on page 28)
27
DESIGN ARTICLE
SM
28
DESIGN ARTICLE
and low-data-volume wireless applications running in the subGHz industrial, scientific and medical (ISM bands). It is a complete ecosystem that incorporates hardware, software, development support and services, making it extremely easy and
straightforward to develop wireless mesh networks for a wide range of applications including telemetry, smart metering, building automation, lighting and the Internet of Things. The DS-START-03
IQRF Development Set by MICRORISC Ltd., one of our Design Partners, provides the tools you
need to get started with your IQRF-based wireless application.
29
DESIGN ARTICLE
In
addition
to
supporting
standard
and increase the reliability of the mesh network. Up to 240 hops can be supported in real
time. Dedicated routers are optional in an IQRF
wireless network. Despite its many unique and
patented features and its high level of sophistication, youll find that IQRF technology is
exceptionally easy to implement.
Features
Programming-free development with IQRF
Data Controlled Transceivers reduces costs
and development time
Robust routing algorithm and automatic
discovery enable reliable wireless mesh
networks
Advanced network maintenance tools
bonding, back up, replacementsreduce
maintenance costs
IQRF IDE for programming, in-circuit
debugging and network management and
maintenance
Getting Started
The DS-START-03 Development Set contains
the following items:
Three IQRF transceivers
IQRF programmer and debugger
Two universal portable development kits for
TR modules
Micro USB cable
USB flash drive with software and
documentation
Visit the IQRF Support Page where you'll find
additional information, including step-by-step
guides and instructional videos to help you get
started with your application.
30
DESIGN ARTICLE
designers face the challenge of creating innovative interfaces for products such as wearables and
handheld controls, while in the industrial market they
need robust solutions for use in bar code readers,
thermostats and various other devices.
Microchip has recently partnered with Xymox Technologies to provide a complete, cost-effective
touch and gesture interface solution that is well suited to meet the cost and power design challenges of a wide array of modern applications. Xymoxs printed transparent PEDOT:PSS conductive polymer sensors are made with KODAK Highly Conductive Film (HCF). When combined with
our low-cost, low-power touch electronics, they enable fast, inexpensive development of touch
and gesture enabled devices.
You can leverage the fast turnaround and low manufacturing minimums of Xymox printed sensors
and integrate them with our versatile touch electronics solutions to keep pace with your changing
touch interface requirements. Xymox can design and manufacture a custom projected capacitive
sensor that is a cost-effective alternative to traditional ITO sensors. Xymox printed sensors are
also formable to meet the challenges of curved surfaces being used in todays modern designs.
To learn more about adding our industry-leading low-power touch electronics and Xymox
printed flexible touch sensors to your new product design, contact your local Microchip
Sales Office.
31
DESIGN ARTICLE
Accelerating Low-Level
Code Implementation in
PIC32 MCU Applications
ThreadX RTOS Now Supports MPLAB Harmony Framework
32
EVENTS
Connect With Us at
2015 International CES
nce again, representatives from the top consumer electronics retailers and the worlds
greatest technology leaders are getting ready to converge in Las Vegas to attend the
annual International CES. Microchip will be there too, with more than 30 demos on
display that span a wide range of product markets. Visit our main exhibit in Booth MP25656, South
Hall 2 Meeting Place at the Las Vegas Convention Center to see our broad portfolio of innovative
solutions in the automotive, computing, connectivity, Internet of Things, touch and input sensing,
and wireless markets. If you'd like more in-depth information while you're at the show, you can use
our Online Demo Request system to schedule an appointment to meet with representatives from
Microchip and to view specific demos from these different applications areas:
Automotive Zone: Learn how our connectivity and HMI solutions contribute to the advancement
of intelligence throughout the vehicle. Let our experts demonstrate our latest technologies to
further enhance mobile connectivity in the car.
Computing Zone: Need computing expertise? Stop by and experience the leading innovation of
Microchips products for computing applications.
Embedded Wireless Solutions Zone: Microchips wireless solutions are designed to get you to
market fast, so come see us and lets find the right wireless solution for your project.
Internet of Things (IoT) Zone: Our variety of wireless solutions, sensors and eXtreme Low
Power (XLP) PIC microcontrollers enable end-to-end solutions that help successfully connect
embedded systems to the cloud and take advantage of all of the benefits of doing so.
Connectivity Zone: Stop by to learn how Microchip can enhance your mobile experience and
seamlessly connect your world with our USB products.
Touch & Input Sensing Zone: Experience our award-winning solutions for 21st century input
sensingfrom buttons, sliders, touchpads and touch screens to three-dimensional gesture
sensing. Learn how our 1-2-3D solutions can be used to enable a wide range of applications.
Were excited to have this opportunity to meet you and demonstrate why we are a leading provider
of microcontroller, mixed-signal, analog and Flash-IP solutions. See you in Las Vegas!
33
Battery-Friendly Features
microchip.com/xlp
The Microchip name and logo and the Microchip logo 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. 2014 Microchip Technology Inc. All rights reserved. 5/14
DS00001746A