slimplynth
Senior Member
Hello everybody
I have a Daewoo DE televsion, searched the web for the Remote Control IR device codes (R-54B02) but the ones I found failed to produce any telly box changes.
Using Hippy's brilliant IR guide, cheers for that .
http://http://www.hippy.freeserve.co.uk/picaxeir.htm#Bit_Banged_Decoding
I set about trying use one of my 08M's to determine the correct codes...
also used is Hippy's 'Pulsin' IR detector program, which is currently running on my axe090's 18X, The axe090 is sitting next to my Tellybox close to the IR detector, The signal is reaching the tellybox because the LED is flashing as expected.
Once the device code is determined, detailing of the function codes can begin, assuming my code/approach is correct
I'm only writing this thread because the cycling through of the device and function codes is taking forever, currently on device code 27. Could have narrowed the IRCODE for..next loop range but slow and steady wins the race vs. my potentially fatal lack of patience...
Assuming that it does work, I'm sure other newbies like me will appreciate the explanation. Alternatively, an it's starting to look and fel like it won't work, I'd really appreciate some help... anyone any ideas where I might be going wrong? Was thinking the 45ms pauses between pulses might need shortening?
mmm After writing all this I now wonder if the Daewoo is using the SIRCS protocol at all? hehe - no matter if it's not. Not a complete waste of time, may have learned again how not to do something - as is often the case
Regards
Slimplynth
I have a Daewoo DE televsion, searched the web for the Remote Control IR device codes (R-54B02) but the ones I found failed to produce any telly box changes.
Using Hippy's brilliant IR guide, cheers for that .
http://http://www.hippy.freeserve.co.uk/picaxeir.htm#Bit_Banged_Decoding
I set about trying use one of my 08M's to determine the correct codes...
Code:
'This program cycles through all 32 infrared device codes.
'For all device codes, ten identical pulses are transmitted for the 128 IR function codes
Symbol IRDEVICECODE = b0 ' create a variable name that holds the Infrared device code value
Symbol IRCODE = b1 ' create a variable name that holds the SIRC function code value
main:
Pause 5000 ' Wait 5 seconds before transmission starts
IRDEVICECODE = 0
IRCODE = 0
For IRDEVICECODE = 0 to 31 ' loop through the possible 31 IR device codes
For IRCODE = 0 to 127 ' nested loop for cycling IR command
Infraout IRDEVICECODE,IRCODE
pause 45 '45mS pauses between pulses this simulates a button being held down on a TV remote
infraout IRDEVICECODE, IRCODE
pause 45
infraout IRDEVICECODE, IRCODE
pause 45
infraout IRDEVICECODE, IRCODE
pause 45
infraout IRDEVICECODE, IRCODE
pause 45
infraout IRDEVICECODE, IRCODE
pause 45
infraout IRDEVICECODE, IRCODE
pause 45
infraout IRDEVICECODE, IRCODE
pause 45
infraout IRDEVICECODE, IRCODE
pause 45
infraout IRDEVICECODE, IRCODE
pause 100 '
debug IRCODE
Next IRCODE
Debug IRDEVICECODE
Next IRDEVICECODE
End
Once the device code is determined, detailing of the function codes can begin, assuming my code/approach is correct
I'm only writing this thread because the cycling through of the device and function codes is taking forever, currently on device code 27. Could have narrowed the IRCODE for..next loop range but slow and steady wins the race vs. my potentially fatal lack of patience...
Assuming that it does work, I'm sure other newbies like me will appreciate the explanation. Alternatively, an it's starting to look and fel like it won't work, I'd really appreciate some help... anyone any ideas where I might be going wrong? Was thinking the 45ms pauses between pulses might need shortening?
mmm After writing all this I now wonder if the Daewoo is using the SIRCS protocol at all? hehe - no matter if it's not. Not a complete waste of time, may have learned again how not to do something - as is often the case
Regards
Slimplynth