Results 1 to 4 of 4

Thread: [help] distance measuring sensor

  1. #1
    Member Advanced User rahuljin's Avatar
    Join Date
    Sep 2007
    Location
    New Delhi
    Posts
    53

    Default [help] distance measuring sensor

    hello everyone,

    i have got a ir sensor from some company (CX, dont know correctly) from everest shop delhi. the person said that it can be used for measurement of distance upto 20cm. but the problem is that he told me that i have to make the circuit myself. he told me that the circuit will be similar to the sharp distance measuring sensor.
    CX is written on it and k,a,e,c behind each pin.
    this is the link of the video of it -----

    Code:
    http://www.youtube.com/watch?v=2so1tL8rdFE
    sharp was very expensive about rs1100 of the 80cm.
    please help me and tell me about the circuit.


  2. #2
    Member Android
    Join Date
    Oct 2007
    Location
    Mumbai
    Posts
    89

    Default

    IR Diode pins
    A= Anode
    K=Cathode

    IR Receiver Pins
    C= Collector
    E= Emitter

    Connection
    Out put pin of microcontroller —220 Ohm Resistor – Anode
    Gnd--- Cathode

    +5 V--- 10 K Resistor—Collector-Receiver pin of micro controller
    Gnd—Emitter

    Send a high signal on output Pin of microcontroller then with the help of timer you have to calculate the time required to receive the signal on the receiver pin

    Distance = (Time/2)*speed of light

  3. #3
    Junior Member User
    Join Date
    Aug 2005
    Location
    Mumbai
    Posts
    18

    Default

    Sorry but i dont think u can measure distance with timer
    for that you will have to use adc and not the timer.
    Its not ultrasonic sensor so that u use timer.
    have a look at the following link. You will get an idea.

    http://mobots.solarbotics.net/basanti.html

    Hope it will help u.

  4. #4
    Member Android
    Join Date
    Oct 2007
    Location
    Mumbai
    Posts
    89

    Default

    Yes you are right swapsan
    rahuljin try this link you will get some more idea

    http://www.ikalogic.com/cat_sensors_measurment.php

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •