Display Your City’s Emotional State with Illuminated Snow

[Hunter] wanted to do something a bit more interesting for his holiday lights display last year. Rather than just animated lights, he wanted something that was driven by data. In this case, his display was based on the mood of people in his city. We’ve seen a very similar project in the past, but this one has a few notable differences.

The display runs off of an Arduino. [Hunter] is using an Ethernet shield to connect the Arduino to the Internet. It then monitors all of the latest tweets from users within a 15 mile radius of his area. The tweets are then forwarded to the Alchemy Sentiment API for analysis. The API uses various algorithms and detection methods to identify the overall sentiment within a body of text. [Hunter] is using it to determine the general mood indicated by the text of a given tweet.

Next [Hunter] needed a way to somehow display this information. He opted to use an LED strip. Since the range of sentiments is rather small, [Hunter] didn’t want to display the overall average sentiment. This value doesn’t change much over short periods of time, so it’s not very interesting to see. Instead, he plots the change made since the last sample. This results in a more obvious change to the LED display.

Another interesting thing to note about this project is that [Hunter] is using the snow in his yard to diffuse the light from the LEDs. He’s actually buried the strip under a layer of snow. This has the result of hiding the electronics, but blurring the light enough so you can’t see the individual LEDs. The effect is rather nice, and it’s something different to add to your holiday lights display. Be sure to check out the video below for a demonstration. Continue reading “Display Your City’s Emotional State with Illuminated Snow”

Super Bowl Football Lamp Keeps You Informed

[David] loves to watch football. After his preferred team lost the playoffs, he wanted another reason to watch the big game last Sunday. He ended up building himself a football-shaped lamp that changes color based on who scored last.

[David] started with a Spark Core and a Spark Button. The Spark is the primary microcontroller and includes WiFi. The Spark Button is essentially a shield for the Spark that includes an accelerometer, some LEDs, and a few push buttons. The other part of this build was the housing. [David] used a toy football he got for free as swag from a parade.

As for the code, [David] started by first learning how to control the LEDs on the Spark Button. Then he wrote his own touchdown function to illuminate the football a specific color. Since the Spark uses the REST API, [David] is able to trigger this function by simply visiting the URL of his Spark. This makes it very simple to trigger the event.

The final part of this build was made easy thanks to IfThisThenThat (IFTTT). This is a web service that allows you to monitor and interact with various online web services. It can monitor one service, and then interact with another based on events that happen in the first service. In this case, [David] is using a “channel” added to IFTTT by ESPN. This channel can trigger when certain events happen for whatever team you specify. For this project [David] is monitoring touchdowns.

After combining all of these various services, [David] had a working light that would change colors based on which team scored. He did notice that IFTTT has anywhere between a 1 and 15 minute delay, and he hopes to improve upon this design by hooking directly to an API and skipping the extra service altogether.

Hacklet 32 – LED Persistence of Vision Displays

Blinking LEDs are good. Moving, spinning things are good too. Put them both together and you get a Persistence of Vision (POV) display. Hackers have been building these displays for years. This week’s Hacklet focuses on some of the best LED POV displays on Hackaday.io!

povtypeWe start with [EduardoZola] and POV as you type, write on the air. [Eduardo] used an Arduino Nano, a pair of 433 MHz radios, some blue LEDs and a motor to create a simple spinning display. A hall effect sensor keeps everything in sync. The entire display is powered by a 500 mAh LiPo battery. The awesome thing about this display is the interactive aspect. The transmitter module connects to a laptop via an on-board USB to serial converter. Typing into any serial terminal sends the text directly to the POV display, where the letters appear to hang in the air.


deathringNext up is [boolean] with Silent Orchestra POV aka “Death Ring”. [boolean] didn’t want to just create a POV ring, he wanted a huge 5 foot diameter display for his local Burning Man decompression. Death Ring is an aluminum ring spun by a 3HP motor. A hall effect sensor keeps everything synced up, and keeps Death Ring’s 3 horsepower motor in check. Light is provided by a PixelPusher and WS2812 RGB strips. The system is designed to be interactive, controlled with a Leap Motion controller or a Microsoft Kinect. An MPU-6050 keeps acceleration in check while processing maps video to the LED strip. An Arduino Yun allows the entire system to be controlled via WiFi. [boolean] and his team have taken Death Ring through several revisions. Judging by the quality of their aluminum welding though, they’re on the right track to an awesome end result!

locoHackaday.io power user [Davedarko] has been working on a POV display of a different sort. His Locomatrix is an 8×8 LED matrix which moves in and out on the Z axis. [Dave] originally created Locomatrix as his entry in the 2014 Hackaday Prize. We have to admit this is the first time we’ve seen this sort of display, but the idea is sound. In fact, [Bruce Land] posted in the comments to let [Dave] know that he’d seen a similar technique used with a CRT display back in 1964. We’re betting Dave’s 3D printed gears and LED matrix display will be more robust than a CRT tube slamming two and fro at several hundred pulses per minute!

CPOVFinally, we have Hackaday’s own [Mike Szczys] with CPOV – a Crappy Persistence of Vision display . CPOV is a proof of concept made from upcycled parts which [Mike] threw together in a couple of hours. He grabbed the motor from an old cassette deck, some plywood, perfboard, and of course LEDs to build his display. The processor is an ATtiny2313 running Adafruit’s MiniPOV 3 firmware. The system display doesn’t have a sync input, so [Mike] uses a novel form of Human-in-the-loop PWM control to keep the motor speed in check. CPOV is proof that Hackaday.io isn’t just for polished projects, but for proof of concepts, fails, and just plain research. Even if your project isn’t perfect, documenting it will help you learn from it. It might even inspire someone else to move forward and continue where you left off!

Want more POV goodness? Check out our new POV display list!

Our LEDs are going dim, so that’s about all the time we have for this Hacklet. As always, see you next week. Same hack time, same hack channel, bringing you the best of Hackaday.io!

Arduino Tetris on a Multiplexed LED Matrix

[Alex] needed a project for his microcomputer circuits class. He wanted something that would challenge him on both the electronics side of things, as well as the programming side. He ended up designing an 8 by 16 grid of LED’s that was turned into a game of Tetris.

He arranged all 128 LED’s into the grid on a piece of perfboard. All of the anodes were bent over and connected together into rows of 8 LED’s. The cathodes were bent perpendicularly and forms columns of 16 LED’s. This way, if power is applied to one row and a single column is grounded, one LED will light up at the intersection. This method only works reliably to light up a single LED at a time. With that in mind, [Alex] needed to have a very high “refresh rate” for his display. He only ever lights up one LED at a time, but he scans through the 128 LED’s so fast that persistence of vision prevents you from noticing. To the human eye, it looks like multiple LED’s are lit up simultaneously.

[Alex] planned to use an Arduino to control this display, but it doesn’t have enough outputs on its own to control all of those lights. He ended up using multiple 74138 decoder/multiplexer IC’s to control the LED’s. Since the columns have inverted outputs, he couldn’t just hook them straight up to the LED’s. Instead he had to run the signals through a set of PNP transistors to flip the logic. This setup allowed [Alex] to control all 128 LED’s with just seven bits, but it was too slow for him.

His solution was to control the multiplexers with counter IC’s. The Arduino can just increment the counter up to the appropriate LED. The Arduino then controls the state of the LED using the active high enable line from the column multiplexer chip.

[Alex] wanted more than just a static image to show off on his new display, so he programmed in a version of Tetris. The controller is just a piece of perfboard with four push buttons. He had to work out all of the programming to ensure the game ran smoothly while properly updating the screen and simultaneously reading the controller for new input. All of this ran on the Arduino.

Can’t get enough Tetris hacks? Try these on for size.

3D Printed LED Guitar Chord Chart

Learning to play guitar can involve a lot of memorization – chords, scales, arpeggios, you name it. [MushfiqM] has made the process a bit easier with his Digital Chord Chart. Just about every beginning guitarist keeps a chord app, chord book, or even a chord poster handy. Usually these chord charts are in the form of tablature, which is a shorthand method of showing where each finger should go on the instrument. [MushfiqM] took things a step further by actually placing that chart on a 3D printed model of a guitar fretboard.

ledmatrixx[MushfiqM] started by rendering a 3D model of an abbreviated guitar using Autodesk Inventor. He then printed his creation in 3 parts: headstock, neck, and fretboard. The neck of the guitar was hollowed out to allow room for a matrix of LEDs which would show the finger positions. [MushfiqM] then painstakingly soldered in a charlieplexed matrix of 30 leds, all connected by magnet wire. The LEDs are controlled by an Arduino UNO, which has the chord and scale charts stored in flash.

For a user interface, [MushfiqM] used a 2×16 character based LCD and a low-cost IR remote control. All the user has to do is select a chord or scale, and it’s displayed on the fretboard.

There are a couple of commercial products out there which perform a similar function, most notably the Fretlight guitar. Those can get a bit pricy though – costing up to $400.00 USD for an LED enabled guitar.

[via Instructables]

Electricity Usage Monitor is Linked to Google Spreadsheets

If you want to make your home more energy-efficient, chances are you will need a way to monitor your electricity usage over time. There are off-the-shelf solutions for this of course, but hackers like us tend to do things our own way. Take [Karl] for example. He recently built himself a solution with only a few smart components. We’ve seen similar projects in the past, but none quite like this.

[Karl’s] home has a power meter that blinks an LED to indicate the current amount of used electricity in Watt-hours. He knew all he needed was a way to electronically detect the blinking LED and he’d be able to accurately track his usage without modifying the meter.

The primary components used in this project were a CC3200 development kit and a photoresistor module. The dev kit contained a WiFi module built-in, which allows the system to upload data to Google spreadsheets as well as sync the built-in clock with an accurate time source. The photoresistor module is used to actually detect the blinking LED on the power meter. Everything else is done easily with code on the dev kit.

TweetHeart Shows You Some Love

[Stacey] wanted a more interesting way to monitor events related to her Twitter account. What she ended up with is a beautiful animated heart light.

TweetboxShe started out by designing the enclosure. Having access to a laser cutter, she opted to make it out of thin plywood. [Stacey] used an online tool called BoxMaker to design the actual box. The tool is very simple to use. You simply plug in the dimensions of the box and it will provide you with a two dimensional template you can use with your laser cutter. The resulting plywood pieces fit together like a puzzle. The heart piece is made from frosted acrylic and was also cut by the laser.

To light up the heart, [Stacey] opted to use NeoPixels. These are like many of the RGB LED strips we’ve seen in the past, though the pixel density is higher than most. She cut up the LED strip into the appropriate sizes and glued them to a piece of plywood in a rough heart shape. She tested the lights during each step so she would know exactly when any errors were made.

[Stacey] opted to use a SparkCore to control the LEDs. This had the advantage of including WiFi connectivity out of the box.  [Stacey] started with NeoPixel example programs, but quickly realized they all relied on the Delay function. This was a problem for her, because she needed to constantly watch for new Twitter events. She ended up having to write her own functions that relied on interrupts instead.

[Stacey] then wrote a Node.js script to monitor twitter and control the Spark. The script watches for specific events, such as one of [Stacey’s] tweets being re-tweeted, or a user unfollowing [Stacey]. The script then sends a message to the Spark to tell it which event just occurred. The Spark will then repeat the event until a new one occurs. Check out the demonstration video below. Continue reading “TweetHeart Shows You Some Love”