Hello
I would like to test a IR receiver (model RB-See-185) with my GrovePi-Raspberry 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).
The disc image on SD card is original “Dexter Industries Raspbian for Robots” image.
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?
All update are done on software and firmware.
Hello,
Please connect the IR receiver to the RPi serial port on the GrovePi and use the code in the following link github.com/DexterInd/GrovePi/tr … r_receiver
Let us know the results
Hello
I have done the script with the ir receiver on serial port. Below script logs.
Nothing appears on screen
Thank you.
Logs:
[size=85]dex login: pi
Password:
Last login: Sat May 21 07:01:02 EDT 2016 on tty1
Linux dex 4.1.19+ #858 Tue Mar 15 15:52:03 GMT 2016 armv6l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
xhost: unable to open display “”
pi@dex:~ $ cd Desktop/GrovePi/Software/Python/grove_ir_receiver/
pi@dex:~/Desktop/GrovePi/Software/Python/grove_ir_receiver $ cd script/
pi@dex:~/Desktop/GrovePi/Software/Python/grove_ir_receiver/script $ sudo chmod +x ir_install.sh
pi@dex:~/Desktop/GrovePi/Software/Python/grove_ir_receiver/script $ sudo ./ir_install.sh
| __ \ | |
| | | | _____ | | ___ _ __
| | | |/ _ \ / / / _ \ '|
| || | /> <| || / |
|/ _//___|| _ _
| | | | | | ()
| | _ __ | | _ | | _ __ _ ___ ___
| | | ’ \ / ` | | | / __| | '| |/ _ / __|
| || | | | (| | || _ \ || | | | /_ \
|___|| ||_,|_,|/_|| ||_||/
WELCOME TO IR RECEIVER SETUP FOR THE GOPIGO.
Please ensure internet connectivity before running this script.
NOTE: Reboot Raspberry Pi after completion.
Check for internet connectivity…
Connected
Installing Dependencies
Hit mirrordirector.raspbian.org jessie InRelease
Hit archive.raspberrypi.org jessie InRelease
Hit mirrordirector.raspbian.org jessie/main armhf Packages
Hit mirrordirector.raspbian.org jessie/contrib armhf Packages
Hit archive.raspberrypi.org jessie/main armhf Packages
Hit mirrordirector.raspbian.org jessie/non-free armhf Packages
Hit archive.raspberrypi.org jessie/ui armhf Packages
Hit mirrordirector.raspbian.org jessie/rpi armhf Packages
Ign archive.raspberrypi.org jessie/main Translation-en_US
Ign archive.raspberrypi.org jessie/main Translation-en
Ign archive.raspberrypi.org jessie/ui Translation-en_US
Ign archive.raspberrypi.org jessie/ui Translation-en
Ign mirrordirector.raspbian.org jessie/contrib Translation-en_US
Ign mirrordirector.raspbian.org jessie/contrib Translation-en
Ign mirrordirector.raspbian.org jessie/main Translation-en_US
Ign mirrordirector.raspbian.org jessie/main Translation-en
Ign mirrordirector.raspbian.org jessie/non-free Translation-en_US
Ign mirrordirector.raspbian.org jessie/non-free Translation-en
Ign mirrordirector.raspbian.org jessie/rpi Translation-en_US
Ign mirrordirector.raspbian.org jessie/rpi Translation-en
Reading package lists… Done
Reading package lists… Done
Building dependency tree
Reading state information… Done
lirc is already the newest version.
python-lirc is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 25 not upgraded.
Copying Config Files
Files copied
Enabling LIRC
Lib dev already present
Check Lib Rpi GPIO
Lib Rpi GPIO already present
Check Pin 15
Check Kernel Version.
LIRC for Kernel 3.18 already present
Check Kernel pin 15
Please restart the Raspberry Pi for the changes to take effect
| __ | |/ | |/\ | __ _ |
| |) | | | ( | | / \ | |) | | |
| _ /| | _ \ | | / /\ \ | _ / | |
| | \ | |__ ___) | | |/ ____ | | \ \ | |
|| __|__/ |// __| _\ |_|
To Restart type ‘sudo reboot’
pi@dex:~/Desktop/GrovePi/Software/Python/grove_ir_receiver/script $ sudo reboot
dex login: pi
Password:
Last login: Sat May 21 07:07:47 EDT 2016 on tty1
Linux dex 4.1.19+ #858 Tue Mar 15 15:52:03 GMT 2016 armv6l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
xhost: unable to open display “”
pi@dex:~ $ cd Desktop/GrovePi/Software/Python/grove_ir_receiver/
pi@dex:~/Desktop/GrovePi/Software/Python/grove_ir_receiver $ ls
ir_recv_example.py README.md script
pi@dex:~/Desktop/GrovePi/Software/Python/grove_ir_receiver $ python ./ir_recv_example.py[/size]