Simple IR Sensor Simplifies Laptop Audio Control

tiny-ir-tv-remote-receiver

[Owen] has a fairly big project in the works, where he’ll need to use infrared light to send data wirelessly between two nodes. The only problem with his grand plan is that he has never built anything of the sort. As a learning exercise, he decided to try his hand at building a wireless control interface for his laptop, which he uses to play music while doing homework.

His laptop usually sits across the room from [Owen], where it is connected to a speaker and amplifier. He hates getting up repeatedly to change songs, so he figured he might as well build an IR receiver to control Winamp that responds to commands from his TV’s remote control. Using his Open Bench logic sniffer and an IR receiver from an old VCR, he deciphered his remote’s encoding system. He then programmed an ATtiny13 to decode messages received by the IR sensor, sending them to his laptop via USB.

He packaged things inside a tiny mint tin, which he hangs from a desk lamp while in use. Now he can easily perform just about any action in Winamp with a few button presses on his remote. [Owen] says that he’s incredibly happy with the results, and now that he has a firm grasp of IR signaling concepts, we can’t wait to see what he builds next.

Lamp Fading And Remote Control For The Lazy

[Dmitry Grinberg] has to walk all the way across his bedroom to switch the lamp on and off. The drudgery of this finally became too much, so he built a remote control and added dimming for good measure. Above you can see the circuitry for the remote and the receiver, as well as the finished remote housed in what he calls a ‘Chinese Altoids tin’.

After the break you’ll find [Dmitry’s] demo video. The remote control is quite responsive, and the dimming has great resolution. That’s thanks to a power N-channel MOSFET which switches the AC with the help of a full wave rectifier. The PIC 12F617 that controls the MOSFET is powered separately, and [Dmitry] mentions that you must use a transformer and not a switch-mode power supply to avoid a fire. We’d like to know more about this, so leave a comment if you are able to explain further.

The remote and receiver communicate via Infrared. The protocol is operating with 38 kHz signals using an easily sourced receiver tuned to that frequency. [Dmitry] shares all the details about the encoding scheme that he uses. Recreating this communications pairing is a great way to test your understanding of this technique. But if you need a refresher, here’s a tutorial to push you in the right direction. Continue reading “Lamp Fading And Remote Control For The Lazy”

Making An RF Controlled Light Switch Work With IR

ir-rf-light-switch

[Gary] had an RF triggered light switch kicking around, and wanted to find a way to control his lights using a home theater remote. The switch, which he bought from RadioShack years ago, came with a simple remote that uses two buttons to toggle the lights on and off. While you might think that switching from RF to IR control would be a step backwards, [Gary] really just wanted to consolidate remotes more than anything else.

He designed a circuit board specifically for interacting with the remote half of his RF controller. It sports a PIC16F628A micro controller, which is tasked with processing IR commands from his home theater remote and triggering the lights when requested.

The code he developed for the project is relatively simple, but very useful all the same. When his board is powered on, it stores the first IR code it receives, then retains it as long as it stays powered on. This lets [Gary] use any button on his remote to turn the lights on and off, without any IR codes permanently defined in software.

As you can see in the video below, the modified switch works just as intended, saving [Gary] from having to walk all the way to the light switch when it’s time to fire up a movie.

Continue reading “Making An RF Controlled Light Switch Work With IR”

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”

Shutter Trigger Remote With Some Nice Design Considerations

Here are the guts of [Lukasz’s] infrared camera remote control. He based it off of an existing design, but looked for places where improvements could be made. He felt the ATtiny2313 was a bit wasteful in this case. But further investigation led him to see why it was chosen. If you were to drop down to an ATtiny13 the ability to connect a crystal oscillator is lost (that chip only offers a 1-pin clock signal input) and the internal RC oscillator isn’t quite up to his standards for reliable IR communications.

Instead of driving the IR LED directly from an AVR pin he used a transistor in hopes that it will allow the maximum current to flow through the diode when in use. We’re not sure if it’s necessary, but we can see how it makes sense. Power is received from an unregulated 3 volt coin cell, so maybe as that voltage drops over time this will come into play.

Speaking of that coin cell, battery life is a concern here. [Lukasz] is using the sleep functions of the AVR after three seconds of use. This should keep the cell alive for quite a long time. But his 0 volt measurement is an anomaly with the multimeter he’s using. To get a precise measurement for tiny current flow you need extra equipment, like [Dave Jones’] uCurrent adapter.

The schematic for this Canon camera compatible project is only provided in Eagle format so we’ve embedded an image of it after the break for your convenience. You should have no problem making this work with a Nikon if you swap out some of the code from the TV-B-Gone shutter release we saw on Thursday.

Continue reading “Shutter Trigger Remote With Some Nice Design Considerations”

Salvaged Flight Stick Controls A/V System, Triggers “Emergency Party System”

av_controller_party_switch

After seeing a writeup online that demonstrated how to build an “Emergency Party Button”, [spikec] knew that he had to have one of his own. He happened to have a USAF B-8 stick grip from an A-10A aircraft laying around, and figured it would be perfect for controlling the A/V system in his basement.

The control stick was mounted to the top of a cheap cigar humidor, and crammed full of any electronic component he could get his hands on. It contains not one, but two Arduinos. The first is tasked with reading the flight stick’s inputs and the IR control of his various appliances, while another triggers the overhead lighting in his bar along with the X10 controlled Emergency Party System. He contemplated combining all of the functionality into one device, but splitting the tasks in two was easier for this self-declared electronics novice.

The various buttons on the control stick can be used to power all of his A/V appliances on and off, control volume levels, and select which songs stream from his digital jukebox. If the action ever starts to wind down, a quick turn of his “arming” key and the flick of a switch sends his basement into full-on party mode, which includes more lighting and lasers than any one person should be allowed to own.

[spikec] says that his wife’s eyes were rolling like “uncaged gyros” when he unveiled his controller for the first time – a sign of a job well done. Don’t take our word for it though, check out a video of his control stick and Emergency Party System in action after the jump.

Continue reading “Salvaged Flight Stick Controls A/V System, Triggers “Emergency Party System””

Remote-controlled VMUSIC2 Audio Player

ir_controlled_vmusic2_audio_player

[Ron] was looking for a way to play his MP3s around the house without having to use his computer. He also wanted the ability to remotely control his tunes with an old camcorder remote he had sitting around – not exactly a feature you would find in an off the shelf personal audio player.

Ultimately, he decided to construct his own remote-controlled audio player using a VMUSIC2 audio module, which can decode MP3s from any standard USB drive. The VMUSIC2 is controlled by a Propeller demo board, which also handles receiving and decoding IR signals from his camcorder remote. While he was originally dumping ID3 tag data to his computer for debugging purposes, he recently added an LCD screen for displaying song information in a more useful manner.

The MP3 player seems to work pretty well if the video below is any indication, though it’s begging for a nice enclosure to tie things together. We like the project so far, so we’re sure [Ron] won’t fail to impress when it’s completely finished.

Continue reading “Remote-controlled VMUSIC2 Audio Player”