Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

GPIO IR Sensor - Not working
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
GPIO IR Sensor - Not working
2nd Mar, 2014, 07:24 AM
Post: #1
IYellowSnowI Offline
Registered
Posts: 4
Joined: Mar 2014
Reputation: 0
GPIO IR Sensor - Not working
Software
XBian version: Latest
XBMC version: Latest
Overclock settings: Turbo

Hardware
Power supply rating: 5V @2A
RPi model (model A/B 256mb/512mb): Model B 512MB
SD card size and make/type: Transcend 8GB Class 10 SDHC
Network (wireless or LAN): LAN
Connected devices (TV, USB, network storage, etc.): Powered USB 2 Hub (with USB Flash Drive running the OS), TV via HDMI (older Samsung that does not support CEC), Network drive via Samba share

Problem description:

I ordered these parts (from adafruit) and tried setting up the sensor/remote with the instructions on the wiki.

It tells me to run the following commands via SSH:
Terminal
xbian@xbian:~# sudo su
root@xbian:~# /etc/init.d/lirc stop
root@xbian:~# mode2
And after I run the "mode2" command, nothing happens, and I either wait a long time or reconnect via SSH to do anything. I pressed every button on my remote at least twice, around 5 inches in front of the sensor.

I've tried different things, such as this post related to Logitech Harmony issues, but still get nothing when I try to run the mode2 command.

I tried running (from this thread):
Terminal
sudo modprobe lirc_rpi
sudo kill $(pidof lircd)
sudo mode2 -d /dev/lirc0
but still get no output after the mode2 command.

I ran these commands:
Terminal
sudo lsmod
sudo modprobe lirc_rpi
sudo lsmod
and one of the results was:
Terminal
Module Size Used by
lirc_rpi 4756 3
lirc_dev 6580 1 lirc_rpi
so I think that means the sensor is being detected.

I've changed the wires connecting to the IR sensor several times, making sure they are in the correct place. I used a camera to see if the IR remote was working (and it appears so). I am wondering if my sensor is "dead" or if I am doing something wrong (most likely). Is there a way I can know if the IR sensor is working or not?
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
GPIO IR Sensor - Not working - IYellowSnowI - 2nd Mar, 2014 07:24 AM
RE: GPIO IR Sensor - Not working - CurlyMo - 2nd Mar, 2014, 09:46 AM
RE: GPIO IR Sensor - Not working - IYellowSnowI - 2nd Mar, 2014, 12:24 PM
RE: GPIO IR Sensor - Not working - CurlyMo - 2nd Mar, 2014, 07:08 PM
RE: GPIO IR Sensor - Not working - IYellowSnowI - 3rd Mar, 2014, 08:48 AM
Re: GPIO IR Sensor - Not working - CurlyMo - 3rd Mar, 2014, 10:18 AM
Re: GPIO IR Sensor - Not working - f1vefour - 3rd Mar, 2014, 04:53 PM
RE: GPIO IR Sensor - Not working - IYellowSnowI - 4th Mar, 2014, 02:32 PM
Re: GPIO IR Sensor - Not working - CurlyMo - 4th Mar, 2014, 03:55 PM

Possibly Related Threads...
Thread: Author Replies Views: Last Post
  [PROBLEM] Problem detecting IR Sensor on GPIO John Holmwood 5 17,492 14th Jul, 2015 07:58 AM
Last Post: f1vefour
  TSOP4838 on GPIO, mode2 works, irw not working. valurgud 13 37,645 2nd Dec, 2013 07:52 AM
Last Post: CurlyMo

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 21st May, 2025, 01:22 PM Powered By MyBB, © 2002-2025 MyBB Group.