urgent!!plz help me (optical encoder)

Discussion in 'The Projects Forum' started by seesy123, May 4, 2010.

  1. seesy123

    Thread Starter Member

    Mar 14, 2008
    13
    0
    my project is design the circuit for optical encoder by using PIC16F873A,multiplex 7segments(5 7segment) and IR sensor.it sense the black and white area then it will display the distance on lcd. but i don't know how to write the assembly language for it.anyone can help me. it's urgent for me.thanks in advance
     
    Last edited: May 5, 2010
  2. kubeek

    AAC Fanatic!

    Sep 20, 2005
    4,670
    804
  3. SgtWookie

    Expert

    Jul 17, 2007
    22,182
    1,728
    I fail to see why this is "urgent". To me, "urgent" is if my house were on fire.

    You need to study up on assembly language. Fortunately for you, there are many, many examples of how to interface LCD's to PICs available, and more on how to use the comparator to sense a change on the input.
     
  4. seesy123

    Thread Starter Member

    Mar 14, 2008
    13
    0
    thanks for u reply.i dont know how to write assembly for the distance and display it on lcd
     
  5. blueroomelectronics

    AAC Fanatic!

    Jul 22, 2007
    1,758
    98
    You'll need something like a Sharp Rangefinder to get a distance measurement.

    Also post your schematic.
     
  6. kubeek

    AAC Fanatic!

    Sep 20, 2005
    4,670
    804
    Distance of what?
     
Loading...