evandude
New Member
I'm totally fishing here, but I just thought I'd ask anyway.
I have no idea HOW or WHY, but the IR reciever I was using (which is just a microcontroller that interprets the data from the remote and outputs serial) decided to switch from 2400 baud to 1200 baud. Yeah, I used it for weeks and everything was fine and then it stopped working and I brought it inside and it is now outputting at 1200 baud.
Anyway, I want to just replace the whole thing (it's out of a commercial IR reciever, i just took the whole board out and it's way too big for what simple purpose it serves) with an 8-pin PIC.
So, now I have to interpret the data stream coming from the IR reciever element itself. Attached is the data stream for one button press. I need to sit down and try to sort out any patterns in the packet (ie- assuming 8-bit data bytes, figure out what parts are data, and what parts are start and stop bits for each byte, etc...) so I can figure out the data encoding scheme... but anyway, finally to the point, I just thought I'd post this up here in case anyone recognized the data structuring (perhaps it's used in other remote controls?) and could point me in the right direction before I spend lots of time frustrated.
If all else fails, I can just have the PIC read the entire data packet, with the proper bit timing, and pretend the whole thing is one big long string of data. Obviously that isn't very memory-efficient, so i'd rather try to find a "decoder ring" for it instead, so I can get just the useful data from it.
oh, and if it makes any difference, the display is 10mS/div (5mS *2 because it's zoomed out)... the first big low section is 9mS long, and the bit timing seems to be 1.1 or 1.2 mS.
Thanks
I have no idea HOW or WHY, but the IR reciever I was using (which is just a microcontroller that interprets the data from the remote and outputs serial) decided to switch from 2400 baud to 1200 baud. Yeah, I used it for weeks and everything was fine and then it stopped working and I brought it inside and it is now outputting at 1200 baud.
Anyway, I want to just replace the whole thing (it's out of a commercial IR reciever, i just took the whole board out and it's way too big for what simple purpose it serves) with an 8-pin PIC.
So, now I have to interpret the data stream coming from the IR reciever element itself. Attached is the data stream for one button press. I need to sit down and try to sort out any patterns in the packet (ie- assuming 8-bit data bytes, figure out what parts are data, and what parts are start and stop bits for each byte, etc...) so I can figure out the data encoding scheme... but anyway, finally to the point, I just thought I'd post this up here in case anyone recognized the data structuring (perhaps it's used in other remote controls?) and could point me in the right direction before I spend lots of time frustrated.
If all else fails, I can just have the PIC read the entire data packet, with the proper bit timing, and pretend the whole thing is one big long string of data. Obviously that isn't very memory-efficient, so i'd rather try to find a "decoder ring" for it instead, so I can get just the useful data from it.
oh, and if it makes any difference, the display is 10mS/div (5mS *2 because it's zoomed out)... the first big low section is 9mS long, and the bit timing seems to be 1.1 or 1.2 mS.
Thanks