Skip to content

Heelight Core

Introduction


Heelight Core is a smart sound sensor that can recognize up to 500+ digital voice commands. It was originally used on the Heelight – a smart colorful bulb that can be controlled by digital sound waves. Now we introduce this sensor into the small and neat modules, allow you to control things via sound in your projects.

Features


  • Small Size: 20x17mm
  • 500+ sound commands
  • Android/iOS App
  • Bread board or intrtged into PCBA
  • 10m control distance
  • UART output, default 9600 baudrate

Size


APP


Getting Started with Arduino


First of all, you need to connect relay core to your Arduino, as bellow:

Heelight Core Arduino
GND GND
VCC 3.3V
TX 2
RX 3

Warning

DON'T connect VCC to 5V, otherwise you may damage the module

This is the basic example that can show the ability of the sensor, which is output different hex values in the serial monitor when it receives (or hear) different digital sounds.

// heelight test code
#include <SoftwareSerial.h>

SoftwareSerial heelight(2, 3);  // RX, TX

void setup()
{
    Serial.begin(9600);
    heelight.begin(9600);       // default baudrate is 9600
}

void loop()
{
    while(heelight.available())
    {
        Serial.print(heelight.read(), HEX);
        Serial.print('\t');
        Serial.print(heelight.read(), HEX);
        Serial.print('\t');
        Serial.print(heelight.read(), HEX);
        Serial.print('\t');
        Serial.print(heelight.read(), HEX);
        Serial.println(); 
    }
}

Open the serial monitor, set baud rate to be 9600, then play the sound. We have prepared 511 different digital sounds for you. Every time one sound is played, the heelight sensor will output a hex value correspond to the sound, and the last 2 characters of the hex value is the same as the sounds value.

Reference