summaryrefslogtreecommitdiff
path: root/content/tech/esp-ledstrip.md
blob: ad43460cf1de248ec8d2b2ebe2ed670fd24c9b09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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/electronics/esp-ledstrip/src/master/esp-ledstrip.ino).

![Controller attached to FTDI](/images/esp-ledstrip/debug.jpg)