ESP8266 + nRF24L01 MiLight gateway PCB sandwich

The MiLight gateway is a simple PCB to be used with the open-source milight gateway software by Chris Mullins.

Long time ago I’ve bought some of these MiLight RGB LED bulbs to control them with a raspberry pi and the openmilight project (see link at bottom).
That did not work very well so I was looking for a better solution – and found it right there:

http://blog.christophermullins.com/2017/02/11/milight-wifi-gateway-emulator-on-an-esp8266/

In addition to this software project I created this PCB with minimal components, as I wanted to install it as permanent solution.
This is the very first PCB I created using KiCad after migrating from Cadsoft(now Autodesk) Eagle.

DIY kits to build your own minified standalone MiLight Gateway will be available in my shop soon!

Part list:

  • ESP12E/ESP12S
  • nRF24L01+ module
  • AMS1117-3.3V
  • SMD Mini-USB port or 2x male pin headers
  • 2x 10µF 0805 capacitor
  • 2x4pin female pin header
  • optional: 1x5pin male/female pin header

Assembly Instructions

  1. Solder the ESP12S module
    You can use some double-sided tape to hold it in place while soldering.
  2. Solder SMD components
    These are only an AMS1117 power regulator and two capacitors. The Micro-USB connector can also be added at this step.
  3. Mount pin headers
    The 2×4 female pin headers are used to connect the nRF2401 which controls the MiLight bulbs.
    The 1×5 and 1×2 pin headers are optional and serve for power supply and/or programming the ESP8266.
  4. Attach the nRF2401 and power it up
    Use a 5V voltage source or an USB port.

On first boot it will create an insecure wifi access point called “ESP-xxxxxx”.
Connect and navigate to http://192.168.1.4. Now follow the setup wizard.

Front:

ESP12F and pin headers for serial / nRF2401 / power supply

Back:

voltage regulator & micro usb (power supply only)

Links

Chris Mullins blog post: http://blog.christophermullins.com/2017/02/11/milight-wifi-gateway-emulator-on-an-esp8266/

OpenMili hackday project: https://hackaday.io/project/5888-reverse-engineering-the-milight-on-air-protocol

Software: https://github.com/sidoh/esp8266_milight_hub

PCB design files: https://github.com/manuel-domke/esp8266_milight_hub/tree/master/kicad

Shared project on OSHPark: Order from OSH Park

5 thoughts on “ESP8266 + nRF24L01 MiLight gateway PCB sandwich

  1. Are these available pre built with software already flashed please ? Ship to UK ?

    1. Sorry, it is not available yet.

      But you can build your own using the supplied open-source schematics and PCB layout.

  2. Me too waiting for update of this project since I’m very interested in

    1. Hi Elenio,

      The PCB available as an development kit – preflashed with the NodeMCU firmware, but it’not become a finished device, so you still have to program it with Chris’s firmware and add an nRF2401 module to build this project.

      https://13-37.org/en/shop/milight-gateway-diy-kit/

      1. Thank you

Leave a Reply

Your email address will not be published. Required fields are marked *

By further using this website, you agree to our use of cookies. More Information

Die Cookie-Einstellungen auf dieser Website sind auf "Cookies zulassen" eingestellt, um das beste Surferlebnis zu ermöglichen. Wenn du diese Website ohne Änderung der Cookie-Einstellungen verwendest oder auf "Akzeptieren" klickst, erklärst du sich damit einverstanden.

Schließen