When using IRToy in record mode, a set of hex numbers are displayed. Are these the on/off pulses for the codes?
And in the output file, are these actually recorded as binary (not text)? I'm assuming this isn't raw waveform data...
And when IRToy plays back the file, is the firmware responsible for modulating the signal? (not sure if that's the correct terminology)
If so, what tells the firmware what frequency to use?
Thanks,
ECR
IRToy output display below:
[font=Courier:]-------------------------------------------------------------------------
IR TOY Recorder/Player utility v21 (CC-0)
http://dangerousprototypes.com (http://dangerousprototypes.com)
-------------------------------------------------------------------------
Opening IR Toy on COM6 at 115200bps...
IR Toy Firmware version: V222
Entering IR sample mode .... Done.
IR Toy Protocol version: S01
Current sample timer Resolution: 21.3333us
Recording at Resolution= 21.333300us
Allocated Record Buffer size: 512
Recording started.....
Press a button on the remote.
Waiting..any key to exit..
Creating file: test_000.bin
IR Toy said:
00 6E 00 1E 00 37 00 1D 00 1B 00 1D 00 37 00 1D 00 1B 00 1D 00 37 00 1D 00 1B 00 1D 00 1B 00 1D 00 37 00 1D 00 1B 00 1D 00 1B 00 1D 00 1B 00 1D 00 1B 00 A2 00 6F 00 1E 00 37 00 1D 00 1B 00 1D 00 36 00 1E 00 1B 00 1D 00 36 00 1E 00 1B 00 1D 00 1B 00 1D 00 37 00 1D 00 1B 00 1D 00 1B 00 1D 00 1B 00 1D 00 1B 00 A1 00 6F 00 1D 00 37 00 1D 00 1B 00 1D 00 37 00 1D 00 1B 00 1D 00 37 00 1D 00 1B 00 1C 00 1B 00 1C 00 37 00 1D 00 1B 00 1C 00 1B 00 1C 00 1B 00 1C 00 1B 00 A2 00 70 00 1D 00 37 00 1C 00 1C 00 1C 00 37 00 1C 00 1B 00 1C 00 38 00 1C 00 1B 00 1C 00 1C 00 1C 00 38 00 1C 00 1C 00 1C 00 1C 00 1C 00 1C 00 1C 00 1C 00 A1 00 70 00 1D 00 38 00 1C 00 1C 00 1C 00 38 00 1C 00 1C 00 1C 00 37 00 1C 00 1C 00 1C 00 1C 00 1C 00 38 00 1C 00 1C 00 1C 00 1C 00 1C 00 1C 00 1C 00 1C 00 A1 00 70 00 1D 00 37 00 1C 00 1C 00 1C 00 38 00 1C 00 1C 00 1C 00 38 00 1C 00 1C 00 1C 00 1C 00 1C 00 38 00 1C 00 1C 00 1C 00 1C 00 1C 00 1C 00 1C 00 1C 00 A0 00 70 00 1C 00 38 00 1C 00 1C 00 1C 00 38 00 1D 00 1C 00 1C 00 38 00 1C 00 1C 00 1C 00 1C 00 1C 00 37 00 1C 00 1C 00 1C 00 1C 00 1C 00 1C 00 1C 00 1C 00 A1 00 70 00 1D 00 38 00 1C 00 1C 00 1C 00 38 00 1C 00 1C 00 1C 00 37 00 1C 00 1C 00 1C 00 1C 00 1C 00 38 00 1C 00 1C 00 1C 00 1C 00 1C 00 1C 00 1B 00 1C 00 A1 00 71 00 1C 00 38 00 1C 00 1C 00 1B 00 38 00 1C 00 1C 00 1C 00 38 00 1C 00 1C 00 1B 00 1C 00 1C 00 38 00 1C 00 1C 00 1C 00 1C 00 1C 00 1C 00 1C 00 1C
IR Toy said:
FF FF
writing test_000.bin
Waiting.. Any key to exit..
Recording ends..
Thank you for playing with the IR Toy! Utility version: v21.[/font:]
The technical questions you ask are all answered in this document (http://http://dangerousprototypes.com/docs/USB_IR_Toy:_Sampling_mode).
Let me suggest that you try IrScrutinizer (http://http://www.harctoolbox.org/IrScrutinizer) in addition/instead of the command line commands. It support the IrToy and will let you receive, analyze, and send ir signals in a "slightly more user friendly" way.
Hey - That's a great document! Thanks! Can't believe I didn't find it earlier...
Part of my project is transmitting via a C# program. After reading the document, it looks like it's a simple matter of sending the right commands to the serial port. Famous last words... lol
As far as IrScrutinizer, I'll take a look at that. Did a quick peek and the Export functionality looks like it will come in handy!