Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 975 Bytes

File metadata and controls

21 lines (15 loc) · 975 Bytes

##IR remote control

This folder contains the files to setup and control the GoPiGo with and Keyes IR remote

Files:

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

Connection:_ Connect the IR receiver to the Serial port on the GoPiGo. 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

Then run gopigo_ir_control_bot.py to control the GoPiGo when you press the buttons on the remote