Iot Hexsense

Made by Ashok R

About the project

Sensing node for home automation.

Project info


Estimated time:

3 weeks


16th August 2018

Items used in this project

Hardware components

Tiny Breadboard x 2
ESP32 WiFi-BT-BLE MCU Module / ESP-WROOM-32 x 1
NXP Hexiwear x 1

Software app and online services

ThingSpeak API


IoT Hexsense is a sensor node device based on Hexiwear. Its specially designed for Home or Industrial automation.The Hexiwear comes with various sensors. All the sensors and status information are transfer to cloud. Esp8266 is the module , interfaced with Hexiwear to push the data into cloud and vice versa.

Bluetooth is optional in this project , it can be used for configuration and access/ control in offline mode.

ESP8266 uses two different channels for read and write from the cloud. The interval for cloud update is 0.07 Hz.

Thingspeak server is used here for data management in a single channel. All the sensors data and Lights status are recorded here. Also i made an android app where you can control the Lights & reads sensors (temperature , pressure & humidity) from anywhere.

I have made my own version of PCB plugin board for ESP8266 , which fits into the Hexiwear docking station. ESP8266 is connected with MK64 UART3 (PTC16 & PTC17). To control the lights (LED), two pins are taken out (PTD8 & PTD9). Nothing much changes in hardware.

Android application is based on HTTP/1.1 requests, Its user friendly and generic where anyone can use it with their own "Thingspeak" API Keys. It will be available soon in google play.

The demo video is here


Iot Hexsense - Schematic


Iot Hexsense - Code

Add this code to MK64 Project

Leave your feedback...