I got this 2x2 meter 400 LED curtain. I'll do a quick run through of it, but we're not here to do a review. We're here to take it apart and see how hackable it is. There are a whole bunch of built in patterns that you can control with the remote and there's an app that connects to it over bluetooth. I have had a look at the bluetooth characteristics but as is typical with bluetooth devices there's no way to know what they mean or what values to put into them, which is a shame. Let's take it apart and see how it works, then we'll see if we can hack around with it. So there's something pretty interesting about these LEDs. Let's just start off with the power supply. So it's a 5 volt 3 amp power supply, that's pretty beefy. If we unscrew this then we can pull this apart and you can see it's keyed so we can't plug it in the wrong way round, which is good because that's the kind of thing I would definitely do. Now if we follow the power cable round, so I've got it all rolled up here so it doesn't get tangled up, then we can see it just ends up being spliced into the main cord and it's just joined in and then we have these three wires going off to the control. And then coming out we have three wires, so one of these will be power, one of them is ground and one of them is the data line to drive the LEDs. Now each strand of the LEDs, they just tap off three wires, so you can see a strand here and that just taps off from the main cable, goes to all the LEDs and then it's just cut off at the end. So we just have three wires going through here as well. And then the next one is the same, so it just taps off the main cable, three wires are just tapped off, going down the next strand. So that's pretty interesting. Now you're probably asking, why is this interesting? Well normally with addressable LEDs you need to daisy chain them together. They have four pins, two for the power and then a data in pin and a data out pin. You feed the data into the in pin of the first LED and it then drives the next LED and then that drives the next LED and so on. This is how the LEDs know what to display. You feed all the data into them serially and then once you've finished sending all the data, each LED just locks in the last serial data it received. For an LED matrix you normally need to link the end of each column or row of the LEDs to the next column. So for an LED curtain you would either expect them to be joined at the bottom or to have a return wire for the last LED in the column. With this LED curtain the data line is actually a bus and all the LEDs are connected in parallel to it. This means that the LEDs receive the entire data stream. The LEDs need to be pre-programmed with their position in the string so they can pick out the data that is relevant to them. It's very clever stuff. I have found a great thread on the doubly led GitHub repo where these pre-addressed LEDs are discussed. They got some nice close up shots of the actual LEDs and a good discussion on how they work. I've put a link in the description. So that's the LED strands with all these little LEDs encased in some kind of epoxy. Not sure what. So let's have a look at the control thing. So there's a clicky button and it's quite easy to take apart. We just undo these screws. I'll use the wrong screwdriver. So let's just get these out. That's one screw, the next screw. That's our four screws. That's already come off. So here's our PCB. You can see the IR receiver. I'll take a proper photo of this and we'll do a bit of reverse engineering and see how it works. But let's finish getting this open. So I think this will just pop off as well. It just seems to be sealed on with some silicon. So we can get that off. And then we'll be able to extract the PCB completely. Ok, that's that off. Lots of silicon. Nice. There's the wires going in. Let's see how we can get this out. I'd quite like to not destroy this because we do want to put it back together again at some point. But it'd be nice to get it out and just see if there's anything on the other side of the PCB. There we go. Excellent. So hopefully we loosen some of this. There, free. So what I do want to do eventually is desolder this but let's have a look at some of the signals first. So I've plugged everything in and I've got my multimeter. So as far as I can tell, this middle pin seems to be ground and that's our 5V supply. And we've also got the same on this end, so ground and 5V. And then this pin here must be the signal pin. So let's hook up our oscilloscope and see what that looks like. And I'll just hook my crocodile clip to there. And then we should be able to just probe there. With a bit of luck. I can get my ground connection to actually connect. So rather than try and film the oscilloscope screen, which I never seem to get a good picture from, I've just taken a screenshot. So what we can see here is we can see the data being clocked out to the LED matrix. So we can see the data, then there's a gap and then more data. So what happens during the gap is that's when the LEDs detect, there's no more data, and they latch in the current display. And then it just repeats itself and that's how you get the animated frames. So that's pretty cool. Let's have a look at the PCBs in close-up. I've cleaned off most of the silicon and taken some nice close-up photos. There's actually not much on the back of the board, but it is nicely labelled. Let's have a quick look at the components on the front of the board. There's a 3.3V regulator here which powers the main IC, an ST17H66B2. This is a Bluetooth low energy system on a chip. The antenna for the Bluetooth is this PCB trace here. To actually drive the LED string, it's using this buffer IC to level shift the 3.3V output back up to 5V. The resistor here is just a 0 ohm link and the blank space next to it allows them to bypass the buffer IC completely. So it's possible that for smaller LED curtains, the buffer chip is not needed. Hopefully this also means that the LEDs will operate at 3.3V and we won't need a level shift of ourselves. Over here we've got the IR receiver and I believe that this area here along with the microphone is for the audio responsive mode of the curtain. That's kind of it really. Pretty simple. Let's have a go at driving it ourselves from an ESP32. On the subject of PCBs, now's a good time to mention PCBWay who are sponsoring the channel. I've got a couple of PCBs with them right now. I'm waiting on my new ESP32 TV board to come back. Really excited about it and if you want some PCBs, have a look at PCBWay. They're really good. So I've flashed WLED onto this ESP32 and I've just crimped some header pins onto the wires. We can just power this from the 5V power and it seems to work so we're connected up. Let's try changing the colours. That seems to work nicely. We can go all the way around the colour wheel. Let's have a look at the effects. I'm not sure what any of these really do. Blink. I guess that blinks on and off. Very exciting. Blink rainbow. Blobs. So this is quite nice. It seems to be working off 3.3V. What I'll do is I'll get this laid out on the floor so we can actually see what it's doing and see if the grid's actually working. So one moment. Okay, so I've got it laid out on the floor and I'm connected through to the WLED Wi-Fi interface so we can try a few of the grid patterns. So that is black hole. This is called blobs. Colour bursts. That's quite nice. Crazy bees. Distortion waves. Interesting. This is supposed to be DNA. I quite like that pattern. That's quite nice. DNA spiral. That's pretty cool. There's something called drift. Interesting. Let's see. Fireworks. Doesn't seem to do very much. Fireworks 1D. There we go. That's pretty nice. So I do like this WLED software. It's pretty cool. Very impressive. Let's see what else we have. Hiphotic or hyphotic. That's a pretty nice pattern. I like that. That's very cool. We have a lissajou. Looks kind of like the DNA. And of course we have the matrix effect. That's quite a cool effect. I like that. And something called octopus. There's an absolute tonne of these. So I recommend checking out WLEDs if you get yourself a LED curtain. Very cool.