My Pi IR remote Control
Controlling my Pi from bed.
...
My Pi IR remote control
I installed the Raspbmc media player on an SD card. My son Steven had shown me how his worked with his TV's remote. Unfortunately, the TV I wanted to use it with lacked the HDMI loop back that is required for this to work.
I did a little research on the net, and found it wasn't hard to add a Infra Red sensor to the Pi. The IR sensor can connect directly to the PI. The LIRC (Linux Infrared Remote Control) software is already loaded on RaspBMC; and I could just use one of the left over remote controls we have from old gear.
The first thing was to get the sensor. The sensor can connect straight to the Pi, I only needed to find the right one. I needed one that would work with the 3.3v of the Pi. The ones from Jaycar are 5v, so no good for the Pi. I found Element14 sold sensors that worked in the correct range of volts. The other consideration was what carrier frequency they use. A bit more research seemed to indicate that 38 kHz was the most common; so I took a punt and got 2 x TSSP4038. I lashed out and got 2 only because they are all of $2.60 each.
Wiring up the sensor for tesing was as easy as. The sensor does't require any other supporting electronics; so I just grab 3 male to male jumpers from my breadboarding kit, plugged each directly onto a pins on the sensor, and the other ends directly onto the appropriate pins on the Pi. A number of web tutorials on this.
For the Remote Control, I had several left around from old equipment we no longer use. I picked one from an old Dick Smith set top box, it looked best suited, but most remotes seem to have mostly the same types of buttons anyway.
With the hardware in place for testing purposes, I followed the guide at https://learn.adafruit.com/using-an-ir-remote-with-a-raspberry-pi-media-center/lirc . I used the irrecord program as described in the 'Using Other Remotes' section to configure for my chosen remote. This worked with no hic-ups. Now I had a functioning set-up.
...
. . .
...
. . .