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”

Hackaday Links Column Banner

Hackaday Links: Christmas Eve Eve, 2018

The entirety of Silicon Valley is predicated on the ability to ‘move fast and break laws’. Have an idea for a scooter startup? No problem, just throw a bunch of scooters on the curb, littering and e-waste laws be damned. Earlier this year, Swarm Technologies launched four rogue satellites on an Indian rocket. All commercial satellite launches by US companies are regulated by the FCC, and Swarm just decided not to tell the FCC. This was the first unauthorized satellite launch ever. Now, Swarm has been fined $900k. Now that we know the cost of launching unauthorized satellites, so if you’ve got a plan for a satellite startup, the cost for an unauthorized launch is a bit more than $200k per satellite. Be sure to put that in your budget.

Santa Claws! Liberty Games would like to donate to a charity this holiday season, but you can’t just write a check. That’s not fun. Instead, they connected a claw machine to the Internet, and anyone can play it. Setting up a webcam was easy enough, but they also had to move the claw and press the button over the Internet. A Raspberry Pi came to the rescue.

Tomorrow is the 50th anniversary of Apollo 8, mankind’s first trip beyond Earth orbit. Now, using Lunar Reconnaissance Orbiter data, NASA has reconstructed the famous ‘Earthrise’ photo taken by the crew. It’s in 4K, and we’re getting a great diagram of what pictures were taken when, through which window.

It’s that time of year again, and the 176th Air Defense Squadron is on high alert. This squadron, based out of Joint Base Elmendorf-Richardson in Anchorage, Alaska has the AWACS in the air, on patrol, just waiting for the inevitable. You can take a look at their progress here, and please be sure to keep our service members in your thoughts this holiday season.

Show off your sculpture skills with small bits of wire! Get the blowtorch out because copper work hardens! [Roger] can’t enter the Circuit Sculpture contest, but he did manage to give a body to one of the Tindie heads.

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.

Artificial Intelligence Composes New Christmas Songs

One of the most common uses of neural networks is the generation of new content, given certain constraints. A neural network is created, then trained on source content – ideally with as much reference material as possible. Then, the model is asked to generate original content in the same vein. This generally has mixed, but occasionally amusing, results. The team at [Made by AI] had a go at generating Christmas songs using this very technique.

The team decided that the easiest way to train their model would be to use note data from MIDI files. MIDI versions of Christmas songs are readily available and provide a broad base with which to train the model. For a neural network, the team chose to use a Long-short Term Memory (LSTM) architecture. This is a model which is contextually sensitive, which is important when dealing with structured formats like music or language.

The neural network generated five tunes which you can listen to on the Made by AI Soundcloud page. The team notes their time was limited, and we think that with some further work and more adherence to musical concepts such as structure and repetition, it might be possible to generate something a little more catchy.

There are other applications for AI in music, too – like these intelligent musical prostheses.

Biology Lab On Your Christmas List

We hope you have been good this year because we have a list to start your own biology lab and not everything will fit into Santa’s bag (of holding). If you need some last minute goodie points, Santa loves open-source and people who share on our tip line. Our friends at [The Thought Emporium] have compiled a list of the necessary equipment for a biology lab. Chemistry labs-in-a-box have been the inspiration for many young chemists, but there are remarkable differences between a chemistry lab and a biology lab which are explained in the Youtube video linked above and embedded after the break.

If you are preparing to start a laboratory or wondering what to add to your fledging lab, this video is perfect. It comes from the perspective of a hacker not afraid to make tools like his heat block and incubator which should absolutely be built rather than purchased but certain things, like a centrifuge, should be purchased when the lab is mature. In the middle we have the autoclave where a used pressure cooker may do the trick or you may need a full-blown commercial model with lots of space and a high-pressure range.

Maybe this will take some of the mystique out of starting your own lab and help you understand what is happening with a gel dock or why a spectrophotometer is the bee’s knees. There are a handful of other tools not mentioned here so if this is resonating, it will be worth a watch.

Continue reading “Biology Lab On Your Christmas List”

Christmas POV Display Makes Viewer Do The Work

Hackaday readers have certainly seen more than a few persistence of vision (POV) displays at this point, which usually take the form of a spinning LED array which needs to run up to a certain speed before the message becomes visible. The idea is that the LEDs rapidly blink out a part of the overall image, and when they get spinning fast enough your brain stitches the image together into something legible. It’s a fairly simple effect to pull off, but can look pretty neat if well executed.

But [Andy Doswell] has recently taken an interesting alternate approach to this common technique. Rather than an array of LEDs that spin or rock back and forth in front of the viewer, his version of the display doesn’t move at all. Instead it has the viewer do the work, truly making it the “Chad” of POV displays. As the viewer moves in front of the array, either on foot or in a vehicle, they’ll receive the appropriate Yuletide greeting.

In a blog post, [Andy] gives some high level details on the build. Made up of an Arduino, eight LEDs, and the appropriate current limiting resistors on a scrap piece of perfboard; the display is stuck on his window frame so anyone passing by the house can see it.

On the software side, the code is really an exercise in minimalism. The majority of the file is the static values for the LED states stored in an array, and the code simply loops through the array using PORTD to set the states of all eight digital pins at once. The simplicity of the code is another advantage of having the meatbag human viewer figure out the appropriate movement speed on their own.

This isn’t the only POV display we’ve seen with an interesting “hook” recently, proving there’s still room for innovation with the technology. A POV display that fits into a pen is certainly a solid piece of engineering, and there’s little debate the Dr Strange-style spellcaster is one of the coolest things anyone has ever seen. And don’t forget Dog-POV which estimates speed of travel by persisting different images.

[Thanks to Ian for the tip.]

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”