How to detect and create this infrared signal. (Results from BSLA)
knightofoldcode
Posts: 233
Board,
I purchased a BSLA, and have used it to get the information from a remote control. From what I can gather from Andy Lindsay's IR book for the Boe Bot, it appears that the start bit for my particular remote is 8.5 ms long, then there's a pause of 4.7 ms, then we start to get into the bits for the code, and it appears to be a 1 is equal to 1.5 ms. And a 0 is equal to 0.5 ms. With gaps of 0.5 milliseconds.
Does this mean that there are no Basic Stamps that can be capable of reproducing, or even detecting this remote's code since it's below 0.7 ms for the zeros and the gaps?
I have included the captured data from the BSLA below just incase I'm missing something. The data was captured on P3.
This is really starting to sound like I need another processor dedicated to just the IR codes, and sending out the codes.
Sorry I had to zip the file. The file before zipping was 16 meg, and after zipping it was 16k.... 99% zip ratio.
MUCH TIA,
Knight.
I purchased a BSLA, and have used it to get the information from a remote control. From what I can gather from Andy Lindsay's IR book for the Boe Bot, it appears that the start bit for my particular remote is 8.5 ms long, then there's a pause of 4.7 ms, then we start to get into the bits for the code, and it appears to be a 1 is equal to 1.5 ms. And a 0 is equal to 0.5 ms. With gaps of 0.5 milliseconds.
Does this mean that there are no Basic Stamps that can be capable of reproducing, or even detecting this remote's code since it's below 0.7 ms for the zeros and the gaps?
I have included the captured data from the BSLA below just incase I'm missing something. The data was captured on P3.
This is really starting to sound like I need another processor dedicated to just the IR codes, and sending out the codes.
Sorry I had to zip the file. The file before zipping was 16 meg, and after zipping it was 16k.... 99% zip ratio.
MUCH TIA,
Knight.
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
' {$STAMP BS2}
' {$PBASIC 2.5}
a VAR Word
b VAR Word
c VAR Word
d VAR Word
e VAR Word
f VAR Word
g VAR Word
h VAR Word
i VAR Word
j VAR Word
k VAR Word
l VAR Word
m VAR Word
start:
DO
PULSIN 0,1,a
LOOP UNTIL a > 1200····· 'this looks for the leader or start bit
PULSIN 0,1,a
PULSIN 0,1,b
PULSIN 0,1,c
PULSIN 0,1,d
PULSIN 0,1,e
PULSIN 0,1,f
PULSIN 0,1,g
PULSIN 0,1,h
PULSIN 0,1,i
PULSIN 0,1,j
PULSIN 0,1,k
PULSIN 0,1,l
PULSIN 0,1,a
PULSIN 0,1,b
PULSIN 0,1,c
PULSIN 0,1,d
PULSIN 0,1,e
PULSIN 0,1,f
PULSIN 0,1,g
PULSIN 0,1,h
PULSIN 0,1,i
PULSIN 0,1,j
PULSIN 0,1,k
PULSIN 0,1,l
PULSIN 0,1,m
DEBUG " dec a· 1· ", DEC a,13
DEBUG " dec b· 2· ", DEC b,13
DEBUG " dec c· 3· ", DEC c,13
DEBUG " dec d· 4· ", DEC d,13
DEBUG " dec e· 5· ", DEC e,13
DEBUG " dec f· 6· ", DEC f,13
DEBUG " dec g· 7· ", DEC g,13
DEBUG " dec h· 8· ", DEC h,13
DEBUG " dec i· 9· ", DEC i,13
DEBUG " dec j 10· ", DEC j,13
DEBUG " dec k 11· ", DEC k,13
DEBUG " dec l 12· ", DEC l,13
DEBUG " dec m 13· ", DEC m,13,10,10
PAUSE 100
GOTO start
I will however look into the SX/B. [noparse]:)[/noparse]
Knight.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax