|
JP1 Remotes
|
View previous topic :: View next topic |
Author |
Message |
probono
Joined: 12 Aug 2012 Posts: 48
|
Posted: Sun Apr 20, 2014 6:03 am Post subject: Re: Arduino sketch to generate raw code for use with IR Scop |
|
|
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/5793692#file-sendandreceive-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: | 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 |
|
|
Back to top |
|
|
Barf Expert
Joined: 24 Oct 2008 Posts: 1415 Location: Munich, Germany |
Posted: Sun Apr 20, 2014 8:39 am Post subject: |
|
|
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.. |
|
Back to top |
|
|
Barf Expert
Joined: 24 Oct 2008 Posts: 1415 Location: Munich, Germany |
Posted: Sat Jun 21, 2014 2:28 am Post subject: |
|
|
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. |
|
Back to top |
|
|
Barf Expert
Joined: 24 Oct 2008 Posts: 1415 Location: Munich, Germany |
Posted: Fri Jan 08, 2016 3:04 pm Post subject: |
|
|
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. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|