Very advanced Click Air Quality example for Hexiwear featuring OLED Display, Bluetooth, Cloud and Touch

Dependencies:   Hexi_KW40Z Hexi_OLED_SSD1351

This project has been developed by mbed user daveyclk

This project demonstrates the use of the Mikroelektronika Click Air Quality module with hexiwear featuring the OLED display, the Bluetooth for Cloud connectivity and Touch buttons

Plug Hexiwear into the Docking Station and the Air Quality Click to the Click Socket 1
Connect the USB cable to your computer and to the micro-USB port of the Docking Station

Compile the project and copy the binary "Hexi_Click_AirQuality_Example_HEXIWEAR.bin" in the DAP-LINK drive from your computer file explorer
Press the K64F-RESET button on the docking station to start the program on your board

The OLED screen will display some graphics and the Air Quality measurement in ppm below
Blow gently on the sensor and see the value changing
Graphic displayed will move the Arrow from Green to Purple depending from the ppm value measured by the Air Quality sensor
Download the cell phone App Hexiwear from iOS or Android stores to connect your board to your phone
Type the pin displayed on the screen and give a name to your board to pair it via the App
Congratulation your data are now streamed directly to Wolkabout Cloud...
To visualize the data remotely (over cloud not bluetooth), you can go to Wolksense.com or download the Wolksense iOS/Android App and login with same account

Committer:
GregC
Date:
Fri Nov 04 23:11:29 2016 +0000
Revision:
3:97bc87323258
Parent:
0:4cf89612afab
Very advanced Click Air Quality example for Hexiwear featuring OLED Display, Bluetooth, Cloud and Touch

Who changed what in which revision?

UserRevisionLine numberNew contents of line
GregC 0:4cf89612afab 1 /* Hexiwear NXP Bitmap Images
GregC 0:4cf89612afab 2 * This file contains the bitmaps for the full screen (96 by 96 pixels) NXP logo
GregC 0:4cf89612afab 3 * and a smaller 96 by 32 pixels NXP logo.
GregC 0:4cf89612afab 4 *
GregC 0:4cf89612afab 5 * Redistribution and use in source and binary forms, with or without modification,
GregC 0:4cf89612afab 6 * are permitted provided that the following conditions are met:
GregC 0:4cf89612afab 7 *
GregC 0:4cf89612afab 8 * Redistributions of source code must retain the above copyright notice, this list
GregC 0:4cf89612afab 9 * of conditions and the following disclaimer.
GregC 0:4cf89612afab 10 *
GregC 0:4cf89612afab 11 * Redistributions in binary form must reproduce the above copyright notice, this
GregC 0:4cf89612afab 12 * list of conditions and the following disclaimer in the documentation and/or
GregC 0:4cf89612afab 13 * other materials provided with the distribution.
GregC 0:4cf89612afab 14 *
GregC 0:4cf89612afab 15 * Neither the name of NXP, nor the names of its
GregC 0:4cf89612afab 16 * contributors may be used to endorse or promote products derived from this
GregC 0:4cf89612afab 17 * software without specific prior written permission.
GregC 0:4cf89612afab 18 *
GregC 0:4cf89612afab 19 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
GregC 0:4cf89612afab 20 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
GregC 0:4cf89612afab 21 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
GregC 0:4cf89612afab 22 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
GregC 0:4cf89612afab 23 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
GregC 0:4cf89612afab 24 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
GregC 0:4cf89612afab 25 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
GregC 0:4cf89612afab 26 * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
GregC 0:4cf89612afab 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
GregC 0:4cf89612afab 28 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
GregC 0:4cf89612afab 29 *
GregC 0:4cf89612afab 30 * visit: http://www.mikroe.com and http://www.nxp.com
GregC 0:4cf89612afab 31 *
GregC 0:4cf89612afab 32 * get support at: http://www.mikroe.com/forum and https://community.nxp.com
GregC 0:4cf89612afab 33 *
GregC 0:4cf89612afab 34 * Project HEXIWEAR, 2015
GregC 0:4cf89612afab 35 */
GregC 0:4cf89612afab 36
GregC 0:4cf89612afab 37
GregC 0:4cf89612afab 38 #include "stdint.h"
GregC 0:4cf89612afab 39
GregC 0:4cf89612afab 40 extern const uint8_t AirQuality[];