1.0Initial Release
1.9

Added WICED Sense Android Source Code Walk-Thru and iOS Source Code version 1.1

03/10/15

 

Welcome to the WICED Sense BLOG.

WICED Sense Kit Beginners Guide:

WICED Sense Kit Smart Phone Application:

 

WICED Sense Kit using SDK 2.2:

WICED Sense Kit:

 

Please refer to the WICED Sense documents are located here: WICED Smart Documents & Downloads

 

WICED Sense Beginners Guide:

  1. Removing the Battery and WICED Sense Kit Board

Remove_Battery1.JPG

Remove_Battery2.JPG

 

 

WICED Sense SDK Beginners Guide:

  1. SDK 2.1.1 Download
  2. WICED Sense BLOG, Design Files, iOS Source Code
  3. Installation of the Silicon Labs USB-UART Drivers
  4. Connecting the WICED Sense Kit to the USB Cable
  5. Creating a SDK Project for the WICED Sense Kit
  6. Compiling and Downloading the WICED Sense Firmware to WICED Sense Kit.

 

 

WICED Sense Recovery:

  1. Connect the USB Cable to the Kit
  2. Locate the COM Port enumerated by your PC

 

The Recovery Process uses either the COM35 or COM36 ports in our case.

In the SDK Make Target, the recover port is COM35 and we edit the WICED Sense Target as shown below:

Before using the SDK to Recover, we need to place the Kit in Recovery Mode by pressing the sequence of Rest and Boot Buttons as follows:

 

Now we click the Make Target Recovery button and we should see the following:

 

WICED Sense Modification for Debug:

  1. After programming the WICED Sense Kit with your application you will need to remove the resistor highlighted below to add debugging using a TeraTerm Window.
  2. Caution: Remember to Re-Install the resistor to reprogram the device.

 

Resistor_Removal_Debug_TeraTerm.png

 

WICED Sense Code Walk-Thru:

 

 

Procedure for running the WICED Sense TAG on USB Power:

  1. Remove the USB cable after you have successfully programmed the Tag
  2. Leaving the Battery cover off in this process, press the battery into the battery socket until you see the RED Led turn on

P9250930.JPGP9250931.JPG

 

3. While holding the battery with your fingers making the battery connection, insert the USB Cable in the Tag

P9250932.JPG

4.  Release your finger from the battery, letting the battery drop out of the socket and you are now running the Tag from the USB Power

P9250934.JPG

 

 

 

Introduction to WICED Sensors

 

The following STMicro Sensors are used:

 

Please refer to the STMicro Web site for details on Sensor Data Sheets.

 

 

The iOS App receives notifications in this format:

 

 

OTA_Sensor_Packets.JPG

 

struct
{
/// Bit mask of sensor data
/// Bit 0: When set, accelerometer included X (2 signed bytes), Y (2 signed bytes) and Z (2 signed bytes).
/// Bit 1: When set, gyro included X (2 signed bytes), Y (2 signed bytes) and Z (2 signed bytes).
/// Bit 2: When set, humidity included (2 unsigned bytes in percentage).
/// Bit 3: When set, magnetometer included X (2 signed bytes), Y (2 signed bytes) and Z (2 signed bytes).
/// Bit 4: When set, pressure included (2 bytes, pressure in mBar * 10)
/// Bit 5: When set, temperature included (2 unsigned bytes, temperature in C * 10).
UINT8    included_sensor_data;
/// sensor data.
/// Data included in the order of the bits set.
/// Max length is 20 bytes, may be smaller when data for only some sensors is included
///        in the notification.
/// Notifications sent out when enabled
/// Notifications for Sensor Notification characteristic value (handle 0x2A)
UINT8    sensor_data[];
};

 

Android App Released:

The WICED Sense App for Android is now available on Google Play...

 

JB 4.3 Work-Around:

WICED Sense Android Pairing Work-Around

 

iOS Application designed by www.DittyLabs.com

 

 

Thank you.

 

JT