summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2016-06-12 18:06:32 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2016-06-12 18:06:32 +0200
commit07619864f678e42509d93841bb5b52398904f140 (patch)
treedce2a412c52c55bc2afd7c0c07634e0825600942
parent8bc1574a86a170e6414ceefd274ac9dc8912d77b (diff)
downloadblog-07619864f678e42509d93841bb5b52398904f140.tar.gz
blog-07619864f678e42509d93841bb5b52398904f140.zip
post: esp led strip
-rw-r--r--.gitmodules3
-rw-r--r--content/tech/esp-ledstrip.md23
-rw-r--r--content/tech/music-led-visualisation.md4
-rw-r--r--static/images/esp-ledstrip/.directory4
-rw-r--r--static/images/esp-ledstrip/back.jpgbin0 -> 144596 bytes
-rw-r--r--static/images/esp-ledstrip/debug.jpgbin0 -> 141818 bytes
-rw-r--r--static/images/esp-ledstrip/glowgreen.jpgbin0 -> 142436 bytes
-rw-r--r--static/images/esp-ledstrip/top.jpgbin0 -> 144504 bytes
-rw-r--r--static/images/music-led/controller.jpgbin0 -> 137466 bytes
m---------static/source/esp-ledstrip0
10 files changed, 34 insertions, 0 deletions
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
--- /dev/null
+++ b/static/images/esp-ledstrip/back.jpg
Binary files differ
diff --git a/static/images/esp-ledstrip/debug.jpg b/static/images/esp-ledstrip/debug.jpg
new file mode 100644
index 0000000..d44a549
--- /dev/null
+++ b/static/images/esp-ledstrip/debug.jpg
Binary files differ
diff --git a/static/images/esp-ledstrip/glowgreen.jpg b/static/images/esp-ledstrip/glowgreen.jpg
new file mode 100644
index 0000000..3a95a47
--- /dev/null
+++ b/static/images/esp-ledstrip/glowgreen.jpg
Binary files differ
diff --git a/static/images/esp-ledstrip/top.jpg b/static/images/esp-ledstrip/top.jpg
new file mode 100644
index 0000000..bdea203
--- /dev/null
+++ b/static/images/esp-ledstrip/top.jpg
Binary files differ
diff --git a/static/images/music-led/controller.jpg b/static/images/music-led/controller.jpg
new file mode 100644
index 0000000..7d77409
--- /dev/null
+++ b/static/images/music-led/controller.jpg
Binary files differ
diff --git a/static/source/esp-ledstrip b/static/source/esp-ledstrip
new file mode 160000
+Subproject 8fde1af539ae88a06343b7cfe08d4ed5dc1011d