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

Categories: DIY

2 Comments

Kets · December 4, 2017 at 11:34 pm

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

    manuel · December 5, 2017 at 2:22 pm

    I’m sorry, but this product is not available yet.

    We’re still working on compliance testing and wifi certification. I’ll let you know when its done!

    You’re always free to build your own using the supplied open-source schematics and pcb layout.

Leave a Reply

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

Related Posts

DIY

MIDI Biodata Sonification Device – Settings menu for the MIDI Sprout

The MIDI Biodata sonification device (also known as MIDI Sprout, by DataGarden) is a great device to make music using plants. Here I describe how to apply the firmware of the very similar Biodata Sonification Read more…

DIY

Improved firmware for ESP8266 LED Dimmer

Last year, I built two units of the ESP8266 WiFi LED Dimmer Hackaday project by Tom Clement. Ordered the PCB’s for the project from ALLPCB and unexpectedly received 22 boards. Thats why I started to sell Read more…