31
Messages
This section allows you to view all Messages made by this member. Note that you can only see Messages made in areas you currently have access to.
Messages - anton.todorov
32
USB Infrared Toy / Prescaler setup in sampling mode
Reading this wiki page. When setting this value, is it expected IRToy to respond on success/fail as BusPirate?
When sending 0x05 0x0n (n is 0..7) I do not receive response (0 or 1) but when send something with remote, the capture is different, but not as I expected. See the screen shots. Every capture is with same remote button (Power) code.
I expected that after setting [0x05,0x07] I should capture same data as the default one. When I set [0x05,0x06] I expect to see 2x greater values that i shoud multiply with 21.3333/2=10.6666 to get same value. when set [0x05,0x05] I should receive 4x greater values, and so on... Or I am wrong?
BR,
Anton
33
USB Infrared Toy / Re: irtoy recorder perl script
BR,
Anton
34
USB Infrared Toy / irtoy recorder perl script
Finally I managed to cleanup the code of my Perl script for recording data from IRToy.
Currently it is working with Win32::SerialPort module (windows only AFAIK).
Change COM4 to other COM port if needed;
There is a 'secret' function to dump (to stdout) the received bytes and the calculated time. To enable this function just create an empty file with name 'irtoy.dump' in the folder where the script is running.
Quote
G:ProjectsEclipse-3.6IRToy>irtoy_record.pl test
Sampling mode enabled!
Press key on remote or CTRL+C to terminate
Processed: test000 min=18(383.9994us), sum=9505.0000, multiply=21.3333, len=400
Processed: test001 min=18(383.9994us), sum=27773.0000, multiply=21.3333, len=1000
Terminating on signal SIGINT(2)
BR,
Anton
35
USB Infrared Toy / Re: PANASONIC EUR648251 decoder perl script
Of course the scripts can be used in any way.
BR, Anton
36
USB Infrared Toy / PANASONIC EUR648251 decoder perl script
This Perl script decodes commands from PANASONIC EUR648251 remoce. The protocol is similar to NEC but with different timings and 6 data bytes encoded.
According to this lirc file the decoder is working (pre_data is the same and the codes are correct too). The attached bin file contains 'Power','1','2' and '3' button codes.
Quote
G:ProjectsEclipse-3.6IRToy>ir_PAN.pl test000.bin
IR-PAN: 0x40(01000000) 0x04(00000100) 0x05(00000101) 0x43(01000011) 0xfd(11111101) 0xbb(10111011)
IR-PAN: 0x40(01000000) 0x04(00000100) 0x05(00000101) 0x43(01000011) 0xfd(11111101) 0xbb(10111011)
IR-PAN: 0x40(01000000) 0x04(00000100) 0x05(00000101) 0x43(01000011) 0x09(00001001) 0x4f(01001111)
IR-PAN: 0x40(01000000) 0x04(00000100) 0x05(00000101) 0x43(01000011) 0x09(00001001) 0x4f(01001111)
IR-PAN: 0x40(01000000) 0x04(00000100) 0x05(00000101) 0x43(01000011) 0x89(10001001) 0xcf(11001111)
IR-PAN: 0x40(01000000) 0x04(00000100) 0x05(00000101) 0x43(01000011) 0x89(10001001) 0xcf(11001111)
IR-PAN: 0x40(01000000) 0x04(00000100) 0x05(00000101) 0x43(01000011) 0x49(01001001) 0x0f(00001111)
IR-PAN: 0x40(01000000) 0x04(00000100) 0x05(00000101) 0x43(01000011) 0x49(01001001) 0x0f(00001111)
Only last 2 bytes are different so maybe the first four are device descriptors and/or addresses?
BR,
Anton
37
USB Infrared Toy / Re: ir2PNG Perl script
I am glad that the scripts are useful. There are a lot of hard coded fine tuning parameters but they are working fine with the remotes I have. Currently working on another remote, yet it seems to me like a supplemented NEC protocol. It is for this remote. Details will bi posted on separate topic.
BR,
Anton
38
USB Infrared Toy / ir2PNG Perl script
Because I am not familiar how to create .ols files and my IRToy cant talk to jawi's OLS client(do not know why) I needed a tool to visualize the data received from the IRToy.
So I wrote an script for reading from irtoy (the code is ugly) that works almost like the IRToyRedWrite util. Then the dumped bin was passed to this script. The script helped me to have visual impression of the data.
The script require GD::Image perl module!
BR,
Anton
39
USB Infrared Toy / Philips RC-5 decoder script
Quote
G:ProjectsEclipse-3.6IRToy>ir_RC5.pl test000.bin
0x00003011 S1:1 S2:1 T:0 Addr:0x00 Cmd:0x11
0x00003011 S1:1 S2:1 T:0 Addr:0x00 Cmd:0x11
0x00003812 S1:1 S2:1 T:1 Addr:0x00 Cmd:0x12
0x00003812 S1:1 S2:1 T:1 Addr:0x00 Cmd:0x12
0x00003013 S1:1 S2:1 T:0 Addr:0x00 Cmd:0x13
0x00003013 S1:1 S2:1 T:0 Addr:0x00 Cmd:0x13
0x00003811 S1:1 S2:1 T:1 Addr:0x00 Cmd:0x11
0x00003014 S1:1 S2:1 T:0 Addr:0x00 Cmd:0x14
0x00003815 S1:1 S2:1 T:1 Addr:0x00 Cmd:0x15
0x00003815 S1:1 S2:1 T:1 Addr:0x00 Cmd:0x15
BR,
Anton
40
USB Infrared Toy / NEC IR protocol decoder
The attached perl script is my simple try to decode NEC's IR protocol(details from here). As an single parameter pass a bin file generated by IRToyRecPlay utility.
Usage in cmd prompt:
> ir_NEC.pl dumpfile.bin
Here is sample session:
Quote
G:ProjectsEclipse-3.6IRToy>ir_NEC.pl test000.bin
0x00F7AA55 IR-NEC: Addr1:0x00, Addr2:0xF7, Cmd:0xAA OK
0xFFFFFFFF R
0xFFFFFFFF R
0xFFFFFFFF R
0x00F7EA15 IR-NEC: Addr1:0x00, Addr2:0xF7, Cmd:0xEA OK
0xFFFFFFFF R
0xFFFFFFFF R
0xFFFFFFFF R
0xFFFFFFFF R
BR,
Anton
ps. the RC-5 is almost ready too
41
Open Bench Logic Sniffer / Re: New Windows Installer to streamline the installation process. Version 2.12a
http://www.virustotal.com/file-scan/report.html?id=cb899c43ea6527b28ce5ed327a42eb72a7a3a55a2519ee822bee1c66f29ca5e5-1289546596
42
Open Bench Logic Sniffer / Re: Any plans for a buffer wing?
So is it possible to sell the wing without TH parts soldered(as kit with SMD parts only)?
43
Bus Pirate Development / Re: new branch in the svn (newterm)
44
Bus Pirate Support / Re: Microwire EEPROM Help
45
General discussion / OLS started shipping
Lets see how long it will take to arrive in BG...