grovepi/Software/Python/grove_ir_receiver
2025-03-21 16:04:17 +01:00
..
script first commit 2025-03-21 16:04:17 +01:00
ir_recv_example.py first commit 2025-03-21 16:04:17 +01:00
README.md first commit 2025-03-21 16:04:17 +01:00

##IR remote control

This folder contains the files to setup and use the Keyes IR remote with the GrovePi

Files:

  • ir_recv_example.py : Used to test button press on the IR remote
  • /script/ir_install.sh : Installation file for IR remote control

Connection:_ Connect the IR receiver to the RPi serial port on the GrovePi. This will act as a pass through to the IR signals to the Serial pins. IR receiver Hardware v1.0 and back have the IR receiver connected to white wire and v1.1 and v1.2 have it connected to the Yellow wire, so the GPIO changes

Installation:_

  • Make the ir_install.sh executable: sudo chmod +x ir_install.sh
  • Run the install script: sudo ./ir_install.sh

Usage:_ Run the ir_recv_example.py to check if the remote is working properly