Testing the Sensor Hub Booster Pack with TI Tiva Connected Launchpad

Tiva C Launcpad and Sensor Hub

My Texas Instruments Tiva Connected Launchpad is the first gift I received from Texas Instruments, for my active participation at their TI Engineer to Engineer forum. I was not a member yet of the TI E2E MVP’s when I received my Tiva Connected Launchpad. To be honest, receiving the Tiva Connected Launchpad is the first thing I have received from helping people in the internet. So, I was a little bit happy when I got that.

The Sensor Hub Booster Pack I got later on when I was already a member of the TI E2E MVP’s. A TI engineer who is a member of the Booster Pack Team and also at the same TI E2E MVP group as I am, offered Launchpad. But, I requested a booster pack instead, as I already have a Tiva Connected Launchpad.

The Sensor Hub was first introduced with the use of Tiva Launchpad. The Tiva Launchpad is the earlier version of Tiva Connected Launchpad with less features and no Ethernet connectivity.

As usual to learn the Sensor Hub Booster Pack, I started with the Sensor Hub Booster Pack Getting Started Guide. This turned out to be a disappointment. There indicated at the guide to demo the Sensor Hub with the Tiva Launchpad as an airmouse. Demoing the airmouse example program, you are able to do mouse functions by doing some movements with the Tiva Launchpad and the Sensor Hub. Checking the example programs of Tivaware for Tiva Connected Launchpad, there are none exist of any airmouse example program. Upon further confirmation at TI E2E Forum by a TI Engineer, there isn’t really any.

The Sensor Hub Booster Pack has 5 sensors connected using I2C interface. Care should be taken to which Booster Pack connector of the Tiva Connected Launchpad the Sensor Hub should be placed. Also, need to check if I2C standards are met to ensure proper communication of the Sensor Hub Booster Pack to the Tiva Connected Launchpad.

Based from the Sensor Hub Library of Tivaware for Tiva Connected Launchpad, the Sensor Hub Booster Pack should be connected at Booster Pack connector 1  of the Tiva Connected Launchpad. You, can quickly verify this by checking the initialization part of the program.

Here below is the pin connections table of Tiva Connected Launchpad Booster Pack 1 Connector and Sensor Hub Booster Pack:

Sensor Hub Pin Connections

The highlighted as “pink” at the tables are conflicts based from the Sensor Hub Booster Pack User’s Manual. This is a document error and should be updated. The relevant pins anyway to test the Sensor Hub Booster Pack are the I2C SDA, I2C SCL, INT TEMP, INT MOTION, GND, and 3.3V. Upon verifying all the necessary pin connections, I am confident enough to power up my Tiva Connected Launchpad with the Sensor Hub.

Close up picture of the connection of Sensor Hub Booster Pack to Tiva Connected Launchpad Booster Pack 1 Connector:

IMG_0085

Using LM Flash Programmer I load the binary files of the example programs for the sensors at Sensor Hub Booster Pack. I also have debug one of the example programs using Keil Uvision without any problems.

Output at Tera Term with the TI TMP006 non-contact infrared temperature sensor:

tmp006

Output at Tera Term with the Intersil ISL29023 ambient and infrared light sensor:

light

Output at Tera Term with the Sensirion SHT21 humidity and ambient temperature sensor:

humidity

Output at Tera Term with the Bosch Sensortec BMP180 pressure sensor:

pressure_bmp180

Output at Tera Term with the InvenSense MPU-9150: 9-axis MEMS motion tracking:

gyro

As proven by one of the E2E forum members there is a problem with the Sensor Hub Library for InvenSys MPU-9150. No fix yet has implemented at this blog post writing

Links about the Texas Instruments Tiva Connected Launchpad:

Tiva C Series TM4C1294 Connected LaunchPad

Links about the Texas Instruments Sensor Hub Booster Pack:

Sensor Hub BoosterPack

Links about Texas Instruments Booster Pack:

TI Booster Packs

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s