Getting Started With The Internet of Things (IoT) Using The Texas Instruments CC3200
Getting Started With The Internet of Things (IoT) Using The Texas Instruments CC3200
Monday, June 15
2:15 – 3:45 pm
Room 606 Presenter: Dr. Thad B. Welch, P.E.
But before we start - a quick survey
• Educator
• Teaching assistant
• Student
• You teach microprocessors
• You teach communications
• You teach a project-based course
• You own an IoT device
• None of the above …
2
Outline
• Quickly … what is the IoT?
• Hardware hands on with Energia … coding example to
make an LED blink
• How to configure your personal development system
• Continued … what is the IoT?
• TEMBOO Yahoo weather example
• Weather example … extended
• Creating a simple APP
3
Quickly … what is the IoT?
50 billion
Things connected devices
by 2020
on the Internet
Things talk to
each other and
Connected the Internet
Things Things talk
directly to the
Internet
Things
No direct
connection to
the Internet
Time
6
7
Hardware Hands On
• Verify board configuration
• Jumpers are correct
• Plugged into the computer
• Launch Energia
• Run the example, File – Example – Basics – Blink
• LED on the CC3200 should now be blinking
• Let’s quickly look at the code
Architecture MCU +
MCU RF MCU RF Appl
RF MPU
Stack
Appl Appl Appl
Example CC430 CC3100 + MSP430 F5xx CC2560 + MSP430 F5xx; WL18xx + AM335x +
CC3200 TRF79xx MSP430 F5xx
MCU Memory Max Min Max Task-dependent
needs
MCU Flexibility/ Min Max Middle Max
Scalability
HW crypto engine for Establish TLS connection in 150mSec for fast and
TLS/SSL Internet security secured user experience
{
Hardware & Software
} 15
The LaunchPad Concept
Rapidly Prototype
TI Solutions with
Modular Hardware,
Intuitive Software,
& Community Support
16
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. 17
• Low-cost LaunchPad kits from MSP430, MSP432, TM4C, C2000, Hercules & Connectivity
starting at $9.99
• Open designs & modular hardware enables developers to create complete TI-enabled
system solutions
• Add power management, wireless capabilities, sensors, displays & more to your TI MCU-
based LaunchPad by stacking multiple BoosterPacks. Ranging from $10-$60
• Hundreds of code examples to get up and running quickly using intuitive software tools
18
Why TI LaunchPad is better?
• Price • Performance and Variety
• HW Debugger • Multiple supported SW paths
• TI online resources
19
LaunchPad is TI’s Common Denominator
Modular hardware enables developers to explore new ideas quickly
K-type Monitor
Thermocouple accelerometer
BBQ Companion wirelessly with
BoosterPack CC110L SubGHz RF
http://bit.ly/1eMWm0P
http://bit.ly/1fFMBVc BoosterPack
21
www.launchyourdesign.com
SimpleLink™ Wi-Fi® CC3200 LaunchPads
ARM® Cortex™ M4 based SoC with integrated Wi-Fi connectivity
Target MCU: CC3200 & CC3200MOD
BoosterPack Pinout: 40-pin
Specs:
• 80MHz
• external Flash support / 256 kB RAM
• Wi-Fi 802.11b/g/n standards
• Station, AP, and Wi-Fi Direct Roles
• ADC, I2S, I2C,UART, SPI
TM4C129 CC3200
(MCU + (MCU +
Ethernet) RF IoT Gateways WiFi SoC) RF
LaunchPad Booster LaunchPad Booster
Your portal to the cloud
Pack Pack
Ethernet WiFi
LaunchPads MCU RF BoosterPacks
- MSP430F5529
- MSP430FR596
LaunchPad - Zigbee
- SubGHz RF
Wireless MCU + MCU + RF SoC
LaunchPads
- MSP430G2 - Bluetooth Nodes RF SoC
- CC3200 MCU + WiFi
- MSP432P401R
BoosterPack - 6LoWPan Connecting your LaunchPad
- TM4C123G - NFC
- TM4C1294 devices
CODE!
For FREE! 25
LaunchPad Software Tools
Making it easier & providing multiple points of entry
Rapid Prototyping Evaluation Advanced
Intuitive coding environment Fast start & no installation Full debug capability & more
• Simplified interface provides an • Browser based code editing tool • Set breakpoints, watch variables,
easy-to-use code editor, serial to get you started quickly (MSP430 step through code & more
monitor & compiler and MSP432 supported at this time)
Import Energia projects
Highly-abstracted API framework Use Energia, TI-RTOS & more • Need more features from your
• Functional APIs make it easy for • Cross Platform and allows you to development environment?
developers to start controlling hardware upload firmware using TI Cloud Agent Seemlessly import your Energia
Community-driven Resource Explorer integration sketches into Code Composer Studio!
• Completely open source & driven by • Access Resource Explorer to get
the community the latest code examples, design
files, and more.
• IDE | Language | Community
29
Code Composer Studio Cloud
• Browser based code editing tool
to get your started quickly
http://dev.ti.com 30
Code Composer Studio 6
• Eclipse-based IDE for professional
firmware developers that supports
all TI processors
32
The Community
www.43oh.com http://e2e.ti.com
33
The Community
Get support from TI & the online 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
• www.43oh.com
• ~20,000 active members
• ~60 forum users online at any given time!
• Active & friendly online community & blog for the
LaunchPad ecosystem!
• Home to much of the Energia community
Cloud Demo(s)
36
Weather … continued
• Let’s prototype a pushbutton activated getWeather
device that queries Yahoo Weather for data
• Sign up for Temboo
• Open the lab solution in Energia and modify for our
Wi-Fi Access Point. Upload to the LaunchPad
• When you push SW2 you will see the weather info in
your serial monitor.
38
Where to go next: www.ti.com/launchpad
TI’s official LaunchPad portal
www.energia.nu
www.temboo.com/hardware/ti
Backup
42
CC110L Sub-1GHz RF BoosterPack (433, 868, 915MHz)
Start developing wireless applications immediately!
• Manufacturer: Anaren / TI
• Part #: 430BOOST-CC110L
• MSRP: $19.99 (includes 2 RF BoosterPacks!)
• Feature List:
– Based on TI CC110L SubGHz RF transceiver
– SPI interface between RF module & MCU
– FCC/IC certified module
– Includes AIR BoosterPack Stack software
– Enabling Star network & p2p topologies
– Includes pre-programmed MSP devices 43
49
BoosterPack pinout standard (ti.com/byob)
The BoosterPack pinout standard enables:
- Cross-compatibility between LaunchPads &
BoosterPacks
- BoosterPack stackability to create more complex
solutions
- The same BoosterPack can work across multiple
LaunchPads
52
CCS Cloud & Resource Explorer
• Changing how developers
engage their environment
• Instant evaluation of TI
products
53
WiFi-connected NFC/RFID = + +
tag reader
WiFi-connected NFC/RFID = + +
tag reader