Skip to content

Small go application to decode IR signals into binary

License

Notifications You must be signed in to change notification settings

kpelzel/irDecoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

irDecoder

NOTICE: This package is untested

irDecoder uses a raspberry pi and an IR receiver to decode any 38khz IR signal into it's underlying binary (or at least tries it's best)

Dependencies

  • Go
  • github.com/stianeikeland/go-rpio

Software Installation & Setup

irDecoder is written entirely in go and uses the go-rpio package to access the rpio pins. It can be built using:

    go build decode.go

Then execute the program as usual. Be sure to specify the signal pin from the IR sensor (in this example 16 is the pin that the IR receiver is plugged into):

    ./decode 16

Hardware Installation & Setup

This package was designed to be used with a raspberry pi (any version should work) and an IR receiver (something similar to the TSOP38238). The input signal pin is specified by giving it as the first command line argument.

About

Small go application to decode IR signals into binary

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages