Transcript IoT_Energia_Capsule
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
3 TI Confidential – NDA Restrictions
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 BoosterPack (ADS1118) MEMS Temp Sensor BoosterPack (TMP006) ePaper Display BoosterPack (RePaper) LiPo Battery BoosterPack (BQ fuel gauge) SensorHub BoosterPack (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 MSP430F5529 LaunchPad WiFi-enabled Meat Probe “iGrill”. Send a tweet when temp exceeds threshold.
= + WiFi CC3100 BoosterPack + Thermocouple BoosterPack (ADS1118) Create a battery-powered WiFi-connected NFC/RFID tag reader = CC3200 LaunchPad + NFC/RFID (TRF7970A) + LiPo Battery BoosterPack (BQ fuel gauge) Create a multi-point SubGHz RF wireless temperature sensor network = MSP430G2553 LaunchPad + Sub-1GHz (CC110L) + MEMS Temp Sense BoosterPack (TMP006)
TI Microcontroller TI Wireless TI Analog
LaunchPads
LaunchPads
BoosterPack pinout standard (ti.com/byob)
11
TI Confidential – NDA Restrictions
CODE
!
For FREE!
LaunchPad Software Tools
Making it easier & providing multiple points of entry
Beginners
Energia Community-driven, Wiring-based IDE CCS & Pro Tools Fully-capable dev environments from TI & third parties
Advanced
Intuitive coding environment
• Simplified interface provides an easy-to-use code editor, serial monitor & compiler
Highly-abstracted API framework
• Functional APIs make it easy for developers to start controlling hardware
Community-driven
• Completely open source & driven by the community
Full debug capability & more
• Set breakpoints, watch variables, step through code & more
Import Energia projects
• Need more features from your development environment? Seemlessly import your Energia sketches into Code Composer Studio v6!
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 (leverage SPI API) NFC (leverage SPI API) WiFi (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 MSP-specific bit fields Peripheral Driver Library TM4C-specific bit fields Peripheral Driver Library CC3200-specific bit fields Peripheral Driver Library C2000-specific bit fields MSP TM4C CC3200 C2000 Peripheral Driver Library Other MCU specific bit fields Future MCUs
LaunchPad kits
across TI MCUs 16
Energia Abstraction
Fly high above the bits & bytes { } 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
Things Things on the Internet Connected Things
Things talk directly to the Internet No direct connection to the Internet
Time Internet of Things
50 billion connected devices by 2020 Things talk to each other and the Internet
Only TI has all the IoT building blocks
Nodes Gateway, Bridge or Router
MCUs
Cloud
MCUs Processors Wired & Wireless Connectivity Sensors Analog Signal Chain Power Management Processors Wired & Wireless Connectivity Analog Signal Chain Power Management Multicore Processors Analog Signal Chain Power Management
Texas Instruments Wireless Connectivity
Wireless Connectivity Portfolio
Proximity Personal area networks Local area networks Wide area networks NFC RFID
Identification Bluetooth® Bluetooth
LE
Personal Connection
Proprietary 2.4GHz
Customizable
ZigBee RF4CE
Mesh
6LoWPAN
IP Mesh
Wi Fi®
Existing Infrastructure
Proprietary Sub-1GHz
Customizable
Key Differences
Up to 848Kbps No battery to coin cell Up to 3Mbps Coin cell to AAA Up to 1Mbps Coin cell Up to 1Mbps AAA battery Up to 1Mbps AAA battery Up to 100Mbps AA battery Up to 1Mbps Coin cell
Key Attributes
• • Low / no power Diverse apps • • • IOP Large install base In mobile devices • • • Longest range Customizable to application Robust RF
cm Up to 100m
• • • Standardized mesh Large area coverage Redundancy
Range
• • • IPv6 stack Ultra low power IoT platform • • Existing infrastructure High throughput • • • Longest range Customizable to application Robust RF
km
IoT – The United Nations of connectivity
C H A L L E N G E W H A T I S N E E D E D Connectivity: One size doesn’t fit all Broad variety of wired or wireless standards T I D E L I V E R S
• Low power mesh network • Smart metering & lighting • Moving into home automation • Fast – 10Mbps++ • Direct Internet connection • Home & enterprise apps • Data over power lines (OFDM) • Developed for smart grid • Lighting, solar, appliances • Low power & long range • Proprietary & open protocols • Metering, security systems • Lowest power • Connect to tablet/phone • Moving to industrial, automotive • 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
Architecture
MCU and RF SOC
MCU + RF Appl Stack Example MCU Memory needs CC430 CC3200 Max MCU Flexibility/ Scalability MCU Cost Min $$$
MCU as Host
Max $ MCU RF
MCU as Host and running Network Stack
$$ MCU Middle RF
MCU as Sensor Hub or Power management to Host MPU
MPU Appl Stack Appl Appl Stack Stack MSP430 ULP task RF CC3100 + MSP430 F5xx Min CC2560 + MSP430 F5xx; TRF79xx Max WL18xx + AM335x + MSP430 F5xx Task-dependent Max Task-dependent 32
LaunchPad & IoT a bird’s eye view Cloud Service Provider - Temboo
Cloud services
Access to data, dashboards, etc TM4C129 (MCU + Ethernet) LaunchPad RF Booster Pack Ethernet IoT Gateways Your portal to the cloud
LaunchPads
- MSP430F5529 - MSP430FR5969 - MSP430G2 - TM4C123G - TM4C1294 MCU LaunchPad BoosterPack
RF BoosterPacks
- Zigbee - SubGHz RF - Bluetooth - 6LoWPan - NFC Wireless Nodes Connecting your devices CC3200 (MCU + WiFi SoC) LaunchPad RF 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
Slick SW design with SimpleLink™ APIs No Wi-Fi expertise needed Easy Wi-Fi provisioning with SmartConfig ™
Best in class Wi-Fi and Internet security protocols
Low power radio & low power sleep
On chip accelerators enable secure connection easy and fast
Fast wake up & connect
Secure MCU protects customers IP and prevents cloning
Run over 1 year with 2xAA batteries
Benefits for Internet of Things
Industry standard BSD socket APIs for TCP/IP communication Small driver footprint down to 6KB host code Build Internet applications quickly, reuse industry available Internet code Enable integration with low-cost MCUs like MSP430 HW crypto engine for TLS/SSL Internet security Low power radio and advanced low power modes SmartConfig TM Technology world’s best Wi-Fi ® provisioning tool TI modules certified for WW regulatory and Wi-Fi Alliance 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 SimpleLink TM 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 I 2 C, 8 UART, 4 QSPI, 2 CAN, EPI, USB & 2x 12-bit 2MSPS ADCs
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
Get started in minutes
• Integrated USB powered (cable included) in-circuit debug interface • No additional hardware
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 ™ CC3000 BoosterPack SimpleLink ™ CC2541 SensorTag 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
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
Home Appliance
Easily deploy wireless remote access control systems over the Internet or the Enterprise network CC3200 enables secured communication for authentication and delivers low power for battery operation
Access control Block Diagram Sensor LCD Push Button SimpleLink TM CC3200 Cortex M4 Appliance MCU SimpleLink TM CC3100 Camera NFC Radio BT/BLE SimpleLink TM CC3200 Cortex M4
39
IOT End Applications
Application Value Proposition
Add wireless cameras to security systems. Control and monitor the system over the internet CC31xx supports best in class internet security protocols for personal and enterprise applications
Security systems
Use exiting home Wi-Fi network to read the smart meter, thermostat control and smart energy in home display CC3100 enables secure Wi-Fi communication on battery operated devices
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
Internet Gateway Block Diagram Camera Keypad LEDs SimpleLink TM CC3200 Cortex M4 MSP430 TM UI Metrology SimpleLink TM CC3100 BT/BLE 6LoWPAN Zigbee SimpleLink TM CC3200 Cortex M4
40
IOT End Applications
Application Value Proposition
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
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
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
Wireless Audio Block Diagram Application MCU SimpleLink TM CC31xx Relay Metrology LCD SimpleLink TM CC3200 Cortex M4 CODEC Push Buttons LCD SimpleLink TM CC3200 Cortex M4
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 ( [email protected]
) 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 http://bit.ly/MqcL4g ePaper BoosterPack for ultra-low power displays http://bit.ly/1eMWm0P K-type Thermocouple BBQ Companion BoosterPack http://bit.ly/1dYeHa6 http://bit.ly/1fFMBVc Monitor accelerometer wirelessly with CC110L SubGHz RF BoosterPack http://bit.ly/LHrXdg TI Confidential – NDA Restrictions Create a simple HTML web server with CC3000 WiFi BoosterPack Pull live weather info from the cloud using the CC3000 WiFi BoosterPack 48
Thank you!
www.ti.com/launchpad www.energia.nu
temboo.com/hardware/ti
49
BACKUP
50