element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
In the Air Design Challenge
  • Challenges & Projects
  • Design Challenges
  • In the Air Design Challenge
  • More
  • Cancel
In the Air Design Challenge
Blog [AirCare] InTheAir - Week 4: Using the CC3200
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: fvan
  • Date Created: 20 Nov 2014 6:52 PM Date Created
  • Views 2445 views
  • Likes 1 like
  • Comments 11 comments
  • eclipse_iot
  • mqtt
  • openhab
  • beaglebone_black
  • internet_of_things
  • in_the_air
  • texas_instruments
  • iot_sensor_nodes
  • cc3200
  • launchpad
Related
Recommended

[AirCare] InTheAir - Week 4: Using the CC3200

fvan
fvan
20 Nov 2014

Previous posts for this project:

  • [AirCare] InTheAir - Project Description
  • [AirCare] InTheAir - Week 1: Getting a Launchpad to Blink
  • [AirCare] InTheAir - Week 2: Preparing the Beaglebone Black
  • [AirCare] InTheAir - Week 3: Fuel Tank Testing

 

  • Introduction
  • Getting Started Guide
  • Out Of Box
  • MQTT

 

Introduction

 

I'm not feeling the Launchpad love ... yet. The biggest struggle so far has been the software:

  • CCS only available on Windows
  • Latest MSP430 with EnergyTrace not supported on Mac
  • Can't get the CC3200 to work with Energia on Mac either

 

I'm not giving up yet though! I got some news from the TI people at electronica last week, stating the following:

  • A new version of Energia should be coming out any time now, supporting the MSP430 with EnergyTrace on Mac
  • A CCS(-like) version for Mac is expected to be released by the end of the year

 

So until then, I'm stuck with my Windows machine in order to make some progress.

 

I've been playing around with the CC3200 with both CCS and Energia. These were my tests ...

 

Getting Started Guide

 

What better place to start than the "Getting Started" guide ? Well, There is this extremely nice post by shabaz : CC3200 "Internet-on-a-Chip" Getting Started Guide – Part 1

 

Following the instructions from both sources, I set up Code Composer Studio, flashed the CC3200 with the latest software version and got my first sample program running: "wlan_station".

The wlan_station example has the CC3200 connect to the network, ping the gateway and ping an external host (ti.com I believe), lighting up an LED for every successful test.

image

 

I won't repeat all the steps performed here, as they are already very clearly documented, and this would only result in duplication of information.

 

Out Of Box

 

Using CCS, I then loaded the OOB (Out Of Box) program back on the CC3200 and experimented with that for a little bit.

 

Connecting to the CC3200's access point, some demos are accessible:

  • sprinkler simulator
  • washing machine/dryer monitor
  • door alarm
  • thermostat simulator

 

That was nice and working well, but I wanted to have the CC3200 connect to my home network instead of having to go through the CC3200 access point.

 

I came across a tutorial video, where a smartphone app is used to connect the CC3200 to a wireless network. There is an app available for Android and iOS.

 

imageimageimageimage

 

The first step is to enter the data of your wireless home network, after pressing start, the application discovers the CC3200 and has it connect to the home network.

The CC3200 can then be selected from the list of discovered devices and the OOB example can be accessed over the home network instead. Finally something that was rather straightforward.

 

 

MQTT

 

I was feeling adventurous and thought I'd take it a step further: get the CC3200 to talk MQTT.

 

A while back, kartben posted some videos on getting MQTT with Paho on the CC3200 by modifying the OOB example. The videos are very clear and guide you step by step through the setup of CCS and Paho, and which modifications to make to the code. But ... for some reason, that doesn't seem to work for me. Either I did something wrong, or ... I don't know, I probably did do something wrong. There are no compilation errors, and the code seems to run fine, but I'm not getting the MQTT messages.

 

I wanted to get MQTT working! Searching the web for answers, I came across a MQTT sketch on the Energia website. As I mentioned before, the CC3200 is not detected on my Mac, so I used it on my Windows machine.

 

After installing the library and tweaking the example sketch, MQTT was working! At last! Not the way I originally intended for it to work, but at this stage and with my current level of frustration, this is more than good enough.

 

imageimage

 

With this finally working on the CC3200, my stress and frustration levels should decrease, enabling me to try and understand what went wrong. *deep breath*

  • Sign in to reply

Top Comments

  • pmohan
    pmohan over 10 years ago in reply to fvan +2
    hi, I ran in to the same issue with the CC3200 board i received few days back. Been researching this and it seems like OS X Yosemite excepts all driver libraries to be signed. The original FTDI drivers…
  • mcb1
    mcb1 over 10 years ago +1
    my stress and frustration levels should decrease, enabling me to try and understand what went wrong Been there before, and it's quite amazing how it impacts on your ability to think the problem through…
  • tomaja
    tomaja over 10 years ago +1
    Hi Frederick! You seem to be ahead of other contestants, at least ahead of me That puts you in a position where you are always the first one to face some problem and once you solve it, life gets easier…
  • pmohan
    pmohan over 10 years ago in reply to fvan

    @fvan

     

    By the way, i think i just now damaged some of the ADCs on the analog pins on my Rev 4.1 board. I will have to check my board tomorrow image

     

    Seems like the ADCs can take only 1.4v.. Watch out for it.

     

    See this from the TI forum:

    "Yes inputs higher than 1.4 V can damage the ADC. Yes there is no 1.4 V output, I can understand the problem so to power a sensor you need to do some scaling."


    Having trouble with ADC on CC3200 - SimpleLinkTm WiFi CC31xx/CC32xx Forum - Wireless Connectivity - TI E2E Community

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • fvan
    fvan over 10 years ago in reply to pmohan

    Well, welcome then, I'm glad you like my blogs!

    Hopefully, I'll be able to help you out at some point as well image

     

    Frederick

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • pmohan
    pmohan over 10 years ago in reply to fvan

    Glad to be of help. I am new here and i love the way your blogs are structured. Good luck with your project.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • fvan
    fvan over 10 years ago in reply to pmohan

    Hi Mohan,

     

    that did the trick! The CC3200 appears as a serial device, and I'm able to upload sketches.

     

    Cool, I'll finally be able to make progress image

     

    Thanks!

    Frederick

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • pmohan
    pmohan over 10 years ago in reply to fvan

    hi,

     

    I ran in to the same issue with the CC3200 board i received few days back. Been researching this and it seems like OS X Yosemite excepts all driver libraries to be signed. The original FTDI drivers from the FTDI website do not have the CC3200 device listed in its supported devices list. So the energia team included the CC3200 and created the new driver lib that is linked to be downloaded from energia web site. But with OS X yosemite, this version of the FTDI library doesn't get loaded because it was unsigned. I believe there is a signed library available at the following location:

     

    http://t.co/tEnIKYmrCB

     

    Please try this out. If it doesn't work, please try the instructions provided by Tronix117 to get the kextloader to go in to developer mode.

     

    https://www.bountysource.com/issues/5455721-cc3200-fdti-extension-needs-to-be-signed-to-work-on-osx-yosemite

     

    I tried the developer mode and my cc3200 is now recognized on OS X. I haven't tried uploading any of the example apps yet.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube