WinXP SP2
WinLirc 0.9.0i cannot correctly recognize my remote control so I scanned it in the RAW codes. Code is a long and a strange:
8980 4590 509 621 514 615 524 612 522 622 519 608 528 614 521 1752 522 609 525 579 555 610 529 627 520 612 525 610 537 605 522 1740 526 610 524 1715 550 1712 536 589 553 1717 550 579 678 472 537 589 549 588 554 590 548 612 526 1724 538 603 541 1722 540 1715 597 1670 696 1563 579 43780 9100 2100 535
"43780 9100 2100 535" - I wrote in manual mode, IRRecord.exe dont see this additive.
For example, I leave only first and last lines in file:
begin remote
name new_03.conf
flags RAW_CODES
eps 30
aeps 100
gap 193749
begin raw_codes
name ch+
8980 4590 509 621 514 615
579 43780 9100 2100 535
end raw_codes
end remote
I connected transmitter to COM-port on the first PC. I connected receiver to COM-port on second PC.
When I sent code, I saw in RawCodes.exe:
10916
2453
616
480
659
578
625
43673
10518
I Dont recieved "2100" and "535"
But if I change in config file 9100 to 7800 or less, I see:
10796
2579
614
517
550
512
770
43674
9646
253
622
Why?
If I exchange transmitter and receiver (from one to another PC), I see:
11637
2018
483
885
279
600
592
43750
10803
I dont recieve "2100" and "535" again
But if I press "Send Code" with double click, I see:
11532 <====
21143 <====
389
610
550
611
626
43724
10798 <====
193731
9006 <====
4606 <====
512
621
515
606
592
43787
7835 <====
2079
544
But on first PC trick with double-click dont work.
What to do with it?
What receiver/sending are you using?
Both home-made
http://www.lirc.org/images/better_transmitter.gif
http://www.tb-electronic.de/vdr/lirc/ir_rx_sch.gif
Can you test out some shorter codes? To see if you can narrow down the issue? It could be either end, the sending or the receiving.
500 500 500 500 500 - send 10 times
614 349 628 402 639 - recieve 10 times
500 500 1000 500 500 - send 10 times
665 286 1305 226 663 - recieve 4 times
754 229 2140 - recieve 6 times
500 500 2000 500 500 - send 10 times
618 365 3214 - recieve 10 times
500 500 2000 2000 500 - send 10 times
613 368 2556 1449 613 - recieve 10 times
500 500 2000 500 2000 - send 10 times
647 324 5202 - recieve 10 times
500 500 2000 500 4000 - send 10 times
565 323 7859 - recieve 10 times
5000 5000 5000 5000 5000 - send 10 times
6369 3742 6258 3618 6362 - recieve 10 times
5000 5000 10000 5000 5000 - send 10 times
6375 3608 12833 2314 6241 - recieve 10 times
5000 5000 15000 5000 5000 - send 10 times
6400 3592 19188 802 6379 - recieve 10 times
5000 5000 20000 5000 5000 - send 10 times
6386 3674 32115 - recieve 10 times
x1 x2 x3 x4 x5
Looks like problem only if ( x3 > x4 )
What do you mean by x3 > x4?
I send with a simply transmitter (resistor + diode) - still the same problem.
But with direct cable (DTR -> DCD) everything alright!
5000 5000 20000 5000 5000 - send 10 times
4998 4979 20022 4981 5007 - recieve 10 times
Advanced circuit is ruined everything. I'm using it more then 5 years, but only with one remote control.
Tomorrow I will check the receiver.
I tried:
to check schematics
to replace TSOP1138
to use a simply transmitter (resistor+diode)
to use a standard receiver (only TSOP1138 + 5V-power)
Finally, I connected receiver (TSOP1138 + 5V-power) to sound card. Look at upper part of image. And connected some phototransistor to soundcard. Look at lower part of image. Made double-click with a simply transmitter.
I think its some feature of electric-photo-electric conversion. Maybe afterglow phosphor. Or phototransistor's inertness.
If you do the sound card circuit, use the extra diode. It says on the LIRC webpage that it is optional, but you'll get a much cleaner signal with it.
I'm used a sound-card only to find where is problem.
Now I understand where problem is.
When I sent signal with direct cable, I checked "hardware carrier" option. All other tests - without it.
Now I used a transmitter with external 5V-power + phototransistor + soundcard.
Look at upper part of image. It's a software carrier. All impulses is stretched. A second pause is disappear.
Look at lower part of image. It's a hardware carrier. Everything looks how it have to be.
So problem in the WinLirc. Maybe impulses and pauses of carrier is rounded up and getting longer.