Monday, March 28, 2011

Arduino IR Distance Sensor UPDATE


Recently I’ve been trying to make my IR distance sensor look like real sensor. I’ve created it from small piece of protoboard and male headers. It’s still just Beta I’ve had some issues with it, but now it seems that it works good. [Update 22 July 2012] I have added picture of circuit.



14 comments:

  1. Can you give me the schematic for this sensor... i tried to make one but it didn't work... i found schematics here:

    http://www.pages.drexel.edu/~pyc23/ir_sensor.html

    please help me.. i don't want to buy one if i can make one (and i really want to make one by myself)

    ReplyDelete
  2. I've just hooked IR receiver to analog pin as a sensor and IR transceiver to a digital pin rest of the work is done by software to make this sensor cheap and easy.

    ReplyDelete
  3. nice, I am a beginner. Can you give me the schematic, I know this is simple, but not simple for me :)

    ReplyDelete
    Replies
    1. I'm sorry I forgot about the circuit, but I have added it now is it enough or do you need further explanation ?

      Delete
  4. Hi Legwinskji, is there any specific IR receiver and IR LED that I need to use on the circuit? or any type will be fine? Thanks.

    ReplyDelete
    Replies
    1. You can use any IR led as transmitter (I have used big 10mm one), I believe that you can use any led as receiver but you may need to use different resistor then, unfortunatelly, I cant tell you serial number of mine, because It's not written on it.

      Delete
  5. sorry for typing your name wrongly.

    ReplyDelete
  6. Hi Legwinskij, I have tried to test, but the value have been arbitrary repeatedly jumped. I don't know why?
    Did you have similar experience?

    ReplyDelete
    Replies
    1. Hi there, what schematic and code do you use ? It's quiet hard to tell what could be the problem, values should only jump if you are changing ambient light in the room, or something is moving in front of the IR receiver LED.

      Delete
  7. Hi, first a very nice project :) .. can you tell me the maximum distance you could detect?

    ReplyDelete
    Replies
    1. Thank you :) it can detect fairly accurately only up to 15 cm so its meant to be used as object avoidance sensor for robots

      Delete
  8. Please can some one tell me if i can get 32cm.

    ReplyDelete
    Replies
    1. Hi, well if you need more than 20cm I would definitely recommend you to use either a ultrasonic range finder or a proper IR sensor, since this setup is very simple thus limited to distances about 20cm

      Delete