Beginner Project: Color Sensing With RGB LEDs And A Photocell

I’ve seen the concept art for “real world eyedroppers” several times. I haven’t noticed any of the products come to market though. It isn’t the technology stoping them, color sampling can be done a million ways. I picked one of the easiest ways and tossed something together pretty quickly.

Continue reading “Beginner Project: Color Sensing With RGB LEDs And A Photocell”

Scrapped DVD Player Turns Into A Full Featured Clock

[Dmitry] really went the distance with this project. It started as a broken DVD player scrapped for parts, and turned into this clock with way too many features. That link is a pretty a dry technical collection of the work. You’ll definitely want to have a look at it, but we’d suggest first watching the demo video after the break which is initially much more exciting.

The donor DVD hardware included a Vacuum Fluorescent display which is the nugget which [Dmitry] was after. But that board came along with some other nice things, like an integrated IR receiver. He also chose to use the PSU from the device. An Arduino is used to drive the clock. We’re not sure where he found it, but the video shows the service manual for the DVD player which must have a been a real help in interfacing with the display. The white dome on the right is a PIR motion sensor. It brings the device out of sleep mode when someone is in the room.

The case is laser-cut and started as cardboard to ensure everything fit as designed. The enclosure makes it a showpiece, but the features of displaying day, date, time, and temperature make it functional as well. Since the VFD is alpha-numeric we think this could even see future upgrades to be used as a new-mail/tweet/IM alert as well.

LEDs Fade To The Music Using A Python Filter

This little LED rig fades in time to music. The hardware itself is quite simple, some LEDs connected to the PWM pins of an Arduino. But the signal processing is happening on a computer using a Python script.

Many of the projects we see which pulse lights to music use the MSGEQ7 chip to perform hardware processing on the audio signal. But since [Zolmeister] is using a computer to play his tunes he took a different route. His Linux box uses PulseAudio to handle sound. This allows him to record from the audio playback which provides an internal source for the pyAudio package. His Python script saves snippets of the streaming audio to .wav files. I then normalizes the volume level and uses the amplitude to set a PWM value before deleting the sample and moving onto the next. These values are pushed to the Arduino at 115200 baud to achieve the results seen in the video after the break.

Continue reading “LEDs Fade To The Music Using A Python Filter”

Rewiring A Free Carnival Sign

Late last September, Hackaday along with other hackerspaces including North Street Labs, 1.21 Jigawatts, Maker Twins, made their way to the NYC Maker Faire via the Red Bull Creation contest. The objectives of the contest were simple: build a game in 72 hours, have people vote on it, and join the Red Bull crew in Queens for a carnival-like atmosphere.

When the Maker Faire was over, Red Bull had some leftover props from their Midway at Maker Faire setup, including a few illuminated carnival signs. Without any use for them, they graciously gave Hackaday, North Street, Maker Twins and the Jigawatts the signs to their respective rides.

Now that things have settled down and the rides have returned to their home base, the folks over at North Street decided to improve their sign. At Maker Fair, these signs were illuminated by 50 incandescent bulbs, all wired on the same circuit. [Steve] over at North Street had the awesome idea of adding a persistence of vision aspect to the sign, so work began on wiring every fourth bulb in series.

To drive the light circuits, North Street repurposed the Arduino Relay shield originally used for the lights on the Centrifury, their competitive centrifuge and spinning hell of a game. In the video after the break, you can see the addition of POV lights really brings out the carnival atmosphere. A literally brilliant build, and a wonderful addition to the scariest game ever made.

Continue reading “Rewiring A Free Carnival Sign”

Add An Arduino To A Google+ Hangout

Google+ Hangouts provide a group video chat with the ability to add apps. [RobotGrrl] created a Node.js web app to control an Arduino that can be added to a Hangout.

There’s a Javascript client that runs inside of the Hangout and communicates with the Node.js server running on an EC2 server over WebSockets. The server receives this client data and sends commands to Processing using TCP sockets. Processing deals with communicating with the Arduino, allowing you to control many things from the Hangout.

In this simple example, [RobotGrrl] demonstrates how to toggle an LED from the Hangout. This includes a tutorial on setting up your EC2 instance, full source for the server and client apps, the processing sketch to control an Arduino, and the code to allow the app to be added to a Hangout.

This example shows the basics, but there’s a whole slew of things that could be controlled with this system. [RobotGrrl] even demonstrates some robots that are controlled from a Hangout interface.

Check out an overview video after the break.

Continue reading “Add An Arduino To A Google+ Hangout”

Giving The Arduino Deques, Vectors And Streams With The Standard Template Library

The Arduino IDE is extremely similar to C++, but judging from the sketches you can find on the Internet, you’d never know it. Simpler Arduino projects can make do with just toggling IO pins, reading values, and sending serial data between two points. More complex builds fall into the category of real software development, and this is where the standard Arduino IDE falls miserably short.

[Andy] saw this lack of proper libraries for more complicated pieces of software as a terrible situation and decided to do something about it. He ported the SGI Standard Template Library to bring all those fun algorithms and data structures to any AVR chip, including the Arduino.

Going over what’s included in [Andy]’s port reads just like a syllabus for an object-oriented programming class. Stacks, queues, and lists make the cut, as do strings and vectors. Also included is just about everything in the   and headers along with a few Arduino-oriented additions like a hardware serial and liquid crystal streams.

With all these objects floating around, [Andy] says it will make an impact on Flash and SRAM usage in an AVR. Still, with all the hullabaloo over faster and larger ARM micros, it’s nice to see the classic 8-bit microcontroller becoming a bit more refined.

The Arduino Due Is Finally Here

After a years-long wait, an ARM powered Arduino is finally due. The Arduino Due will finally be released this coming Monday.

On board the Arduino Due is an Atmel-sourced ARM Cortex M3 microcontroller running at 84 MHz. The Due has an impressive list of features including a USB 2.0 host, compatibility with the Android ADK (lest you still need an IOIO), 12 analog inputs with 12-bit resolution, 2 analog outputs running at 12 bits, a CAN interface, and more input pins than you can shake a stick at.

For a full list of features, you can grab this PDF we picked up when we saw the Due at Maker Faire NYC

This hardware update to the Arduino platform makes a lot of very cool builds very possible for even the beginner hardware hacker. Of course the Due will be used for controlling drones and UAVs, laser cutters and 3D printers, and playing WAV files from the analog outputs. The much improved hardware opens up a lot of other possible builds including making your own guitar pedals – DSP is a wonderful thing – and reading the telemetry from your car in real-time via the CAN bus.

Although it’s not available right now, you will be able to buy an Arduino Due for $49 USD this coming Monday at your favorite electronics retailers.