Close

Lights over WiFi!

A project log for esp8266 Futuristic Hex Wall

A series of 3d printed hexagonal panels outfitted with a number of 24-bit neopixel LEDs provide the backdrop to my invention room.

josh-coleJosh Cole 02/11/2019 at 03:180 Comments

In between the prototyping and the 3d printing and the sleeping, I've been working on an API to control the lights remotely. I may have gone a tiny bit overboard with the amount of features I ended up supporting, but I think it will be worth it.

You can find all the code here: https://github.com/SharpCoder/wifi-neo-pixels

(I'm working on documenting my code and adding a README. It'll be there eventually).

Here is what that code gets you:

The device I have this running on is an ESP-12E (Node MCU). I picked up a 4-pack for a shocking 19$ USD. I'm pretty shocked at how cheap these things are because they seem to be amazing so far for my needs.  (Find them here on Amazon)

Anyway, I'll conclude this update with a brief explanation for how to use my code.

Step 1  - configure the port / SSID / password

   This is done in the file webServer.h - at the top, you can tweak the #defines.

Step 2 - That's basically it. Just flash your 8266-compatible arduino (with supported Adafruit NeoPixel and relevant esp8266 libraries included) with my .ino file and the modifications made to the #defines and you should be up and running!

As soon as your board connects to the WiFi, it will stage a server and expose the routes that I have listed above.

I can't wait to see the neo pixels actually mounted to some panels! That's going to happen very soon. Stay tuned! 

Here is a silly, uninformative video demonstrating the neopixel lights changing color as I click things on my browser.

Discussions