A Flashlight For Any Occasion

Whether you’re trying to light your path, build your own night vision, or do some tanning at home, this flashlight has you covered. [David Prutchi] designed the high power flashlight with three swappable heads.

He built the base unit out of aluminum pipe. It’s got plenty of room for the four 9V batteries that act as the power source. The driver circuit is just a bit smaller than one of those batteries, and to bring the whole thing together [David] and his helper added a potentiometer, toggle switch, and quick connector which makes head swaps a breeze. The heads themselves are all LED based, with one for visible light, another for infrared, and the final module outputs ultraviolet. We joke about tanning with it, but at 10 Watts you should be more worried about accidental damage to your vision.

The finished product is shown checking the security ink on some Canadian Currency. This would also make a nice secondary light source for your night vision monocle.

Simple Proximity Sensor

[Dustin Andrews] built this add-on board which works as a proximity sensor. He wanted a standalone sensor for his Arduino projects which would use a single pin as a trigger. This lets him alert the Arduino when an object approaches the sensor without the need for polling or extra code on the Arduino side of things.

As you can see, a single chip on the board takes care of all the work. That’s an ATtiny13, they’re inexpensive and sometimes you can even salvage them from consumer electronics like this color changing light bulb. The microcontroller monitors the phototransistor which is wrapped in electrical tape to isolate it from the IR LED emitters on either side. This setup creates a reflective sensor. When an object nears the board, the infrared light from the emitters reflects off of it and onto the phototransistor. And since the Arduino works as an AVR programmer you don’t need special hardware to program the device.

IR Helicopter Controller Hacked Into A Linux Game Pad

syma-linux-joystick

[Mike Kohn’s] Syma S107 helicopter wasn’t flying as well as it used to due to a broken gear, he figured he might as well find some use for the toy’s controller, since it was currently sitting around collecting dust. Having done a bunch of work with Syma IR protocols earlier this year, he decided it would be pretty easy to get the remote working as a game pad for his Linux desktop.

He patched an IR receiver into an MSP430 board, which decodes the incoming IR signals, sending them to his computer over a serial connection. [Mike] dug around in the Linux source for some good joystick driver code to borrow and found something that was close enough to work. After a bit of tweaking he loaded up his driver module and fired up Mame to give [Ms. Pacman] a try.

He says that the controller worked without much trouble, though as he discovered in previous projects, there are some quirks in the controller that make it somewhat less than convenient to use full time. Check out his site if you’re interested in taking a look at the code that he used to get things running.

Infrared Hides Code Combination On Geocache Puzzle

[AJ] and [Brian] are making sure the geocache challenges they set up take some ingenuity to solve. They’ve just rolled out a two-part cache which uses a code hidden in infrared light.  (Editor’s note from the far future: link wend dead.  Have a look in the Wayback Machine.)

The first part of the cache is a box (the black one on the left) which contains a mysterious hand crank and a smaller box that has a combination lock on it. The second stage is the wooden box on the right. It’s got a hole in the side to receive the hand crank. This connects to the dynamo inside, letting you build up some electricity as it spins. Inside the case you’ll see two red lights blink as the crank is turned, but when you push the button on the outside of the box nothing will happen. That is, unless you’re looking through a camera which can pick up infrared light. The code (710 in this case) is displayed in an array of IR LEDs, and is used to open that combination lock. We wonder if there’s any clues about using a camera or if you have to figure this out on your own.

Don’t miss the video after the break for a full demo of the system.

Continue reading “Infrared Hides Code Combination On Geocache Puzzle”

PS3 IR Dongle Tamed For Use With A Linux Box

So a man walks into a Radio Shack and the clerk says “Why the long face?”. No, that’s not it. [Ms3fgx] walks into a Radio Shack and says “holy crap, that PS3 IR dongle is only two bucks”. He’s been looking for an IR remote receiver to use with a Linux machine and decided to bend this PS3 dongle to his will. It’s a lot less expensive that the parts to build the simplest IR receivers like this FTDI cable version, or a microcontroller based receiver.

He plugged it in and was delighted to find that it enumerates. The kernel has PlayStation 3 controller support built-in and has no problem picking up this device. When he uses ‘cat’ to display the incoming data all he gets is repetitive garbage. This is because the dongle only supports Sony remote control codes. But after a bit of universal remote setup, he’s got unique commands for each button. The last piece of the puzzle is to map the controller commands to keyboard keys. This is done with the QJoyPad package, but there are a myriad of ways to remap these buttons so go with what you know.

ATtiny44 Drop-in Replacement For Ikea Dioder’s Stock PIC Controller

The Ikea Dioder is an LED light sold at the big blue and yellow building that lets you mix your own colors using a simple button and wheel controller. [Marco Di Feo] looked at all of the other projects out there that alter the controller and figured out that the IC can be directly replaced with an ATtiny44 microcontroller. With that chip soldered onto the board he added IR control so that he can change colors using his universal remote control (translated).

[Marco] removed the potentiometer normally responsible for selecting the color. This frees up one pin on the microcontroller which he then uses to receive signals from a TSOP1736 IR receiver. The video after the break shows the device, which illuminates the back of his home entertainment center, reacting to commands from his remote control.

Of course this can be done without the chip swap as the PIC 16F684 that comes with it can be reprogrammed in place. But [Marco] didn’t have a PICkit or other programmer on hand. Continue reading “ATtiny44 Drop-in Replacement For Ikea Dioder’s Stock PIC Controller”

Workout Timer Has Its Own Fight Bell

This workout timer turned out great. We think [Douglas] managed to end up with a professional look and a full range of features even though he was doing a lot of learning along the way.

He wanted a clock that was capable of counting up or down to time different segments of his workout. In order to be really useful it needed to have a remote control and a way to signal when time had run out. He grabbed an Arduino and started prototyping with an LED marquee at first, but after adding a second Arduino to deal with the display scanning issues he finally switched over to these LED segment displays.

The timer includes an IR receiver so that it can be controlled with a handheld remote. The large red bell to the side has a heck of a ding and is used to signal the start and end of timing. Perhaps the driver for that bell could be incorporated into the home automation project from Wednesday. Once the hardware decisions were finalized [Douglas] set out to build an enclosure that he could be proud of (mission accomplished!). Don’t miss the video after the break where he walks through all various aspects of the user interface. Continue reading “Workout Timer Has Its Own Fight Bell”