gadgetPhreak Gadget News Blog. Futuristic Gadgets and Portable Electronics

May 16, 2006

How-To: IR Remote Control your Computer

Filed under: features,how to,how-to,howto,infrared,ir — Will O'Brien @ 1:23 pm

Filed under: ,

For today’s how-to we spent some time rummaging around in our parts box to build a serial IR remote interface for our PC. We took a few pieces from various designs to come up our own, built specifically to work with WinLirc or LIRC; it can transmit and recieve IR signals, just imagine the possibilities.

It’ll probably work with other software packages, but may require some small modifications.
For today’s how-to you’ll need:

  • IR(Infrared) LED (RS 276-142)
  • IR Receiver module (RS 276-640)
  • 4.7uf and 100-220uf capacitors
  • 47ohm and 4.7k resistors
  • Sub-D 9 pin Female Connector
  • NPN Transistor (cheapies from RS are fine)
  • PC Board
  • Sacrificial USB Cable
  • Tools, hookup wire, solder, etc.

Everything can be picked up at RadioShack or your favorite electronics supplier. We dressed ours up a bit, but you can succeed with just these parts. We hear that the RadioShack IR receiver we used has been known to produce flaky data, but ours worked fine.

The receiver portion is pretty simple. Rather than use extra parts to generate stable power from the serial port, we decided to steal 5 volts from the USB port.

The transmitter is a little bit more complicated. The resistor is 47 Ohms, and the capacitor can be 100 to 220uF. The WinLIRC project recommends using the TX pin of the serial port for better performance.

To test our our customized circuits we built it on a breadboard first. Using WinLIRC (which is getting kind of old at this point) we easily recorded commands from our remote and got around 10 feet of range with our transmitting LED. We suspect you can get even more range, but the surround receiver we tested with is a bit picky.

Breadboards just aren’t good enough for us, we had to pull out the soldering iron. Here’s our Serial connector with USB connector to supply a solid 5 volts to the transceiver. And yes, we’ll cover those exposed leads with some heat shrink tubing.

We built our remote transceiver to use a standard piece of Cat-5 so we can easily place it wherever we need it. Upstairs, the ceiling… or next to the hot tub.

Download WinLIRC and unzip the folder to wherever you want it to reside. There’s no installer, so somewhere on C: or in Program Files might be a good idea. Double click the remote + computer icon labeled winlirc.

The first thing you’ll get is an error message. Click OK to pull up the configuration window.

Select the correct COM port. Usually it’ll be either COM1 or COM2. Most of the default values are fine. The receiver should be DCD and under Transmitter, TX should be selected. Finally, click Browse next to the Config line. To get started, select sample.cf and hit OK. It won’t let you create a new blank config. If you think everything is correct, click on the Raw Codes button. If everything is correct, you’ll get a new window. Otherwise you get an error message.

Point a remote at the receiver. If you see codes, it’s working! Close the window and click on the Learn button in the main configuration window.

WinLIRC will complain some more. Click Yes.

Now we get the Learn remote window back again. This time we get prompted. Enter a name for the remote like VCR and click Enter. Next, the default error margin of 25 should be fine. Type in 25 and click Enter again. The next question lets you tune a custom gap length between signals. Leave it blank and click Enter again. Next you’ll be asked to press a button. Just follow the prompts. Don’t worry about which buttons you’re pressing. WinLIRC is just checking out the signal timing you’re sending it until it asks for the name of a button.

When asked for a name, enter something like Power and click enter. Now you’ll be asked to hold down the button. Aim the remote at your receiver and watch the signal count rise.

Finally, you get to declare if you want to keep the recording of each button. Repeat this for every button on the remote you wish to store. When you’re done, click Enter without typing anything in the box. You should get a confirmation message that the config was saved.

More WinLIRC silliness. Just click OK, then click the Analyze button back in the main config window. If you’re done, click OK in the main configuration window. Now WinLIRC will hide in the TaskBar as an icon. The icon will change colors to show status. It turns green if it gets a signal it recognizes.

Clicking on the icon will bring up a WinLIRC window. To test sending a code you’ve recorded, select the remote and the code you want, and click Send Code. You’ll need to aim the transmitter at whatever you want it to talk to.

Now that it’s working, you’ll want to make it do something besides make a green dot on your task bar. On the WinLIRC page you’ll find links to various pieces of software that supports WinLIRC. Go forth and vanquish TV signals, friend, or whatever unusual things one does with a fully customizeable homebrew IR blaster / receiver.

Permalink | Email this | Linking Blogs | Comments

April 18, 2006

Opticon-toting driver gets $50 fine for changing traffic light

Filed under: Crime,infrared,ir,opticon,red light,traffic signals — Marc Perton @ 5:34 am

Filed under:

We hate waiting for traffic lights to change as much the next driver (or pedestrian -- we have to cross streets, too, you know), but we doubt we'd ever try to take things into our own hands like Jason Niccum of Longmont, Colorado, did. Niccum picked up an Opticon -- an infrared light used by firefighters and other emergency responders to trigger traffic signals -- on eBay for about $100, and has been using it to cut his commuting time. That is, was using it, until local cops busted him after they noticed a consistent pattern of traffic-light disruptions at certain intersections. They nailed Niccum, and the town now plans to change the frequency used by traffic lights to block unauthorized signals (until, that is, someone comes out with a next-gen model). Niccum, despite getting stuck with a $50 fine, isn't exactly remorseful. "I guess in the two years I had it, that thing paid for itself," he told a local newspaper.
Read | Permalink | Email this | Linking Blogs | Comments

February 8, 2012

Control your IR devices via SMS

Filed under: circuit,control,controller,infrared,ir,project,sms — Chris Ziegler @ 8:50 pm

Filed under:

As the site clearly indicates, “The purpose of this circuit is to make the human life better and easier,” and we couldn’t agree more. If you’ve got an ancient Ericsson lying around that would otherwise be ready for the recycle bin, this circuit gives your faithful friend a new lease on life as an SMS-actuated IR sender capable of controlling up to eight devices, depending on how you opt to build it. A simple 8-digit text message to the phone is all it takes to send the appropriate ON or OFF signals, and as an added bonus, the author shows you how to wire the phone directly into the circuit so a battery’s no longer required. A better and easier human life, indeed.

[Via Make]

Read | Permalink | Email this | Linking Blogs | Comments

HTC: Music – yay! Infrared – nay. Symbian – maybe.

Filed under: PeterChou,infrared,peter chou — Ryan Block @ 8:50 pm

Filed under: ,

In a not-so shocking development, handset trendsetter HTC is, according to president / CEO Peter Chou, considering making their devices more music friendly by increasing internal flash memory at the same time as cutting some fat, namely IR. (And really, how often do you use IR on a phone with USB and Bluetooth?) Most interesting, however, was Chou’s statement that if an operator or reseller were to make it worth their while, HTC wouldn’t have a problem getting in the Symbian device business: “We’re not limited. We’re not Microsoft, we can do anything.” Unfortunately that hasn’t yet come to pass, but it’s not like an ODM like HTC shouldn’t have a price when it comes to developing hardware for other platforms. We’d absolutely welcome some variety to the hardware running world’s most prolific phone OS, and who knows, maybe sometime soon we’ll see an HTC e61 killer.

[Via the::unwired]

Read | Permalink | Email this | Linking Blogs | Comments

 
Built by WebNola New Orleans Web Design