RGB Upgrade For Ikea Single Color Fiber Optic Lamp

Five bucks will buy you a STRÅLA lamp from Ikea. It’s a battery operated hanging lamp that pipes the light out through multiple branches of fiber optic bundles. But you’ll only get white out of this, which is pretty boring. [Boris] decided to swap out the stock LED for an RGB unit and drive it with an Arduino.

The lamp nucleus is just a couple of pieces of plastic which can be popped apart to reveal the shard of PCB hosting one LED. The body of that diode is flat on the top, and [Boris] filed down his replacement to match the form factor. There are only two conductors in the wire that runs between that PCB and the battery pack, so he replaced them with four conductors (R,G,B, and GND). His prototype uses the Arduino’s PWM capabilities to control the colors, but [Boris] recommends transitioning to a simple chip like a PIC 12F675 or one of the smaller ATtiny microcontrollers after you’ve got the bugs worked out.

See how this turned out in the clip after the break.

Continue reading “RGB Upgrade For Ikea Single Color Fiber Optic Lamp”

Beginner Concepts: We’re Gonna Let You Finish, But First This Tutorial On Arduino Interrupts

OK, year-old pop culture references aside [Kyle] dropped us a line to show us his tutorial on using interrupts with your Arduino. Given the single core nature of your average Arduino’s AVR you pretty much have two choices for monitoring occasional un-timed inputs: Either check an input at an interval (which risks missing the signal entirely) or set up an interrupt to pause the chip’s normal operation. Obviously working with interrupts saves you tons of clock cycles since you are not polling a pin over and over. [Kyle] plans on a follow up tutorial to cover timer based interrupts, which can come in handy when generating frequencies and stuff.

Looking for more Arduino Basics? How about Basic on an Arduino. Check out our other beginner concepts posts as well if you need to work on your fundamentals.

Arduino-based MIDI Synth

[Charles Gershom] has been tinkering around with his keyboard and Arduino in order to build his own version of a MIDI controlled synthesizer. It looks like he’s gutted the enclosure of some commercially available MIDI hardware to use for the project. This works nicely since it gives him both the MIDI and audio jacks that he needs. The box also provides a nice control surface where a set of four LEDs indicates the synth mode currently in use. There are also four potentiometers mounted on the panel, but they’re not yet up and running.

Check out the video after the break to see what this can do so far. [Charles] shows the device synthesizing sounds coming in from the keyboard. It is also used to playback the audio from Super Mario Bros. which is fed in by a music notation program on a computer. Only one voice is playing when this happens which makes us think this can only handle one channel at a time right now (but we could be wrong).

Continue reading “Arduino-based MIDI Synth”

A Simple Method For Expanding Arduino IO Capacity

Although there are other ways to do this, [Rod] has decided to write up his method of using two Arduinos and the I2C protocol to expand an Arduino’s IO capacity. As seen in the picture above, you’ll sacrifice 2 analog pins, but if you happen to need IO and have an extra Arduino lying around, this could really help. [Rod] also notes that this method could be used with many Arduino’s in parallel if the situation called for it. The code for this simple hack is included as well, so be sure to check out his site if you want to try this idea.

Some other solutions for extra IO would be to buy an Arduino Mega with 54 digital IO pins or the Muxshield which gives you 48 IO (and is stackable for other shields). An advantage of using the two Arduinos, is that if they are needed to be split in the future for different projects, this could be done. It’s good to have options for your IO needs as every hack is different.

Check out the video after the break to see everything being hooked up.

Continue reading “A Simple Method For Expanding Arduino IO Capacity”

magic-wand

Hacking A “magic Wand” To Remotely Control Light Displays

Hackaday reader [Kieran] volunteers at an outdoor haunted house attraction called the “Disenchanted Forest”. Attendees are lead through the haunted forest by a volunteer, who helps keep everyone on the predetermined trail. The trail is usually lit by small LED fixtures that the group constructed, but the organizers wanted to make the lights more interactive this time around.

A fellow organizer gave [Kieran] a [Harry Potter] Magic Candle, which allows him to light the toy with the wave of his IR-enabled wand. He was told to “make it do something cool”, so he took a closer look at it to determine how everything worked.

Using an Arduino clone and some borrowed IR code he was able to get the wand to work with the forest’s trail lighting, but there was a lot of lag between waving the wand and triggering the light. Taking a second stab at it, [Kieran] was able to replicate the IR protocol used by the toy, speeding things up and increasing the wand’s range considerably. Now, the tour guides can light and extinguish the trail lighting with a simple flick of the wrist.

Take a look at the video below to see how things worked out for [Kieran], and be sure to swing by his site for more details if you have the urge to modify your Magic Candle.

Continue reading “Hacking A “magic Wand” To Remotely Control Light Displays”

Halloween Hacks: Motion Sensing Fog Machine

Halloween Hacks Banner

motion-sensing-fogger

[monkeysinacan] wanted to add a fog machine to his Halloween display, but he says that the cheaper consumer-grade models are pretty unruly beasts. He cites short duty cycles and tricky fog control as his two biggest gripes with these sorts of foggers. He decided make the fogging process a little more manageable, and modified his to only generate fog when someone was walking nearby.

One obvious concern with this sort of setup is the warm-up time required to get the device ready to produce fog. If it were to only turn on when someone walked by, [monkeysinacan] would miss his mark each and every time. To ensure that his machine was accurate, he rigged it so that the heat exchanger stayed powered on, triggering the fog juice pump as needed.

To do this, he used an ultrasonic sensor similar to, but cheaper than a Parallax Ping unit. Paired with an Arduino, the sensor triggers the fog machine’s pump for 20 seconds whenever anyone gets within 6 feet of it.

While he hasn’t posted video of the modified fogger at work, it sounds like a solid plan to us.

DIY Binary Alarm Clock Small Enough To Fit In Your Pocket

portable-binary-clock

[linux-dude] always wanted to have a binary clock, but he didn’t want to pay someone else to make it for him. Additionally, he was looking for a compact alarm clock he could take on the road, rather than relying on the one in his hotel room.

Inspired by other binary clock projects he has seen over the years, he set off to build his own, which he wanted to fit inside an Altoids tin. His binary clock uses an Arduino Duemilanove (which fits perfectly in the tin) to keep time and control the indicator LEDs. The LEDs are arranged in two rows as you would expect, representing hours and minutes. A small piezo speaker serves as the alarm buzzer, which should be sufficient to wake up most people, though something bigger might be required for heavy sleepers.

We didn’t see any sort of battery pack or power plug mentioned, so we’re not quite sure how [linux-dude] keeps his clock juiced up. Additionally, the lack of an real time clock is something we’re puzzled by. While the Arduino does have a clock function that can be used, an RTC might serve him better – then again if he’s gone for just a day or two at a time, a small amount of drift may not be an issue.