Last month I bought a PIR as part of my Adafruit order for Raspberry Pi stuff. This weekend I decided to try and use it with the RPi. PIR Sensor (image from Adafruit) Rear of PIR Sensor (image from Adafruit) Using the WiringPi library, it was pretty easy to get it up and running. Here is a picture of it mounted on top of the Prototyping Pi Plate from Adafruit with double-sided tape. Raspberry Pi Plate with PIR and LED I connected it to GPIO 18 or pin 1 in the WiringPi library. Here is the code I used that blinks the LED when there is motion. I used the same technique as the blinking LED test so that I …
Raspberry Pi, CommandIR and Beyond
Now that I have had some time to play with the CommandIR, progress has been made. Of the two initial issues I have one left. The first issue is that LIRCD doesn’t auto start even though it is configured in the hardware.conf. While researching, I came to the conclusion that LIRC isn’t reading the hardware.conf at all. I made a change to it, enabling the listen option to try an Android app but it didn’t take effect. When I manually start LIRCD I have to include the options at the commandline. This is still a mystery but I am working with support on it. The odd thing is the init.d service script doesn’t seem to do anything. TV with IR Emitter Xbox S with IR Emitter …