hi.
Bought my Phillips tv in europe april 2009
Does anyone know what protcol is used for this remote ir device?
And while into it, ive searched for the rc6, visual timer scheme but not found any. Anyone?
(I plan to waitfor and read command bits. Have to find time to wait and delay between the readings.
(from another post ive read, its 4752/1728 uS for the 6 bit commandcode regarding rc 5. I THINK its 8887/? for the 8bit commandcode regarding rc6.
I tried out the 6 bit rc5 code, but dont get any meaningful readings, wondering if my TV-controller is using rc6 protocol.
(I would use a scope to view the signal output, but im on holiday. Will post some pics from it when holidays ends)
Anyone?
Below is the snipped of my trialprogram regarding RC5
Thank You
#define antall 11
int IRpin = 11;
int tab[antall];
byte change_count;
long time;
long int timer1;
long timer2=1728;
long timer3=4752;
int teller;
void setup() {
Serial.begin(9600);
pinMode(IRpin, INPUT);
}
void loop()
{
while(digitalRead(IRpin) == HIGH) {}
timer1=micros();
while((micros()-timer1)<timer3) {} // waitfor the adressbits
// Serial.println(micros()-timer1);
teller=0;
while(teller<antall) // read the following 5xadressbits + 6xcommandbits
{
tab[teller]=digitalRead(IRpin);
timer1=micros();
while((micros()-timer1)<timer2){} //waitfor next middlepoint to read
teller++;
}
Serial.println("Bit stream detected!");
teller=0;
while(teller<antall)
{
Serial.println(tab[teller]);
teller++;
}
delay(2000);
teller=0;
}