“Arduino Borealis” Combines LEDs and Paint

[Stef Cohen] decided to combine three different artistic mediums for her latest project. Those are painting, electronics, and software. The end goal was to recreate the aurora borealis, also known as the northern lights, in a painting.

The first step was to make the painting. [Stef] began with a shadow box. A shadow box is sort of like a picture frame that is extra deep. A snowy scene was painted directly onto the front side of the glass plate of the shadow box using acrylic paint. [Stef] painted the white, snowy ground along with some pine trees. The sky was left unpainted, in order to allow light to shine through from inside of the shadow box. A sheet of vellum paper was fixed to the inside of the glass pane. This serves to diffuse the light from the LEDs that would eventually be placed inside the box.

Next it was time to install the electronics. [Stef] used an off-the-shelf RGB LED matrix from Adafruit. The matrix is configured with 16 rows of 32 LEDs each. This was controlled with an Arduino Uno. The LED matrix was mounted inside the shadow box, behind the vellum paper. The Arduino code was easily written using Adafruit’s RGB Matrix Panel library.

To get the aurora effect just right, [Stef] used a clever trick. She took real world photographs of the aurora and pixelated them using Photoshop. She could then sample the color of each pixel to ensure that each LED was the appropriate color. Various functions from the Adafruit library were used to digitally paint the aurora into the LED matrix. Some subtle animations were also included to give it an extra kick.

LED Strip Notifies You Of The Light Show You’re Missing Outside

Unless you live way up in Canada, it’s not very likely that those gorgeous coronal mass ejections will collide with the atmosphere above your home. If they do, it’s a rare occurrence you wouldn’t want to miss. This is why [James] devised of a special alarm that would notify him when the Northern Lights may be visible in his neck of the woods. And what’s a better aurora alarm than a simulated aurora light show for your room?

[James] uses a Raspberry Pi to check data from Aurora Watch UK at Lancaster University for local activity. If the forecast reads that there may be some light above his home town in northern England, it triggers a NeoPixel LED strip to scroll through the color values of an actual aurora PNG image. This produces the same sporadic shifting of colors for a proximal ambient indoor lighting effect… though slightly less dramatic than the real thing. You can take a look at his Python script on github if you feel inspired.

Continue reading “LED Strip Notifies You Of The Light Show You’re Missing Outside”