IPv6 Christmas Display Uses 75 Internet’s Worth Of Addresses

We’ve seen internet-enabled holiday displays before, and we know IPv6 offers much more space than the older IPv4 addressing scheme that most of us still use today, but the two have never been more spectacularly demonstrated than at jinglepings.com. The live video stream shows an Internet-connected Christmas tree and an LED display wall that you can control by sending IPv6 ICMP echo request messages, more commonly known as pings.

Reading the page, you quickly parse the fact that there are three ways to control the tree. First, you can type a message in the box and press send – this message gets displayed on the crawl at the bottom of the LED screen.  Second, you can light up the tree by sending a ping to the IPv6 address 2001:4c08:2028:2019::RR:GG:BB, where RR, GG, and BB are 8-bit hex values for red, green, and blue. This is a neat abuse of the IPv6 address space, in that the tree has 224 (around 16.8 million) IPv6 addresses, one for each color you can set. We were impressed by this brute-force use of address space, at least until we read on a little further.

You can also make your own drawings on the LED wall, again by sending pings. In this case, the address to set a pixel to a particular color is: 2001:4c08:2028:X:Y:RR:GG:BB, where X and Y are the pixel coordinates. This seems easy enough: to set pixel (10, 11) to magenta, the RGB value (0xFF, 0x00, 0xFF), you’d simply ping the IPv6 address 2001:4c08:2028:10:11:FF:00:FF. Having  an array of addressable LEDs is commonplace in hacker circles today, although each of them having their own live IPv6 address on the Internet seems a little excessive at first. Then it hits you – each LED has an IPv6 address for every possible color, just like the tree: 16.8 million addresses for each LED. The LED display is 160×120 pixels in size, so the total number of IPv6 addresses used is 160x120x224, which is 75 times larger than all possible IPv4 addresses!  This is a hack of monstrous proportions, and we love it.

In case you’re not running IPv6 yet, we’ve got you covered. To send individual pings using your browser, you can use a site like Ipv6now. If you want to send pixels to the display wall, you’re better off using a 6in4 tunnel that lets you access IPv6 sites using your current IPv4 connectivity.  Hurricane Electric offers a free 6in4 tunnel service that we’ve found useful. Then it’s just a matter of writing some code to send pixel values as pings.  The python scapy module is perfect for this sort of thing. But, first you’ll have to fill out the form on jinglepings.com and wait to get your IPv6 address whitelisted before you can draw on the display; evidently the usual bad actors have found the site and started drawing inappropriate things.

If you think this use of addresses seems wasteful, you needn’t worry. There are around 3.4×1038 IPv6 addresses, enough for 1027 such displays. We’re going to go out on a limb here and say it: nobody will ever need more than 2128 IP addresses.

If you’re looking to build an LED holiday display on a smaller budget, check out this one that re-purposes normal LED strings.

Thanks to [Ward] for the tip!

LEDs And Pi Let You Virtually Decorate This Online Christmas Tree

Anyone who has decorated a Christmas tree knows that the lights are what really make the look. But no matter how many strings you wrap around it, there never seems to be enough. Plus the standard sets either sit there and do nothing, or just blink on and off at regular intervals. Yawn.

But hackers aim higher, and [leo.currie]’s interactive “paintable” Christmas tree takes the lighting game a step beyond. The standard light strings are replaced with strings of WS2811 RGB LEDs which are wired to an ESP8266. A camera connected to a Raspberry Pi is setup up to stream images of the tree to all and sundry on the Interwebz, but with a special twist: it also creates a map of every light on the tree. That allows the lights to be controlled individually in response to user inputs on a web page hosted on the Pi. The upshot is that you can paint the tree with any color you like in real time, or upload various animated GIFs to display on the tree. You can play with the tree directly, or watch a replay on the video below when that Pi inevitably gets hugged to death.

Imagine the possibilities with this. Why not hang a lot of LED strings vertically from the eaves of your house and make a huge, low-resolution display? We’ve featured plenty of large, interactive LED Christmas displays before, and we’d love to see what you come up with.

Continue reading “LEDs And Pi Let You Virtually Decorate This Online Christmas Tree”

We’re Dreaming Of A Circuit Sculpture Christmas

Whether or not you chose to believe our claim that we planned it this way, the holidays happen to fall right smack in the middle of our ongoing Circuit Sculpture Contest, which challenges hackers to build circuits that double as bona fide works of art. It’s become almost too easy to spin up your own PCB, so why not try your hand at building in three dimensions and without a net? The holidays are a perfect time for it as it’s not only a reprieve from the work, school, or forced labor camp that usually ties up our waking hours, but can also be a source of inspiration.

Case in point, this festive LED Christmas tree entry that comes our way courtesy of [Vincent Mkes]. This one really has it all: a recognizable theme, fantastic wire work, copious amounts of LEDs, and in a touch that is sure to delight even the electronics Scrooges amongst our readership, he does it all with the venerable 555 timer. It’s really what the Circuit Sculpture Contest is all about: taking a circuit that might otherwise be pretty ordinary and turning it into something truly unique.

The astute Hackaday reader (as if there was any other type) will likely notice there are actually two NE555 timers under the tree, each blinking their respective bank of LEDs at a different frequency. This makes the final result a bit more vibrant, and through some last-minute revisions, [Vincent] was able to hook them both up to a single power supply to really capture the minimalist spirit of the Contest.

As an early Christmas gift to us all, [Vincent] has done an excellent job documenting this build so anyone who wishes to infuse their end of year party with a little diode-driven holiday cheer can follow along. He’s included build instructions as well as diagrams of the circuit, though we encourage anyone looking to make one of their own to experiment a bit and put their own spin on it. After all, this is supposed to be art.

There’s still plenty of time to get your own entry into the Circuit Sculpture Contest, Yule-related or otherwise. Just document your build on Hackaday.io and submit it before the January 8th, 2019 deadline. Remember that entries can’t just look cool, they still need to be functional. Words to live by in general, but doubly important when they’re the rules of a contest.

A Christmas Tree For Your Lab

It seems like holiday decorations come up earlier and earlier every year. You might not have room for a full-blown tree in your lab, but if you have an arbitrary waveform generator and a scope, Tektronix has a way for you to show your spirit electronically.

You can see the video below. Naturally, it features Tektronix gear, but we are pretty sure you could make it work with any arbitrary waveform generator that has at least two channels and a scope with an XY mode.

Continue reading “A Christmas Tree For Your Lab”

Custom PCB Revives A Vintage Tree Stand

After 56 years, [Jeff Cotten]’s rotating Christmas tree stand had decided enough was enough. While its sturdy cast aluminum frame was ready for another half-century of merriment, the internal mechanism that sent power up through the rotating base had failed and started tripping the circuit breaker. The problem itself seemed easy enough to fix, but the nearly 60 year old failed component was naturally unobtanium.

But with the help of his local makerspace, he was able to manufacture a replacement. It’s not exactly the same as the original part, and he may not get another 56 years out of it, but it worked for this season at least so that’s a win in our books.

The mechanism inside the stand is fairly simple: two metal “wipes” make contact with concentric circle traces on a round PCB. Unfortunately, over the years the stand warped a bit and the wipe made contact with the PCB where it wasn’t intended do. This caused an arc, destroying the PCB.

The first step in recreating the PCB was measuring the wipes and the distance between them. This allowed [Jeff] to determine how thick the traces needed to be, and how much space should be between them. He was then able to take that data and plug it into Inkscape to come up with a design for his replacement board.

To make the PCB itself, he first coated a piece of copper clad board with black spray paint. Using the laser cutter at the makerspace, he was then able to blast away the paint, leaving behind the two concentric circles. A quick dip in acid, a bit of polishing with toothpaste, and he had a replacement board that was close enough to bolt up in place of the original hardware.

If you’d like to see the kind of hacks that take place above the stand, we’ve got plenty to get you inspired before next Christmas.

LED Christmas Tree Is Perfect Holiday Build

Soon the most wonderful time of the year will be upon us. Families all over the globe will gather together to exchange gifts, eat good food and enjoy some quality time with each other. For many, it will be the first time they’ve seen each other since the last holiday season. For us hackers –  this translates to a time we get to talk about ourselves and show off a little about what we do. Been taking it easy this year? Have no hacks to talk about? Well, it’s not too late! Break out the soldering iron and whip up the perfect conversation starter – an LED Christmas tree!

[Gumix] took a handful of those flickering LEDs and a step down DC-DC converter to make his simple but elegant tree. No microcontroller here… no code is running. As soon as power is applied, the flickering LEDs do all the work to create a visual delight.

Flickering LEDs have been the focus of a few hackers. They’re basically LEDs designed to flicker like a real candle. [cpldcpu] hooked a scope to one and guessed that a linear shift-register was responsible for the randomness behind the flickering, which would be confirmed several months later.

Be sure to check out [Gumix] LED tree and the video demonstration below.

Continue reading “LED Christmas Tree Is Perfect Holiday Build”

Touch Panels Make This Christmas Tree Interactive

The city of Liverpool, famously known as both the home port of the Titanic and the birthplace of The Beatles, also seems to have a thing for interactive public art installations. Witness this huge interactive Christmas tree that can be played by passersby.

The display in the city’s busy Williamson Square was commissioned by a municipal business group and built by [Adrian McEwen]. The idea was to adorn the 10-meter natural tree with large geometric ornaments covered with Neopixel strips. [Adrian] documents the build process in some detail, including that fact that over 170 meters of WS2812b strips went into the ornaments for the tree. While the strips themselves at IP68 rated, the connections needed when attaching them to the custom-made frames were not, and that had to be overcome with ample application of heat-shrink tubing. OctoWS2811 adapter boards were dangled about the tree to control the lights and connected together with garlands of Ethernet cables. Pressure sensors were used to control the lights when the EMI from the beefy power supplies needed to run everything proved too much for the original touch sensors. After a lot of bench testing and a few long nights working with the city crew to hang the display, passing Liverpudlians can now play the tree and enjoy the Christmas season.

Would you rather a smaller display for your own Christmas tree? This somewhat hyperactive indoor light show might be what you’re looking for.

Continue reading “Touch Panels Make This Christmas Tree Interactive”