PI: B
IR Receiver: http://www.radioshack.com/product/index ... Id=2049723
Jumper cables: http://schmartboard.com/index.asp?page= ... pers&id=42
Issue:
I'm trying to get my pi to be a remote. I've started with trying to get a receiver to pick up the signal from a (Panasonic) tv remote.
I purchased the IR package and the jumper cables listed above from Radio Shack. I have the long side of the detector plugged into the pin 1 (3.3 right?) and the short side into pin 12 [18] (I've also tried pin 16 [23]).
I've added this to /etc/modules
Code: Select all
lirc_dev
lirc_rpi gpio_in_pin=12 gpio_out_pin=22
Code: Select all
# /etc/lirc/hardware.conf
#
# Arguments which will be used when launching lircd
LIRCD_ARGS="--uinput"
#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD=false
#Don't start irexec, even if a good config file seems to exist.
#START_IREXEC=false
#Try to load appropriate kernel modules
LOAD_MODULES=true
# Run "lircd --driver=help" for a list of supported drivers.
DRIVER="default"
# usually /dev/lirc0 is the correct setting for systems using udev
DEVICE="/dev/lirc0"
MODULES="lirc_rpi"
# Default configuration files for your hardware if any
LIRCD_CONF=""
LIRCMD_CONF=""
If I move the jumper cable around I could get some pulses and spaces to spit out, but I was assuming that's just noise.
If I run dmesg | grep lirc_rpi I get this (since I saw that on another post.
Code: Select all
[ 13.402957] lirc_rpi: module is from the staging directory, the quality is unknown, you have been warned.
[ 14.379391] lirc_rpi: auto-detected active low receiver on GPIO pin 18
[ 14.393032] lirc_rpi lirc_rpi.0: lirc_dev: driver lirc_rpi registered at minor = 0
[ 14.405034] lirc_rpi: driver registered!
What am I do wrong here?
