summaryrefslogtreecommitdiff
path: root/content/projects/esp-ledstrip.md
blob: c3f716b8295a53ea6f5cfc9145aaa3a52b37ec20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---
date: 2016-06-05
title: (Almost) Wireless LED strip controller
image: /images/esp-ledstrip/glowgreen.jpg
---

After a [failed attempt]({{< ref "music-led-visualisation.md" >}}), I succeeded in building a wireless analog LED strip controller.
<!--more-->

![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)

A few weeks later, I spotted a mistake in my build. I used IRFZ44N transistors but I should have used IR**L**Z44N transistors instead. The difference is that the Z version needs a higher voltage at the base, so the LEDs were never bright and drew just about two thirds of the power at maximum brightness.