sharp GP2D12 interface pic16f676


Closed Thread
Results 1 to 3 of 3
  1. #1
    jojokatada's Avatar
    jojokatada Guest

    Default sharp GP2D12 interface pic16f676

    a friend just share to me a infared object detectors. i am kind new to these sensor.
    could anyone help me

  2. #2
    soteris soterio's Avatar
    soteris soterio Guest


    Did you find this post helpful? Yes | No

    Default I have the same Sensor

    Quote Originally Posted by jojokatada
    a friend just share to me a infared object detectors. i am kind new to these sensor.
    could anyone help me
    could anyone help me using GP2D12 with CH BASIC Language

  3. #3


    Did you find this post helpful? Yes | No

    Smile simple A/D

    The sensor you have is an analog one, which makes it very easy to interface. Just do an A-to-D conversion.

    The output voltage is NOT linear with respect to the distance, it's . I have some 8-bit data on one of these that I collected that can demonstrate:

    Value Distance
    1-21 out of range
    22 38"
    23 35.5"
    24 33.8"
    25 31"
    30 22"
    40 16"
    50 12.8"
    60 10.5"
    70 9"
    80 7.9"
    100 6.2"
    120 5.15"
    140 4.3"
    159 3.5"
    160-255 out of range

    A graph of this function can be found here:
    http://www.acroname.com/robotics/par...pGP2D12-15.pdf

    ---------Picster--------

Similar Threads

  1. LCDOUT w/custom interface?
    By Mike, K8LH in forum PBP Extensions
    Replies: 4
    Last Post: - 3rd March 2015, 03:54
  2. Replies: 33
    Last Post: - 19th March 2010, 03:02
  3. Sharp GP2D12 Range Finder???
    By Gixxer in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 13th December 2007, 09:21
  4. Sharp GP2D12 8bit
    By Argo in forum mel PIC BASIC
    Replies: 0
    Last Post: - 25th October 2007, 23:40
  5. User Configuration Interface in PBP
    By Radiance in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 7th February 2004, 08:00

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

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