hey, thanks for your reply.
here is a link to the related datasheet
http://www.vishay.com/docs/81745/tsop312.pdf5v are delivered, pin connected the proper way ( i tried normal pins, pwm pins etc.. ) . The exact model is 31238 ( standard applications 38Khz );
The only advice i found on the net is to use a sony remote. Do you think it might be a solution?
Though i tried many different brand but not a sony if i'm right .
my code is really simple as i'm just starting, i always print in the sensor signal to make sure it is working.
and to do so i wrote :
const int REMOTE = 52; // i tried PWM inputs pins - digital, even analog cause i thought it would output an analog, but
// datasheet says it is only 0-1
int data;
void setup() {
Serial.begin(9600);
}
void loop() {
data = digitalRead (REMOTE) ;
Serial.println( data );
}