Go Down

Topic: IR Receiver Module constantly reading a high voltage (Read 129 times) previous topic - next topic

AnonyNotur

Hello every one,
Right now I am having issues with an IR receiver module (38kHz from RS) that if I read with a analog pin and then map the value from 0 - 1023 to 0 - 255, I constantly read 255. I checked the leads again just to make sure that I did not connect anything backwards. However, I am using the picture in the back of the packaging of the module from RS. I do not know what could be the issue. Could some one please shed some light into this issue?

Here is the code just to show you:

int IRrec = A0;

void setup() {
  // put your setup code here, to run once:
pinMode(IRrec, INPUT);
Serial.begin(9600);
}

void loop() {
  // put your main code here, to run repeatedly:
  int intensity = analogRead(IRrec);
  intensity = map(intensity, 0 , 1023, 0 , 255);
  Serial.println(intensity);
  delay(100);
 
}

Sincerely, Eduardo Davalos

Wawa

Right now I am having issues with an IR receiver module (38kHz from RS) that if I read with a analog pin
A common 3-pin 38kHz (remote control) receiver has a digital output.
The output is LOW when a modulated IR signal of the right frequency (38kHz) is received.
Leo..

Go Up