https://github.com/mikmuellerdev/rpi-infrared-scanner
Allows you to scan codes sent by infrared remotes
https://github.com/mikmuellerdev/rpi-infrared-scanner
Last synced: 23 days ago
JSON representation
Allows you to scan codes sent by infrared remotes
- Host: GitHub
- URL: https://github.com/mikmuellerdev/rpi-infrared-scanner
- Owner: MikMuellerDev
- License: gpl-2.0
- Created: 2022-03-12T14:23:36.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-12T16:03:19.000Z (over 4 years ago)
- Last Synced: 2025-03-25T08:01:28.152Z (over 1 year ago)
- Language: Go
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rpi-infrared-scanner
Allows you to scan codes sent by infrared remotes.
### Usage
Before building the application, make sure to change the following code (In line 12)
```go
const pinNum uint8 = 4
```
The application uses the `BCM` layout of the pins.
### Build
Execute following command to cross-compile the code to a binary which is understandable by the *Raspberry-Pi*.
```
make build
```
After the application's binary has been built, transfer it to the *Raspberry-Pi* using a utility like `scp`.
### Usage
After the binary has been transferred to the *Raspberry-Pi*, run it by using following command:
```
./scanner
```
### Going further
Of course a scanner alone is not useful, instead the code can be modified to represent some sort of listener which can trigger events on the raspberry pi when a certain code is recognized.