You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Thisfolder contains the files to control the GoPiGo with and IR remote similar to the one used with TV and AC's
3
+
### This folder contains the files to setup and control the GoPiGo with and Keyes IR remote
4
4
5
5
**_Files:_**
6
-
-**gopigo_ir_control_test.py** : Used to test and record the button presse on the remote
6
+
-**ir_recv_example.py** : Used to test button press on the IR remote
7
7
-**gopigo_ir_control_bot.py** : Program to control the GoPiGo using the IR Remote
8
-
-**setup.py** : Installation file for the GoPiGo (use only if you are not using Dexter Industries SD Card)
8
+
-**/script/ir_install.sh** : Installation file for IR remote control
9
+
10
+
**Connection:_**
11
+
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.
12
+
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
13
+
14
+
**Installation:_**
15
+
- Make the ir_install.sh executable: sudo chmod +x ir_install.sh
16
+
- Run the install script: sudo ./ir_install.sh
9
17
10
18
**Usage:_**
11
-
First run the **gopigo_ir_control_test.py**and find out the IR codes for the button press on the remote.
19
+
Run the **ir_recv_example.py**to check if the remote is working properly
12
20
13
-
Once you have found the unique code in each of the button press, program them in the**gopigo_ir_control_bot.py** to control the GoPiGo when you press the buttons on the remote
21
+
Then run**gopigo_ir_control_bot.py** to control the GoPiGo when you press the buttons on the remote
printf"WELCOME TO IR RECEIVER SETUP FOR THE GOPIGO.\nPlease ensure internet connectivity before running this script.\nNOTE: Reboot Raspberry Pi after completion.\nPress ENTER to begin..."
0 commit comments