IoT_Energia_Capsule

advertisement
Making MADE simple
With the Wi-Fi LaunchPad
{
}
Hardware & Software
Class Name
Introducing the
TI LaunchPad Ecosystem
Rapid prototyping with TI’s broad portfolio of
MCU, analog, & connectivity solutions.
Presenter Title
2
The LaunchPad Concept
Rapidly Prototype
TI Solutions with
Modular Hardware,
Intuitive Software,
& Community Support
TI Confidential – NDA Restrictions
3
The LaunchPad Ecosystem
Everything you need to start microcontroller development
Hardware + Software + Community
LaunchPads & BoosterPacks
Development tools based on TI microcontrollers, including MSP430,
C2000, TM4C, & Hercules. They are affordable & include everything
you need to start microcontroller development! Plug-in modules for
the LaunchPad add new functionality including capacitive touch,
wireless, motor control, dynamic lighting, sensors & more.
Intuitive Software
Teach your LaunchPad new tricks using easy-to-use software tools.
LaunchPad is supported by a wide range of software tools ranging from
beginner-level software to full-featured professional development
environments.
Engaged Community
Share projects and ask questions with LaunchPad community
members and TI engineers located all over the world using online
forums and communications tools.
TI Confidential – NDA Restrictions
4
• Modular hardware enables developers to create complete
TI-enabled system solutions.
• Stack multiple BoosterPacks to add power management,
wireless capabilities, sensors, displays & more to your TI
MCU-based LaunchPad.
• Intuitive software tools offer hundreds of code examples to
get up and running quickly.
• Low-cost LaunchPad kits from MSP430, Tiva C, C2000 &
Hercules start at $9.99
www.ti.com/launchpad
5
LaunchPad is TI’s Common Denominator
Modular hardware enables developers to explore new ideas quickly
Sub-1GHz
(CC110L)
NFC/RFID
(TRF7970A)
WiFi
(CC3100)
ZigBee
(CC2530)
BLE
(CC2541)
Bluetooth
(CC2564)
Wireless BoosterPacks enabled by TI transceivers
Thermocouple MEMS Temp Sensor
BoosterPack
BoosterPack
(ADS1118)
(TMP006)
ePaper Display
LiPo Battery
SensorHub
BoosterPack
BoosterPack
BoosterPack
(RePaper)
(BQ fuel gauge) (various sensors)
Additional BoosterPacks for analog, sensors, displays & more
from TI, Third Parties & Maker community.
LaunchPad kits featuring TI MCUs & standardized BoosterPack
interface
MSP430
TM4C
C2000
Hercules
6
Easily add RF for wireless applications!
7
Quick demo recipes
Enable customers to experience TI differentiation in minutes
WiFi-enabled Meat Probe
“iGrill”. Send a tweet when
temp exceeds threshold.
MSP430F5529
LaunchPad
=
WiFi
CC3100
BoosterPack
+
CC3200
LaunchPad
Create a battery-powered
WiFi-connected NFC/RFID
tag reader
=
+
+
=
+
Sub-1GHz
(CC110L)
+
TI Microcontroller
LiPo Battery
BoosterPack
(BQ fuel gauge)
NFC/RFID
(TRF7970A)
MSP430G2553
LaunchPad
Create a multi-point SubGHz
RF wireless temperature
sensor network
Thermocouple
BoosterPack
(ADS1118)
MEMS Temp Sense
BoosterPack
(TMP006)
+
TI Wireless
TI Analog
LaunchPads
LaunchPads
BoosterPack pinout standard (ti.com/byob)
11
CODE!
For FREE!
TI Confidential – NDA Restrictions
LaunchPad Software Tools
Making it easier & providing multiple points of entry
Beginners
Advanced
Energia
CCS & Pro Tools
Community-driven, Wiring-based IDE
Fully-capable dev environments
from TI & third parties
Intuitive coding environment
• Simplified interface provides an easy-to-use
code editor, serial monitor & compiler
Full debug capability & more
• Set breakpoints, watch variables, step through
code & more
Highly-abstracted API framework
• Functional APIs make it easy for developers
to start controlling hardware
Import Energia projects
• Need more features from your development
environment? Seemlessly import your Energia
sketches into Code Composer Studio v6!
<beta available NOW>
Community-driven
• Completely open source & driven by the
community
13
Energia
• Fork of the popular Wiring framework
– the basis of the Arduino IDE
• Robust collection of intuitive APIs for
controlling your LaunchPad’s I/O
• Immediately develop code for I2C,
UART, PWM, ADCs, SPI & more
• Open source & community driven
• Source code compatibility across
supported LaunchPads
www.energia.nu
The Energia Difference
• Send & receive wireless data within minutes
using simple APIs
– Radio.begin(parameters);
– Radio.Transmit(parameters);
– Radio.receiverOn(parameters);
• 100% source code compatibility/consistent APIs
across MCU, including MSP430 & Tiva
LaunchPads
• All with a simple & intuitive code editing tool
Start sending & receiving RF data for <$40 & <10
minutes.
2 LaunchPads + 2 CC110L RF BoosterPacks + Energia
15
Energia abstraction enables source code
compatibility across MCU platforms.
Energia Functional Libraries for key BoosterPacks
build upon the Energia Core APIs below, enabling cross-platform source code compatibility
Displays
NFC
WiFi
(leverage SPI API)
(leverage SPI API)
(leverage SPI API)
BLE
(leverage UART
API)
Sensors
(leverage I2C API)
LEDs
(leverage GPIO
APIs)
…
Energia Core APIs // common set of standardized APIs for interfacing with MCU I/O & peripherals.
digitalWrite() | digitalRead() | analogWrite() | analogRead() |
SPI.begin() | Wire.begin() | Serial.begin() | more…
Expose MCU-specific features through Energia
abstracted APIs // i.e. WiFi (CC3200), USB
(MSP430F5529), etc
Peripheral
Driver
Library
Peripheral
Driver
Library
Peripheral
Driver
Library
Peripheral
Driver
Library
Peripheral
Driver
Library
MSP-specific bit
fields
TM4C-specific bit
fields
CC3200-specific
bit fields
C2000-specific
bit fields
Other MCUspecific bit fields
MSP
TM4C
CC3200
C2000
Future MCUs
LaunchPad kits across TI MCUs
16
Energia Abstraction
Fly high above the bits & bytes
{
1
Boils it down to
line of code
}
17
Energia Import in CCSv6
•
•
•
•
Import an Energia sketch into Code Composer Studio v6 & pick up right where you left off.
CCS introduces full debug capability & other professional features to further optimize your design.
Modularize your code & leverage Energia APIs & libraries within CCS
Enable “hybrid” projects that leverage low-level C, assembly & even abstracted Energia APIs
enabling a developer maximum flexibility during code development.
18
LaunchPad in the cloud
Cloud-connected LaunchPads offer support for various
cloud partners & protocols via WiFi or Ethernet.
19
The Community
www.43oh.com
TI Confidential – NDA Restrictions
http://e2e.ti.com
20
The Community
Get support from TI & the online community!
• www.43oh.com
• Active & friendly online community & blog for the
LaunchPad ecosystem!
• ~20,000 active members
• ~60 forum users online at any given time!
• Home to much of the Energia community
• http://e2e.ti.com
• Supported 24/7 by TI engineers!
• Over 1 million Q&As available on-demand
• Get support on TI’s complete portfolio from
microcontrollers to analog to connectivity
21
22
Hardware Hands On
• Download Energia
• Set up your CC3200 LaunchPad
http://energia.nu/pin-maps/guide_cc3200launchpad/
•
•
•
•
Blink the on-board LED
How to use the Energia site
Read Accelerometer Data
Read Temperature Data
Now you are a hardware ninja!
23
MCU + WiFi
IoT with TI Wireless Connectivity
Featuring:
CC3200 SimpleLink Wi-Fi MCU
24
What is IOT?
A diverse collection of technologies and devices designed to connect everyday objects
to the Cloud to keep track of people, assets and events effortlessly and in real-time,
providing enhanced personal and societal awareness and control.
25
The Evolution of the IoT
Total number of things
Internet
of Things
Things
on the Internet
50 billion
connected
devices by 2020
Things talk to
each other and
the Internet
Connected
Things
Things talk
directly to the
Internet
Things
No direct
connection to
the Internet
Time
Only TI has all the IoT building blocks
Gateway,
Bridge or
Router
Nodes
MCUs
Cloud
MCUs
Processors
Wired &
Wireless
Connectivity
Sensors
Processors
Wired &
Wireless
Connectivity
Analog
Signal
Chain
Analog
Signal
Chain
Power
Management
Analog
Signal
Chain
Power
Management
Power
Management
Multicore
Processors
Texas Instruments Wireless Connectivity
Wireless Connectivity Portfolio
Proximity
NFC
RFID
Identification
Personal area networks
Bluetooth®
Bluetooth LE
Personal
Connection
Proprietary
2.4GHz
Customizable
Wide area
networks
Local area networks
ZigBee
RF4CE
Mesh
6LoWPAN
IP Mesh
Wi-Fi®
Existing
Infrastructure
Proprietary
Sub-1GHz
Customizable
Key Differences
Up to 848Kbps
Up to 3Mbps
Up to 1Mbps
Up to 1Mbps
Up to 1Mbps
Up to 100Mbps
Up to 1Mbps
No battery to
coin cell
Coin cell to AAA
Coin cell
AAA battery
AAA battery
AA battery
Coin cell
• IPv6 stack
• Ultra low power
• IoT platform
• Existing
infrastructure
• High throughput
• Longest range
• Customizable to
application
• Robust RF
Key Attributes
• Low / no power
• Diverse apps
cm
• IOP
• Large install base
• In mobile devices
• Longest range
• Customizable to
application
• Robust RF
Up to 100m
• Standardized
mesh
• Large area
coverage
• Redundancy
Range
km
IoT – The United Nations of connectivity
WHAT IS NEEDED
CHALLENGE
Broad variety of wired or
wireless standards
Connectivity:
One size doesn’t fit all
TI DELIVERS
• Low power mesh network
• Smart metering & lighting
• Moving into home automation
• Low power & long range
• Proprietary & open protocols
• Metering, security systems
• Fast – 10Mbps++
• Direct Internet connection
• Home & enterprise apps
• Lowest power
• Connect to tablet/phone
• Moving to industrial, automotive
• Data over power lines (OFDM)
• Developed for smart grid
• Lighting, solar, appliances
• Fast, low latency Ethernet
• Real-time industrial control
• Information technology
IEEE P1901.2
2.4GHz
IEEE 802.15.4
Requirements for MCU to be ideal for IoT
• Energy efficiency
• Embedded architecture with a rich software ecosystem
• Portfolio breadth to enable
– Software scalability
– Meet different levels of performance & a robust mix of I/O interfaces
• Cost-effectiveness
• Quality and reliability
• Security
30
TI enabling low power IoT
Consumer, health tech, and industrial applications
Are all looking to increase accessibility by adding remote connectivity
Without adding power, size, and complexity
Power
Size
Complexity
MCU in IoT system architectures
MCU and RF
SOC
Architecture
MCU as Host
MCU +
RF
MCU
Appl
Appl
MCU as Host and
running Network
Stack
RF
MCU
MCU as Sensor Hub
or Power
management to
Host MPU
RF
Appl
MPU
Stack
Appl
Stack
Stack
Stack
MSP430
RF
ULP
task
Example
CC430
CC3200
CC3100 + MSP430
F5xx
CC2560 + MSP430
F5xx; TRF79xx
WL18xx + AM335x
+ MSP430 F5xx
MCU Memory
needs
Max
Min
Max
Task-dependent
MCU
Flexibility/
Scalability
Min
Max
Middle
Max
MCU Cost
$$$
$
$$
Task-dependent
32
LaunchPad & IoT
a bird’s eye view
Cloud Service
Provider
- Temboo
TM4C129
(MCU +
Ethernet)
RF
LaunchPad Booster
Pack
Ethernet
LaunchPads
- MSP430F5529
- MSP430FR5969
- MSP430G2
- TM4C123G
- TM4C1294
MCU
LaunchPad
BoosterPack
Cloud services
Access to data,
dashboards, etc
IoT Gateways
Your portal to the cloud
RF BoosterPacks
- Zigbee
- SubGHz RF
- Bluetooth
- 6LoWPan
- NFC
Wireless
Nodes
Connecting your
devices
CC3200
(MCU +
WiFi SoC)
RF
LaunchPad Booster
Pack
WiFi
MCU +
RF SoC
LaunchPad
MCU + RF SoC
LaunchPads
- CC3200 MCU + WiFi
33
CC3100/CC3200 product highlights
Next generation embedded Wi-Fi® network processor
connecting new classes of devices to the IOT
Simple
Secure
Low Power
 Quick HW design with QFN
package or TI module
 Best in class Wi-Fi and
Internet security protocols
 Low power radio &
low power sleep
 Slick SW design with
SimpleLink™ APIs
 On chip accelerators
enable secure connection
easy and fast
 Fast wake up & connect
 No Wi-Fi expertise needed
 Easy Wi-Fi provisioning
with SmartConfig™
 Secure MCU protects
customers IP and prevents
cloning
 Run over 1 year with 2xAA
batteries
34
Benefits for Internet of Things
Industry standard
BSD socket APIs for
TCP/IP communication
Small driver footprint
down to 6KB host code
HW crypto engine for
TLS/SSL Internet security
Low power radio and
advanced low power modes
SmartConfigTM Technology
world’s best Wi-Fi®
provisioning tool
TI modules certified for WW
regulatory and Wi-Fi Alliance
Build Internet applications quickly,
reuse industry available Internet code
Enable integration with low-cost
MCUs like MSP430
Establish TLS connection in 150mSec
for fast and secured user experience
Wi-Fi® sensors stay connected to the
network for over a year using
two AA batteries
Enables customers to set up headless
devices easily and fast
Fast time to market
Save customers over $50K of test cost
and test time per product family
35
IoT with SimpleLink Wi-Fi
CC3100 BoosterPack
CC3200 LaunchPad
• CC3100 reference design
• Works stand alone with SimpleLinkTM
Studio or attached to TI MCU LaunchPads
• Chip Antenna and U.FL Connector
• CC3200 SW development platform
• Compatible with multiple BoosterPacks
• On board temp. sensor accelerometer
SimpleLink Studio
• Use your PC as a host processor
for application development
• Short development cycle
• Easy debug
• Accelerate development
on any MCU
+
CC3100
Any MCU
36
Easily develop IoT applications with
TM4C129 Connected LaunchPad
Easily evaluate & program
• Two BoosterPack XL interfaces (2x 40-pin) each with stackable, dual-gender
connectors to support up to four BoosterPacks (existing or custom dcards)
Robust hardware & connectivity
• TM4C1294NCPDTI MCU includes 120 MHz ARM® Cortex™-M4F CPU, 1MB Flash,
256K SRAM, 6K EEPROM, 10/100 Ethernet MAC+PHY, 8x 32-bit (16x 16-bit) timers,
10 I2C, 8 UART, 4 QSPI, 2 CAN, EPI, USB & 2x 12-bit 2MSPS ADCs
Get started in
minutes
• Integrated USBpowered (cable
included) in-circuit
debug interface
• No additional
hardware
Straightforward
development
& use
• RJ45 Ethernet jack
• USB Host/Device
port
• 3x User buttons &
LEDs, reset switch
& power indicator
LED
Rapid prototyping
• I/O connection grid allows interface to external
circuitry, breadboards and custom baseboards
• Access to TM4C1294NCPDTI I/O pins
2 1
Also includes :
IoT example application, access to
cloud-based, scalable solutions.
TI’s TivaWare™ software package with an
extensive Driver Library for use under
BSD-style license & service
37
TM4C Connected Connected Launchpad
enables an integrated gateway solution
• Aggregating disparate wireless networks into the cloud
• Unlocking the capabilities of always-connected applications
• Monitoring industrial systems and assembly lines through web-connected dashboards
Wireless
node
Wireless
node
Wireless
node
Wireless
node
Wireless
node
Wireless
node
Ethernet
SimpleLink™ CC2541
SensorTag BoosterPack
SimpleLink™ CC3000
BoosterPack
38
IOT End Applications
Application
Value Proposition
Home control over the internet using the
existing Wi-Fi network using a smart phone
CC3200 enables easy and cost effective
application designs with built in Internet
connectivity
Block Diagram
Sensor
LCD
SimpleLinkTM
CC3200
Cortex M4
Push
Button
Home Automation
Remote diagnostics and service promotion
(e.g. filter replacement reminder)
CC3100 offloads all communication from the
appliance MCU and enables easy integration
with legacy systems
Appliance
MCU
SimpleLinkTM
CC3100
Home Appliance
Access control
Easily deploy wireless remote access control
systems over the Internet or the Enterprise
network
Camera
CC3200 enables secured communication for
authentication and delivers low power for
battery operation
BT/BLE
NFC
Radio
SimpleLinkTM
CC3200
Cortex M4
39
IOT End Applications
Application
Value Proposition
Block Diagram
Add wireless cameras to security systems.
Control and monitor the system over the
internet
Security systems
Camera
Keypad
CC31xx supports best in class internet
security protocols for personal and enterprise
applications
Use exiting home Wi-Fi network to read the
smart meter, thermostat control and smart
energy in home display
SimpleLinkTM
CC3200
Cortex M4
LEDs
MSP430TM
SimpleLinkTM
CC3100
CC3100 enables secure Wi-Fi communication
on battery operated devices
UI
Smart Energy
Wi-Fi gateway or remote-control hub for low
power RF devices provides ubiquitous access
CC3200 is easily integrated with all TI wireless
connectivity solutions
Metrology
BT/BLE
6LoWPAN
SimpleLinkTM
CC3200
Cortex M4
Zigbee
Internet Gateway
40
IOT End Applications
Application
Value Proposition
Block Diagram
Add high speed wireless service access using
a phone or a tablet
CC31xx has on-chip secure HTTP server with
user configurable web page
for easy to use service interface
Application
MCU
SimpleLinkTM
CC31xx
Industrial Control
Control lights and electric devices remotely,
and measure power consumption to save
energy
CC3200 reduces system cost with MCU,
peripherals and Wi-Fi in one IC
Relay
Metrology
SimpleLinkTM
CC3200
Cortex M4
LCD
Smart plug / metering
Cost effective audio streaming from a
phone, a local network or the Internet
CC3200 has a I2S/PCM audio interface and
enables audio streaming protocols
CODEC
Push
Buttons
SimpleLinkTM
CC3200
Cortex M4
LCD
Wireless Audio
41
What can you innovate in IOT
CC3100/CC3200 provides
• Cost-effective
• Easy to use
• Secure
• Low power Wi-Fi
for next generation IOT application
What will you design next?
42
CC3200 Software Development Kit (SDK)
Traditional Path
• Use the SDK to get started quickly with
50+ C code examples and sample
applications
• http://processors.wiki.ti.com/index.php/CC
32xx_SDK_Sample_Applications
Energia Path
• Use the Energia WiFi library and other
derived libraries to create application code
using the Wiring framework
• www.energia.nu/reference/wifi
43
Cloud Demos
•
•
•
•
•
•
WiFi library - Simple Web Server
Use Temboo to Get Yahoo Weather Report
Use Temboo to query Wolfram Alpha
Use Temboo to write to a Google spreadsheet
Use Temboo to send an SMS using Twilio
Use Temboo and Nexmo to control your
LaunchPad with your phone
Now you are a cloud ninja!
44
Questions on Temboo? Run out of API calls?
Our support team can help out over email
(support@temboo.com) if anyone has
questions about using Temboo.
45
Where to go next: www.ti.com/launchpad
TI’s official LaunchPad portal
Get specs, order hardware, download datasheets
and design files
46
Where to go next: www.energia.nu
Open Source. Cross Platform. Community Driven.
View pin maps, find libraries, explore tutorials
47
Want to see the LaunchPad in action?
Check out these links:
http://bit.ly/1imK8jw
Scrolling Marquee
with 8x8 LED
Matrix
BoosterPack
ePaper BoosterPack
for ultra-low power
displays
http://bit.ly/MqcL4g
K-type
Thermocouple
BBQ Companion
BoosterPack
http://bit.ly/1eMWm0P
http://bit.ly/1fFMBVc
TI Confidential – NDA Restrictions
Create a simple
HTML web server
with CC3000 WiFi
BoosterPack
http://bit.ly/1dYeHa6
Monitor
accelerometer
wirelessly with
CC110L SubGHz RF
BoosterPack
Pull live weather info
from the cloud using
the CC3000 WiFi
BoosterPack
http://bit.ly/LHrXdg
48
Thank you!
www.ti.com/launchpad
www.energia.nu
temboo.com/hardware/ti
49
BACKUP
50
Download