So, come fall, when you look out your window and you see your neighbor crawling up on their roof and they're running wires and things like that, and your significant other just happens to say, Boy, I wonder if those are Christmas lights or if they're setting up some sort of surveillance station, and that maybe the neighbor is spying on us all. I think what you're going to hear today is, maybe that's true. So, without further ado, Rob, who does something for the federal government, is going to talk to us about his elaborate setup for Christmas lights. Let's give him a big round of applause. Have a great time. Thank you. All right. Thank you, everybody, for turning out. Yeah, it's strange to be in Vegas and think about Christmas lights in the middle of August, but for me, this actually... This actually is a year-round activity, getting ready to build and do Christmas displays. And so what I'm hoping here, by the end, is you understand kind of the basic components of it and have a little bit of an inspiration and passion, maybe go out and tinker. The fact that you're here at DEF CON means you might be interested in some of this stuff, and I think that it's well within the capability of all of you to build an absurd Christmas light show. So, this is my... My house. Ho, ho, ho, ho, ho. Merry Christmas from our family to yours. It's subtle and understated. So, there's a number of elements throughout this. All of them are RGB LEDs. I'll talk more to that. But the actual controller that is orchestrating all of these maneuvers is a single Raspberry Pi. So, pretty cool stuff. So, the basic elements, if you're going to build one of these, you certainly have to have LEDs, lots and lots of LEDs. The power supplies are a challenge, not because it's huge amounts of power, but they've got to be outside in the weather. Where I live, you know, northeast, we've got the full range. It can be 80 degrees. It can be 5 degrees. And there's always precipitation, whether it's rain, sleet, snow. So, there's something. So, the things you're putting out have to consider the elements in that space. So, there's a number of ways to do waterproof cases. People do things as simple as tackle boxes and some adapting Pelican cases, or there's a series of... of boxes you can get for meant-to-be junction boxes for telephone and cable that would mount to your house. You've got to worry about the cabling. There's an element. So, the white box I have up here is a pixel controller, and we'll talk more about those, but that essentially takes the network commands and then gets them to the protocols that are needed to drive the lights. All of this is controlled with sequencing software. So, some people think... They drive up, see that display, and what they believe is the audio is playing, the lights are blinking, there's some computer algorithm running in the background that's deciding which lights to turn on and off. That's not the case. You actually have to control each and every LED in time, and I'll show you the software we use to do that. The show controller and software, I mentioned that was a Raspberry Pi in my case. And the thing that almost always impresses the average non-technical person is, I have a radio station. You drive up, you tune your FM radio to a channel, and you get to hear the music that accompanies the lights. They are so impressed that I'm running a radio station. But that really is just... It's a purchase, you plug it in, and it goes. And we'll talk some about that. But it essentially takes the headphone out of your computer and puts it out onto the FM dial. And everything is run, managed, and attached. With tons of zip ties. So the traditional mini lights, a lot of us grew up with little incandescent bulbs. They're not very energy efficient. They heat up a wire to make light. They're painted to get the color. And you grew up thinking about how the local power company would spin your dial when you're running massive amounts of Christmas lights. Technology has come a long way. And now everything in my display is LED. And they're, you know, DEF CON's been good enough to give all of us examples of these. But the basic element in all of this is an LED chip that has three different color LEDs on one substrate. A red, a green, and a blue. And they're in such close proximity that your eye sees them as one pixel. So... So... So... So... So... So what they actually do, it's like shining three flashlights together. So you make additive colors. So you, by varying the intensity of each of those three colors, you can create across the spectrum and actually add together to get almost any color in the visible spectrum. You can go from off all the way out to all three on gives you white. And then you can get in between the various shades. And the software controls all of that. So when these pixels first came out, they were called smart RGB, as opposed to just RGB, because what they had was a small controller chip. And if you look inside the one LED that's running horizontally, you can see a black integrated circuit that's mounted there to control those three LEDs. And that was the thing that takes three signals. It takes... An intensity for red, an intensity for green, and an intensity for blue, and converts those digital values out to the intensity of the LEDs. So the smart LEDs lets you send a command to each pixel and change its color individually. So you can see on that bundle of strings, and I'll show you later in a demo, if the demo gods help me, we'll see that you can individually change colors along that string. They don't all have to be the same color. And remain the same color. So that integrated circuit comes in multiple forms. I have the white strip running down the display. It's also the rolled up reel in the video image. That's a form where that's a flexible printed circuit card. The chip is separate. And then you can see two LEDs with one controller chip, two white boxes with each controller chip. There's a lot of different form factors today. They are starting to integrate the actual LED onto the same substrate as the controller chip. So the way they work, it's a serial protocol. So I don't have to have an address for each and every pixel. You can extend the strings out indefinitely. Now there's some realistic limitations to the amount of power you can push down the string. But what happens is three values come out, and then they're followed by three. Three more values, three more values. And you can think of it like a stack of colored Lego blocks. So the first pixel controller they hit will grab that first set of three colors instructions, pull it off the top and display it. And then it'll push out the rest of the stack onto the next pixel in the chain. So it first in, first out, but it strips that first one off the head and moves them down the line. So for my display, every 50 milliseconds, there's a new color going into every pixel in that display. So there are huge amounts of data moving through the network and out to these strings. The good news is, as tinkerers and hobbyists, you don't have to understand this protocol. You can dig in, and if you really want to get hardcore and build the hardware yourself, you can generate these serial protocols. You can learn about how to talk to the strings. But there's a lot of smart folks who have already built the controller cards and built the hardware and make it available either in finished form or kit forms that you can play with. So at the core of my display are these elements. And I'm sorry, I'm going the wrong way in there. So what you see, and if you walk up afterwards, I'm going to go to the Chill Out Lounge and you can look at some of the tech up close. But there's multiple form factors. For the LEDs, the bottom center is known as a bullet pixel. They look like a small bullet. You can push them through display items and mount them that way. The square nodes have ears for you to screw down, and the strips themselves are flexible and can be tie wrapped and attached to different things. In customizing, you've got to cut these up. You've got to string them. For your specific display, you've got to adapt them to your house. So the run along my eaves is going to be different than my neighbor's house, is going to be different than anybody else's house. So in the end, you wind up chopping these to various lengths, adding them together. A lot of soldering. Soldering is a core skill you will need to do if you're into the hobby. Build and put things together. And we also connectorize most of the things. You saw me assembling up here frantically. Before the demo, to get everything together. Plugging in and having waterproof connectors on the display allows you to tear it down, store it, put it away for the season. So my house has a series of custom elements that I've built. So the story about how I got into this started a number of years ago, five or six years ago. We were going by a house in a neighborhood and they had just a fabulous show. They had lights on the house. They had the FM radio tuned. They had really cool elements all synchronized. I looked at it and I said, that is neat, right? Computer geeky guy. I was excited. My wife loved kind of the way it moved and captured everybody's attention. I said, I think I can do that. And she looked and turned and said, sure. Sure you can. So. So I heard, yes. Yes, you can. And so when the boxes started showing up in February from China with piece parts, and she's like, what the hell is this? I said, it's the Christmas light display you said I could do. All right. So those of you who didn't bring your spouse, you can go home. Boxes will start showing up. It's expanded and built over the years. So as I mentioned, there's a bunch of elements. Each one of those is individually designed and fitted. There's no big kit you get that will that will set up your house. So the first year I did it, I had the outlines along the house. That was this flexible strip mounted to PVC pipes and zip tied to the eaves, zip tied to the pillars, things like that. So all of the outline of the house, those three swooping arches. Our PVC pipe with lights strung through the inside of them and they kind of diffuse. Those were part of the first year. And then the star down on the ground, the large red and white star you see. My son dubbed that the seizure star because all of these elements, I didn't know how to do them. I didn't know how they were going to work. So I had all this stuff in my basement and I was tinkering throughout the year to get it to work, get it to look right, understand how they would work. And that thing is amazing. Amazingly bright. All of this is actually pretty incredibly bright if you're four, five, six feet away. So testing it in the basement, it was a blinding experience. So we had those. That was the first year. And I'm sorry, the small trees in the very front. So those are chicken, those are tomato cages upside down and then lights wrapped around them. And there's 10 of those. So I had those as the basic. And it looked pretty cool. It was a nice setup. But it's a little bit of an addiction. So every year it's got to be a little bigger, a little better. I wound up second year, I added the floodlights. So if you notice the green kind of painting the house, those are three floodlights on the top, three on the bottom. Those also are RGB. They're controlled the same way. Those are just a single pixel to the computer. And they bring so much more depth to the display. So I was really happy to add those. And I'm sorry, the Christmas trees were a second year add. So the second year was the small trees and the floodlights. Third year saw me add a number of things, which is to include that large tree. And I'll talk more about that tree on the side. That's the one you saw with the graphics running on it. And then over my garage is a small matrix sign that I can run text and pictures and abstract colors. That's actually a large amount of pixels in a very dense form factor. I'll talk to those. And then up along the top row, you can see the snowflakes. Those are purchased items. They're precut from plastic corrugated cardboard. Plastic. Size corrugated cardboard. It's called Coro. And there's companies that will cut them, laser cut them, and pre-drill them. So you push those bullet pixels through the center. And then you can include those in your display. And you can do a lot of patterns on them and around them. Similarly, the small wreath on the first floor is another piece of Coro with push-through pieces. So those are the elements I've done. Last year, I added no hardware. I was working at the 08 house. I had no time. I added software. So when you get a base amount, it's really easy from year to year to add a little thing here, a little thing there, and increment the display. So I talked about the tree on the side. Those are known as mega trees. It's pixel strings. And it lets us do animation and effects. It's, in essence, a low resolution matrix. Mine is 50 pixels tall. 32 pixels wide. And it's 14 feet tall. So let me go back and put that into perspective. So that's 14 feet. It's taller than the first story in my house. It really dominates the scenery. It draws the eye, especially if you've got a moving picture on it. That's good and bad. That was one of the reasons I felt like I could get away without adding new hardware last year was I had a really good platform to put new stuff on. And I added new songs. So in that mega tree, those are just strings of those bullet pixels inside a small plastic strip that has holes pre-drilled in it. And I push the pixels through, de-link at the top, and there's companies that will make headers up top. Or if you're handy, there's a number of good plans on top to essentially put hooks that you can hang stuff on. They run down the 14 feet. And I've got 10 stakes in the ground that hold them in the ground. And if you look at the tree, you can see through as those are all lit. So there's gaps. There's several inches of gaps. But as you're at the street level and look at it, it does a great job being a small display for whatever you want to put on it, whether it's colors, patterns, or other things. And they're an impressive addition to any display because of the amount of things you can add to them. I talked about the floodlights. The difference that it made on my house, if you look at the far left picture, very dark and sparse between the elements. When you start to add the colors in between, it just changes the whole look of the house. So I'll switch from here from the concepts of what we built to how you make it run. So the pixels themselves. You want to be able to control from a computer. So there's a protocol that runs over Ethernet. It's streaming ACN. It's a standard protocol for the control of lights over Ethernet. And we're not in a normal venue. But if you think about stage lighting and all of those, the lights you would see in any sort of concert or disco venue, this was developed for that area. And it was a lot of those are controlled. With colored lights. And it can stream out values. You can push it out unicast to a single IP address or multicast where it broadcasts the packets throughout the whole network. And because of the legacy, infrastructure is broken up into smaller chunks of data. You don't have to understand this protocol. You don't have to program to it. Because people have crowdsourced and open sourced all of this technology. And there's amazing projects supported by the community that will deal with it. But the concept of you got to get out of something in Ethernet and it's going to talk in a known protocol to a controller. So the controllers, this is what's inside that gray box. It's an Ethernet to pixel controller. This is one of the favorites in the industry. This is about $200. But if you look at the green, the green connectors along the bottom. There's 16 connectors for various strings. You can have hundreds of LEDs per connector. And there's even a daughter board that will double the connectors and double the light outputs. So it will take the Ethernet in and then convert it to the protocol that the strings need. The best controllers have web-based interfaces. And I didn't have my display up while I was testing and controlling these. But I was just controlling them. I was just modeling over a web browser the setup and configuration of those lights. So it lets you test. It lets you remap. It lets you, as you add things to the display, put those in there. Along the bottom, the gold yellow things are auto fuses. So each of the pixel strings is fused. They're DC elements, usually running 5 volts or 12 volts. And sometimes bad things happen with water and power. So having fuses there. I've seen cases where people have shorted, gotten to the point where they've melted elements. Or even started small fires when they haven't had fusing. And this, the best projects have fusing within them as well. And then one thing that has to happen is you've got to drive all of these pixels. So in my display, every 50 milliseconds, every single pixel. And there's tens of thousands of pixels are getting a new set of data running out to the lights. This is an automated set of software that, for me, starts the lights up every day at about 5.15. It sequences through about 15 different songs. And then loops back around. And it does that all the way until 10 at night. So it puts them on a schedule. It streams the data to the controllers. You can have a dedicated PC. Or there's an element called the Falcon Pi player, which uses a Raspberry Pi. You precompile all the data that's going to go out. And this thing just shoves data out the Ethernet port very cheaply, very reliably. And controls, like I said, all of those various parts and pieces. My show is sequenced and aligned to music. There's millisecond controllers. There's all of the lights. And it has to get the data across all of those elements. One thing that is nice, and I'll give a demo here in a few minutes, is you're able to simulate the show without the hardware there. We can run these pieces of technology. And you can do development on your desktop workshop. You don't have to have that seizure star sitting in the basement blinding you while you're doing your work. But seeing it on the display is always a little bit different than the simulation. And one of the really cool things is because of the coalescing around this software is sequences can be shared and adapted. And I will show you an example of that in a minute. As well as you saw the opening PNET sequence. That's one I did last year. And I open sourced that. I posted it to the Christmas light forums. And now there were 50 or 100 different houses around the world running my song on their house. Now they may not have had the same display elements. But this software lets them adapt and move things into and out of the displays with pretty good ease. So right here is the software. And I've got this in case my demo fails. And here's where I'm going to switch over. And start to tempt the demo gods a little bit. Sorry. All right. So if you look on the left side, there's a display of my house. And along here is a timeline with an audio wave file. And down below are all the various elements. So this line I just highlighted are the floodlights in my house. So coming up in a few seconds it will be running the floodlights directly. There's the floodlights running. If you notice they came out before that where there's a blank space. That's because I have an element that is everything in the house. And I'm doing something there. But what this graphic interface lets you do is pick a type of display element. So I can take fire and I can put it on my whole house. Sorry. I've got other display elements running there. I'm going to flip over to the other live demo. I just told it to recompile that whole display. That's what's running down here. So if I take the whole house. So it will adapt. I'm not going to be able to do it on this one. Apologies. Let me flip over to the other side. Let me flip over. I'll go to the live demo with my lights on. All right. So the other thing it can do, it can control the lights live. And where I am now is running through where I have a sequence pushing up and down the strings. And I've got text going on to the . But the graphic interface lets me pull an effect like all the sequence on all the strings. And run them red. . I am getting no love from my demos. . All right. So there's a butterfly rainbow effect. I drag down, and I can tell it for how many milliseconds across the time I want to drop that on. I can do that across a single string. I can do it across multiple strings or various elements of the display. So it's a graphic user interface. Newbies can grab it. Despite the problems I had up here doing it live in front of you, it's an easy way to go and try the elements, see what they look like on your notional architecture of your house, and then do development all year long as you're ready to get these things together. I'll flip back over and hop out of the demo space. I'll flip back over and hop out of the demo space. The large controllers, but they're a cheap way to get started. You can make small elements for your house. And as you're building something new up, you can add them, prototype them, and then put them in the larger display later. There are daughter cards for Raspberry Pis that are easier than going directly on the pins. And what they do is buffer the data going out. So you can drive 12-volt and 5-volt pixels. One daughter card will drive up to 800 pixels. They will have, there's options for real-time clocks in there to keep them synchronized. They're an easy way to get dabbling into the hobby. Where do the pixels come from? I bought my pixels directly from China. There's ways to do these in pre-sales where people band together. We're a little late in the season for the pre-sales, but January, February, March, people will buy together, get a whole container shipped over from China. One person will divvy it out, and then send them to you, saving you money. There are places on eBay and Amazon that sell them. I would recommend against them. I would recommend you go to a specialty seller that serves the Christmas light hobbyists. And at the end, I've got a link for where you can find the folks who do this with Facebook groups, some Internet boards, and places for mailing lists. We'll help you immensely in figuring out what's a good price, what's a good place to buy, and who's reputable. There's two different form factors and voltages for these. There's 5-volt pixels and 12-volt pixels. People debate back and forth which are easier and which are better. The good thing about 5 volts, they're a little cheaper. And the 12 volts let you run a longer string without the degradation from long lengths. If you start to run these, and you go too far out, the most power-efficient LED is the red one, and it will start to turn pink in your colors if you're trying to do white because the green and blue will be starved for power, and the red will dominate, over-dominate. So a lot of people use 12-volt pixels in their display. The other thing we have is a matrix display. These are panels developed for Vegas and other places where you see the massive LED signs. So these are $5 to $7 a piece, and they stack together. I've got four of them up there in a display node. What they will let you do is adapt text. I use in my display one of these to run graphics and words and tell people what channel my FM radio is on so they can tune their radio. And behind each of those is running some sort of computer to control and get the pixels out to it. There's a BeagleBone Unix Raspberry Pi-like device that you can run up to 64 of those panels, and a Raspberry Pi will be able to control a dozen of them. So the one you see up there is four tall by three wide, so tens of thousands of pixels, but it lets me do a lot of interesting things in the display. I talked earlier about the water issue. You have to buy weather-rated lights. There are some that come without protective coatings. Those will be cheaper, but those also won't work. The first time you hit rain, you're done. A lot of silicone caulk is used if you have the strips, which are plasticized tubes, to seal the end. And I talked earlier about some of the ways you can enclose your electronics. The thing you've got to be careful about in certain parts of the country is how to cool it. If you make something watertight, it may be generating too much heat inside that watertight place, so thinking about cooling and other topics are good. I talked a little bit about the challenges you run into. One is the voltage drop. You can't push enough current through to supply all of those lights, and they'll turn pink, but you can, at various layers along the way, along the display, inject new voltage and just pull that both up. So power at both ends of the strip or even in the middle helps. The other challenge you'll run into is distance to the first pixel. So these are digital signals, but often run on crummy wires. And so if you're trying to drive something 100 feet before the first pixel you're talking to, the noise grows, and you'll get corrupted data. What people have done is you can put what's known as a null. A null pixel in the string along the way, and it'll regenerate the signal. So one thing the pixels do, every time they get data in, they regenerate the waves going back out, and they fix up the signal. So a pixel along the way that doesn't actually turn on will allow the data to continue. This is my FM radio station. It's about three inches square. I bought one from New Zealand. As a kit, the kit consists of hooking the power connector onto it, because it might push out a little more power than the FCC will allow them to sell directly. But I will assure you here at Black Hat, since this is being taped, that I am well within the FCC regulations and not over-transmitting. So one of the things you've got to do, you've got to pick an open channel. If you try to broadcast over the local radio station, they're likely going to dominate you. And if not, you dominate them, is going to bring the FCC in to look at you. There is a great database that will show you where the licensed stations are in your area, and the link is up there. But just tuning through, finding open channels is the easiest way. And what the folks skilled in the RF work will tell you, the antenna makes a really big difference. Thank you. I wound up cutting an antenna for my frequency. I got so much clearer signal. You know, you're trying to drive it out, not miles, but hundreds of feet, but you want a nice, clear signal. And what I've found is tuning your antenna makes a huge difference. So basic skills, soldering, debugging, planning, logical thinking. Every year, I spend about three days putting my display up. I start and try to have it ready to turn. I turn on about Thanksgiving night, and the last 10% is where I spend most of my time, just worrying about the little gremlins that pop up in any large kind of gerrymandered display. So attention to detail, figuring out how to connect and display will be good. So I'm getting ready for next year. The thing I'm going to be working on, and you'll see the animated video, the animated graphics right there, is a chipmunk sequence. I talked to you about the fact that people crowdsource and open source stuff. I have found an awesome place, Viver.com. You can subcontract gig graphics out, and I work with people all over the world to help me with these animations, and then build them together and put them together in terms of song. So I'll work on this next couple months. And come October, November, I'll push that out there for the community to use and play with. The other thing I'm working on is another element for the display. This is currently sitting in my basement. That's a large spray. If you look, the center piece is 7 feet, 6 feet, 5 feet, 4 feet. And what this will let me do is other custom display elements. They work a little differently than the stuff I have. So I think this will be a nice addition. Again, because I can treat it like 7 parallel matrix lines, it'll be really easy to do things up to and probably including text effects on it. All right. So, how's this all come together? I said, you know, building a system, creating absurd Christmas-like songs. So I've pushed out the Charlie Brown. I'm going to push out the Chipmunks this year. One of the things somebody inspired me to share had done was he built a Star Wars sequence. So this isn't the whole thing, but it'll give you a sense of how you can really, no kidding, get absurd with these Christmas lights. It's one of the most popular songs in my show. Star Wars has been running the new movie over the holidays almost every year, so it still stays fairly relevant and fresh. Again, going with that subtle and understated. You can see the Star Wars characters over the garage. Those were my additions. But there are really like 200 or 300 houses around the world running this sequence every year. People do displays not only for Christmas. There's a lot of folks who put theirs up at Halloween, do Halloween displays, leave them up through the holidays. And then change it slightly for Christmas. I don't have the authority to run Halloween. All right, so out on Twitter, my Twitter, RGB underscore lights, I tweeted out this link as well. So if you don't catch it here, you can go ahead and get the link online. But this has a three-page PDF. With places to buy lights, the equipment I recommend, the online resources you can get together, and build your own absurd Christmas light show. So thanks for your time. I'm going to go to the chill-out room. If anybody has detailed questions, I'm happy to talk lights. Thanks.