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 --- content/tech/esp-ledstrip.md | 23 +++++++++++++++++++++++ content/tech/music-led-visualisation.md | 4 ++++ 2 files changed, 27 insertions(+) create mode 100644 content/tech/esp-ledstrip.md (limited to 'content/tech') 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_ -- cgit v1.3.1