[attachment=0][attachment=1]
Pictures taken by mobile: Not so clear. -_-
Only lacks the diode at MCLR.
Can IN4148 be used?
Yes, 1n4148 is perfect! Nice build.
Which firmware to write to it? Is there any bootloader+firmware=dump available like in BP?
I have tried to write "USBIRToy.v09-HaD.hex" through a PK2clone at 5V, but when verifying, it gives this error: http://snpr.cm/Xb5rNi.png (http://snpr.cm/Xb5rNi.png)
This is the slightly modified v1a design that I used.[attachment=0]
The page at http://dangerousprototypes.com/docs/USB ... #Partslist (http://dangerousprototypes.com/docs/USB_IR_Toy_v1_design#Partslist) shows Buspirate. Strange!!!
Wrong image is due to a template issue, thanks for sharing.
The firmware dump is in: USB_IR_Toymanufacturing_resourcesv2.0firmware_dump of the source download/SVN
The -HaD is for the receiver I built at Hack a Day, not the IR TOy :)
[quote author="arupbsk"]The page at http://dangerousprototypes.com/docs/USB ... #Partslist (http://dangerousprototypes.com/docs/USB_IR_Toy_v1_design#Partslist) shows Buspirate. Strange!!![/quote]
There was an issue with the Wiki picture name, thanks for pointing it out. It is fixed now.
The file "USBIRToy-BL1FW12-DUMP.hex" is written successfully.
Now the IR toy glows the LED at pin#2 when power is given.
Though all connections are correct and double checked, the USB device is not detected. I'm not getting device not recognized message also.
Does the design needs an additional pullup resistor at USB's D- point?
When I connected the uart, I'm getting random characters from the ir toy on resets. (9600baud)
RX: E0 C0
RX: 00 10
RX: 80
RX: C0
RX: FE
RX: FF
RX: FE FC
RX: 60 FF
RX: F0
RX: 00
RX: 66
RX: E0
RX: F0 5E
No pullup is needed. What UART did you connect? (there is no output at all from RX/TX pins)
I have connected the PicKit2 UART mode.
there is no output at all from RX/TX pins, why are they for? :P
I fixed the problem. The crystal was defective. Now after replacing the crystal, it works fine.
--------------------- Starting a new IR Toy Self Test-------------------------
Hold the IR Toy very close to something white for the self-test
Opening IR Toy on COM4 at 115200bps...
Starting IR TOY self-test...
Getting self-test result...
IR Toy version: V112
Test no: 1 of 1
IR Toy Self Test Reply: V112
V112
Test passed! OK! :)
Connect another IR Toy and press any key to start the self-test again
Or hit ESC key to stop and end the test.
I have successfully captured a test remote command of my TV's remote.
C:UsersArupDesktopirtoysoftwareIRToyRecPlaywindows>irtoy.exe -d COM4 -r -
f test
-------------------------------------------------------------------------
IR TOY Recorder/Player utility v21 (CC-0)
http://dangerousprototypes.com
-------------------------------------------------------------------------
Opening IR Toy on COM4 at 115200bps...
IR Toy Firmware version: V120
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 A5 00 CE 00 1D 00 17 00 1D 00 4C 00 1D 00 17 00 1D 00 17
00 1D 00 17 00 1D 00 17 00 1D 00 17 00 1D 00 17 00 1D 00 4C
00 1D 00 17 00 1D 00 4C 00 1D 00 4C 00 1D 00 4C 00 1D 00 4C
00 1D 00 4C 00 1D 00 4C 00 1D 00 17 00 1D 00 17 00 1D 00 4C
00 1D 00 4C 00 1D 00 4C 00 1D 00 17 00 1D 00 17 00 1D 00 17
00 1D 00 4C 00 1D 00 4C 00 1D 00 17 00 1D 00 17 00 1D 00 17
00 1D 00 4C 00 1D 00 4C 00 1D 00 4C 00 1D 07 2F 00 A5 00 66
00 1D 11 79 00 A5 00 65 00 1D
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.
Then I replayed it.
C:UsersArupDesktopirtoysoftwareIRToyRecPlaywindows>irtoy.exe -d COM4 -p -
f test_000.bin
-------------------------------------------------------------------------
IR TOY Recorder/Player utility v21 (CC-0)
http://dangerousprototypes.com
-------------------------------------------------------------------------
Opening IR Toy on COM4 at 115200bps...
IR Toy Firmware version: V120
Entering IR sample mode .... Done.
IR Toy Protocol version: S01
Current sample timer Resolution: 21.3333us
Entering Player Mode
Playing single file test_000.bin
Press a key to start playing test_000.bin or X to exit
Handshake mode ON. IR Toy ready for packet of 62 bytes
Checking # of bytes sent.... 62 bytes....ok.
IR Toy ready for 62 more bytes
Checking # of bytes sent.... 62 bytes....ok.
IR Toy ready for 62 more bytes
Checking # of bytes sent.... 28 bytes....ok.
End of file reached: test_000.bin
IR Toy got: 152 bytes, file was 152 bytes ok
Transmit was successful and glitch free!
Thank you for playing with the IR Toy! Utility version: v21.
Well, actually my TV didn't responded to the signal, but my camera shows when playing the record, the IR-LED flickered. Maybe a security feature of my TV. Who knows....
IKf it is the exact copy of the v1 (variable current IR LED driver) you should use a 2 or 3 ohm resistor with the LED for max power.