Skip to main content

Show Posts

This section allows you to view all Show Posts made by this member. Note that you can only see Show Posts made in areas you currently have access to.

Messages - ecr

1
USB Infrared Toy / Re: IRToy questions
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!
2
USB Infrared Toy / IRToy questions
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

-------------------------------------------------------------------------
 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:]
3
USB Infrared Toy / USB IRToy V2 and Windows 10
Hello all,

Just wanted to share my experience with the USB IRToy V2 and Windows 10, since my searches didn't find a lot of info. 
Bottom line: It works (at the time of this writing - 12/6/2016)

Here's some notes:
Received it on 12/5.  Plugged it in.  Ran the self test - and nothing.  Trying to run IRToySelfTest.exe and getting back a weird firmware version of FA02 FA02 and program says there's an IR LED problem.

Finally got it working by upgrading the firmware to v22 <it looks like it was on v215 (?) >.

Some notes:
- On Win 10, *before the v22 firmware upgrade*, when plugged in both a "USB Input Device" in the "Human Interface Devices" section in Device Manager and a "USB Serial Device (COMx)" in the "Ports (COM & LPT)" section were created.

- After the v22 firmware upgrade, the device only shows up as the "USB Serial Device (COMx)".  Not sure if this is normal or not, but it works.

- Not sure if this was needed, but I did do an "Update driver" using the .inf provided.

- NOTE: The "update-USBIRToy.v22.bat" file didn't work for me.  The batch file prompts for a COM port #, and uses the COM port with the Bootloader.exe command, but that just seemed to make the device get stuck in bootloader mode (yellow light stays on).  I took out the COM port and Bootloader stuff, just leaving the fw_update command.  It worked. 

It might be easier to just short the PGC/PGD pins and run the fw_update command manually.
Code: [Select]
fw_update -e -w -v -m flash -vid 0x04D8 -pid 0xFD0B -ix USBIRToy.v22.hex

- As a test, I ran the "record-test.bat" and "play-test.bat" (found in the USBIRToy.package.v22.zip file) and was able to record/play the TV's on/off codes.

NOTE: You'll need to edit the .bat files to use the correct COM port.

- The USB hardware ID's are:
   VID: 0x04D8
   PID: 0xFD0B


Hope this info helps someone else out there!
ECR

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01382299440session_write_close ( )...(null):0
20.01422431016ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01422431792Database_MySQL->query( ).../DatabaseHandler.php:119
40.05912570512Database_MySQL->error( ).../Db-mysql.class.php:273