Arduino sketch to generate raw code for use with IR Scope

Discussion forum for JP1 software tools currently in use, or being developed, such as IR, KM, RemoteMaster, and other misc apps/tools.

Moderator: Moderators

probono
Posts: 48
Joined: Sun Aug 12, 2012 4:22 am

Re: Arduino sketch to generate raw code for use with IR Scop

Post by probono »

Exciting development in this thead :-)

Just found this now. I will try to catch up asap. In the meantime, I found this question:
NEC1 wrote:If you have not done so, are there plans to incorporate the IR sender and receiver program in the same Arduino board (of which the mode can be selected with a serial port command e.g. "RX" for IR receiving mode and "TX" for IR transmitting mode)?
I am using this sketch and it is working for me (but likely it should be prettified):

https://gist.github.com/probonopd/57936 ... eceive-ino

Send Pronto Hex via an IR LED connected to Arduino Pin D9. Make sure you do not send a blank (" ") as the last character. For example, to send Sony12, device = 1, obc = 47:

Code: Select all

SEND 0000 0067 0000 000d 0060 0018 0030 0018 0030 0018 0030 0018 0030 0018 0018 0018 0030 0018 0018 0018 0030 0018 0018 0018 0018 0018 0018 0018 0018 03de
Barf
Expert
Posts: 1524
Joined: Fri Oct 24, 2008 1:54 pm
Location: Munich, Germany
Contact:

Post by Barf »

Hi Probono,

nice to hear from you again.

Next version of IrScrutinizer (1.0.2 or possilbly 1.1.0) will come with one Arduino sketch good for both sending and capturing. Due "real soon now". Basically, I am implementing a simple case of the Girs specification..
Barf
Expert
Posts: 1524
Joined: Fri Oct 24, 2008 1:54 pm
Location: Munich, Germany
Contact:

Post by Barf »

As described in another thread, IrScrutinizer 1.1.0 has been released. It contains a sketch that, as per above, will both send and capture. The capture is based on MikeT's work, for the sending part, I am now using Chris Young's IrLib, which is based upon Ken Shirriff's library.

It has been tested on Arduino Uno, Nano, Lenoardo, Micro, Mega2560.
Barf
Expert
Posts: 1524
Joined: Fri Oct 24, 2008 1:54 pm
Location: Munich, Germany
Contact:

Post by Barf »

Hi again,

Here is a fairly detailed DIY guide for an Arduino nano clone based board, for the price of a small pizza. It incorporates most of the stuff mentioned in this thread, including a further developments of MikeT's excellent work.

It uses my own Arduino software AGirs and Infrared4Arduino instead of IRLib.

It is primarily geared to be used with IrScrutinizer and Lirc (driver contained in Lirc 0.9.4), but other usages are also possible.
Post Reply