IR sensor didnt work

my IR sensor is connected with jumper cables to arduino like that :
VCC is connected on + on breadbord
GND is connected on - on breadbord
OUT is connected on digital pin number 3

Please read the topic "How to get the best out of this forum."

Try shining a red led at it, they emit strong IR.

Take a picture or look at a lit red led with yer phone, see if the dot's not white (CCD IR overload, CCD's are insanely sensitive to IR even through a filter!). That should confirm what human eyes can't!

Also see what the code does with IR source ON and then OFF.

Are the breadboard busses continuous - not broken into segments ?

what do you mean

Please consider the following:

  • Provide a clear description of what the circuit is intended to do (desired behavior), and what it does in reality
  • Provide a clear schematic of your setup and a good photograph that clearly shows how you have everything connected together
  • Provide the code you're running in your microcontroller and the type of controller/board used
  • Provide a link to the sensor(s) you're using and/or datasheets

Not necessarily/usually not, but an IR sensor may have a sufficiently broad spectral sensitivity to be sensitive to a typical 620-680nm red LED peak (620nm being the common wavelength for run-off-the-mill red LEDs).

TRY IT! Been there, done that.

Check the cntinuity of all your connections from end-to-end.

That's a different matter; how a CCD responds to a bright monochromatic light involves different factors. While it may look similar to shining an IR led onto a CCD, it's not the same factors at work. (CCD sensor sites have trailing sensitivity in the red and blue parts of the spectrum, resulting in high-intensity, narrow bandwidth irradiation causing crosstalk).

Not to drag this too far offtopic and certainly not to start an argument, but when testing an IR sensor, just use an IR light source. Don't rely on boundary conditions.

Hi, @1marekparek123

Can you please post a link to specs/data of the sensor?
Is it an IR sensor on its own or a module?

Is this related to this;

Is your IR sensor this?

If so, have you put anything in front of it to receive the reflected IR from the IR emitter?

Have you tried a simple setup like this to JUST test the module?

Tom.. :smiley: :+1: :coffee: :australia:

yea this is my sensor

It also explains how the sensor module works.

Thanks... Tom... :smiley: :+1: :coffee: :australia:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.