From 07619864f678e42509d93841bb5b52398904f140 Mon Sep 17 00:00:00 2001 From: schneefux Date: Sun, 12 Jun 2016 18:06:32 +0200 Subject: post: esp led strip --- .gitmodules | 3 +++ content/tech/esp-ledstrip.md | 23 +++++++++++++++++++++++ content/tech/music-led-visualisation.md | 4 ++++ static/images/esp-ledstrip/.directory | 4 ++++ static/images/esp-ledstrip/back.jpg | Bin 0 -> 144596 bytes static/images/esp-ledstrip/debug.jpg | Bin 0 -> 141818 bytes static/images/esp-ledstrip/glowgreen.jpg | Bin 0 -> 142436 bytes static/images/esp-ledstrip/top.jpg | Bin 0 -> 144504 bytes static/images/music-led/controller.jpg | Bin 0 -> 137466 bytes static/source/esp-ledstrip | 1 + 10 files changed, 35 insertions(+) create mode 100644 content/tech/esp-ledstrip.md create mode 100644 static/images/esp-ledstrip/.directory create mode 100644 static/images/esp-ledstrip/back.jpg create mode 100644 static/images/esp-ledstrip/debug.jpg create mode 100644 static/images/esp-ledstrip/glowgreen.jpg create mode 100644 static/images/esp-ledstrip/top.jpg create mode 100644 static/images/music-led/controller.jpg create mode 160000 static/source/esp-ledstrip diff --git a/.gitmodules b/.gitmodules index 8088915..e08daaf 100644 --- a/.gitmodules +++ b/.gitmodules @@ -10,3 +10,6 @@ [submodule "static/source/jimmie-jammer"] path = static/source/jimmie-jammer url = git://schneefux.xyz/jimmiejammer +[submodule "static/source/esp-ledstrip"] + path = static/source/esp-ledstrip + url = git://schneefux.xyz/esp-ledstrip diff --git a/content/tech/esp-ledstrip.md b/content/tech/esp-ledstrip.md new file mode 100644 index 0000000..6dfcbeb --- /dev/null +++ b/content/tech/esp-ledstrip.md @@ -0,0 +1,23 @@ +--- +categories: +- embedded +date: 2016-06-05 +title: (Almost) Wireless LED strip controller +--- + +After a [failed attempt]({{< ref "music-led-visualisation.md" >}}), I succeeded in building a wireless analog LED strip controller. + +![Glowing led strip around controller](/images/esp-ledstrip/glowgreen.jpg) + +The most important part in this setup is a 12V-3.3V regulator that passes 12V to the transistors and 3.3V to the WiFi chip. Instead of gluing inefficient Darlington transistors on top of CD cases, I used IRFZ44N MOSFETs with a heatsink each on a stripboard. The principle remains the same as with the Arduino. + +![Controller top view](/images/esp-ledstrip/top.jpg) + +There are fewer long cables, which makes the controller more compact and less ugly. + +![Controller back view](/images/esp-ledstrip/back.jpg) + +On the ESP8266 runs a web server with a simple API to change the colors and a UDP listener that allows the Hyperion server to connect. +The Arduino sketch can be found [here](https://git.schneefux.xyz/?p=esp-ledstrip;a=blob;f=esp-ledstrip.ino). + +![Controller attached to FTDI](/images/esp-ledstrip/debug.jpg) diff --git a/content/tech/music-led-visualisation.md b/content/tech/music-led-visualisation.md index f7d5c12..7aeba80 100644 --- a/content/tech/music-led-visualisation.md +++ b/content/tech/music-led-visualisation.md @@ -23,3 +23,7 @@ Well… that didn't work out quite well. I used Arduino Unos instead. ![Failed attempt of connecting an ESP8266](/images/music-led/controller-failed.jpg) _Do not reproduce, this fries the ESP…_ + +![Arduino controller](/images/music-led/controller.jpg) + +_The controller in use_ diff --git a/static/images/esp-ledstrip/.directory b/static/images/esp-ledstrip/.directory new file mode 100644 index 0000000..55371b4 --- /dev/null +++ b/static/images/esp-ledstrip/.directory @@ -0,0 +1,4 @@ +[Dolphin] +PreviewsShown=true +Timestamp=2016,6,12,17,55,41 +Version=3 diff --git a/static/images/esp-ledstrip/back.jpg b/static/images/esp-ledstrip/back.jpg new file mode 100644 index 0000000..306d4c6 Binary files /dev/null and b/static/images/esp-ledstrip/back.jpg differ diff --git a/static/images/esp-ledstrip/debug.jpg b/static/images/esp-ledstrip/debug.jpg new file mode 100644 index 0000000..d44a549 Binary files /dev/null and b/static/images/esp-ledstrip/debug.jpg differ diff --git a/static/images/esp-ledstrip/glowgreen.jpg b/static/images/esp-ledstrip/glowgreen.jpg new file mode 100644 index 0000000..3a95a47 Binary files /dev/null and b/static/images/esp-ledstrip/glowgreen.jpg differ diff --git a/static/images/esp-ledstrip/top.jpg b/static/images/esp-ledstrip/top.jpg new file mode 100644 index 0000000..bdea203 Binary files /dev/null and b/static/images/esp-ledstrip/top.jpg differ diff --git a/static/images/music-led/controller.jpg b/static/images/music-led/controller.jpg new file mode 100644 index 0000000..7d77409 Binary files /dev/null and b/static/images/music-led/controller.jpg differ diff --git a/static/source/esp-ledstrip b/static/source/esp-ledstrip new file mode 160000 index 0000000..8fde1af --- /dev/null +++ b/static/source/esp-ledstrip @@ -0,0 +1 @@ +Subproject commit 8fde1af539ae88a06343b7cfe08d4ed5dc1011d8 -- cgit v1.3.1