Skip to content

dranger003/ir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

ir

Tiny program to read and write infrared codes using the lirc_rpi
driver written by Aron Robert Szabo and Michael Bishop.
Receiving codes to stdout and sending codes from stdin. Codes are
separated by a space. IR pauses and pulses are read and written
as integers from and to the lirc_rpi driver char device /dev/lirc0.
By default the char device is set to read from GPIO 17 and write to
GPIO 18 (using PWM). It is assumed you are using LIRC_MODE_MODE2
and there is no need to be running the lircd daemon for this program
to work. Refer to http://www.lirc.org/ for more information.

To receive codes I use a TSOP38238 IR receiver diode: https://www.sparkfun.com/products/10266

To send codes I use the IR LED kit: https://www.sparkfun.com/products/10732

NOTE: The codes are raw codes - meaning they may need to be manually modified and/or stipped before they become useful to send back to the device.

About

Tiny program to receive and send infrared codes using GPIO pins on the Raspberry Pi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages