Well I got one built. After debugging some things I got it working. Now I have an issue with incoming data.
When I push a button on the remote I get random data coming in:
Code:
Outputting raw mode2 data.
space 1382017
pulse 9026
space 4443
pulse 571
space 4418
pulse 562
space 4430
pulse 566
space 2177
pulse 564
space 4427
pulse 568
space 4421
pulse 567
space 4425
pulse 565
space 2179
pulse 575
space 2170
pulse 567
space 2177
pulse 567
space 2179
pulse 569
space 2175
pulse 571
space 2172
pulse 576
space 2170
pulse 575
space 4414
pulse 576
space 2170
pulse 573
space 2170
pulse 571
space 28222
pulse 9052
space 2199
pulse 574
btw, this is from one button push.
When I push the same button again, I get different data coming in.
Could this be the remote or is it something with my board?
One is a Toshiba CT-852 and the other is for our comcast cable box. Both give random data when pushing one button. The software I am using states that the remote is using a special repeat code. I just wanted to make sure that my receiver I spent some good time building is working right.
The difference in the data is just timing errors. The times are converted to 1 and 0s and come out as the same number each time. Looking at the data something near 4000 is a one and 2000 is a zero. The 500s in between are just gaps. Edit, and 9000 is the start pulse. See Atomsoft's thread on IR for example code.