Introduction: ESP32 Bluetooth Ambience Light Controller With WS2812 LED Strips.

Picture of ESP32 Bluetooth Ambience Light Controller With WS2812 LED Strips.

ESP32 is a feature rich chip with lots of built in features. We will use these to create ambience lighting and control it with smartphone app.

We will use two of the built-in components to build Hornbill Lights. In this tutorial we will make use of the built-in remote peripheral to drive the WS2812 LEDs with Hornbill ESP32 and then build a cross platform app using cordova-ionic to control the LEDs. The app speaks with the Hornbill ESP32 with Bluetooth Low Energy (BLE).

Step 1: Components:

Picture of Components:

The Hornbill Lights Kit Comes with all the parts required to build the project. You may use any other ESP32 boards and parts as per schematic.

  • WS2812 LED Strip. 5 meters in length uses 150 LEDs.
  • Power Supply, 10A.
  • Hornbill Lights Kit
  • Hornbill ESP32 Dev Board
  • Hornbill Proto Board
  • Other Passive components as per schematic.

If you're looking to build this without much scouting for parts and at an affordable cost, get the kit at our campaign.

Step 2: Schematic

Picture of Schematic

Step 3: Code :

Indestructible code formatting is broken, so find the Arduino Code with the link below:

Step 4: App :

Picture of App :

The Hornbill Lights App can be used to set any color depending on your mood or run light effects like rainbow. The app is still not published on the app store. However if you're using an Android Phone you may download the .apk file from repository (links in the download section).

Step 5: Installation :

Picture of Installation :

I would recommend using aluminum brackets to to install the strips with plastic caps. This serves dual purpose of heat dissipation and light refraction. Like the one shown in the Image below.

Step 6: Demo :

Picture of Demo :


About This Instructable




Bio: We make Embedded Design tools, boards, sensors, peripherals, DIY kits and awesome tutorials. We also help companies and individuals prototype embedded electronics.
More by ExploreEmbedded:Power and Temperature Data Logger With ESP32 and AWS IOTSecure IOT With AWS and Hornbill ESP32 Using Arduino.ESP32 Bluetooth Ambience Light Controller With WS2812 LED Strips.
Add instructable to: