Hello
I would like to test a IR receiver (model RB-See-185) with my GrovePi but I don’t know if I do the correct actions.
I connect the sensor on a A0 port and launch the script: /Desktop/GrovePi/Software/Python/grove_ir_receiver.py (with parameter in script pin port=1).
Nothing is not happening when I test with my remote controler.
I have tested:
an other analogic port
a numeric port
but nothing.
Could you help me? I’m newbie in Raspberry/GrovePi world
Attached my configuration.
All update are done on software and firmware.
Hey,
If it has been set up correctly, you’ll have to follow the instructions here: http://alexba.in/blog/2013/01/06/setting-up-lirc-on-the-raspberrypi/ to set up the Pi to work with your receiver. The big change here would be that you have to use lirc_rpi gpio_in_pin=14 everywhere in that page instead of gpio_in_pin=23,gpio_out_pin=22.
Hey,
Can you connect the sensor to the first port RPISER instead of the second port. Also, first try out dtoverlay=lirc-rpi,gpio_in_pin=14. If this doesn’t work then try out dtoverlay=lirc-rpi,gpio_in_pin=15.
Not really sure why this is not working for you. We have used the same tutorial here to set up the IR receiver: http://alexba.in/blog/2013/01/06/setting-up-lirc-on-the-raspberrypi/. Would it be possible for you to use jumper wires to directly connect the IR receiver to the GPIO pins on the Raspberry Pi, and maybe start with a fresh noobs image to see if it works.
Hey ygrakes,
Great to hear that the receiver is working for you. Are you using the Grove IR receiver or something else. How are you connecting the sensor to the Raspberry Pi right now and can you add a picture of the IR receiver and the connections. Also, why do you have dtparam=gpio_out_pin=16 and isn;t there another line like dtoverlay=lirc-rpi,gpio_in_pin=15 to associate the pin with LIRC. I think the GrovePi is fine, there might be some small problems with the connections or the configurations.
I only try the IR receiver. No other sensor is connected on my board/raspberry. At the beginning, I have tried the temperature sensor and it works fine with GrovePi & python script example.
I have contacted the person in charge of the web site above (in comments part) because I have meet some problem on my Rasbian image. This person has adviced to modify config.txt with :
dtoverlay=lirc-rpi
dtparam=gpio_out_pin=16
dtparam=gpio_in_pin=17
dtparam=gpio_in_pull=down
but the IN PIN wasn’t correct. I have tried with 23 port number and it worked.
Hi ygrakes,
Great to hear that the IR receiver is working for you. I did have a look at the link that you had mentioned above and it does look like you are directly connecting the IR receiver to the GPIO pins. The GrovePi has a RPISER port which is directly connected to the Serial GPIO’s on the Pi and should allow you to directly use the sensor without using jumpers if you want to switch to using that. The only other big difference that I found was the dtparam=gpio_in_pull=down parameter. We have not been using this too.
Great to hear that it worked for you. Do let us know more about the project that you are building with it.