1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

Writing a program on 8051 MC - please help

Discussion in '8051/8951' started by UAE_LORD, Apr 9, 2006.

  1. UAE_LORD

    UAE_LORD New Member

    Joined:
    Mar 26, 2006
    Messages:
    1
    Likes:
    0
    How do you write a program on an 8051 microcontroller? In my system ,when a car passes the first transistor and infrared sensor, then the second, the 8051 gives an order to a camera to capture the car's image. So any ideas on how you would write the program to do this?
     
  2. ahmad666

    ahmad666 New Member

    Joined:
    Mar 26, 2006
    Messages:
    3
    Likes:
    0
    ask Omar
     
  3. destiny_of_light

    destiny_of_light New Member

    Joined:
    Apr 8, 2006
    Messages:
    6
    Likes:
    0
    answer

    hi nasty,

    ask Omar to suck it and give you answer

    :twisted: :evil: :twisted: :twisted: :twisted: :twisted: :twisted: :twisted:
     
  4. dave

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    -
    Likes:
    0


     
  5. Papabravo

    Papabravo Well-Known Member

    Joined:
    Mar 9, 2006
    Messages:
    2,889
    Likes:
    25
    Location:
    Michigan, USA (GMT-5)

    Writing a program is like writing a letter or a short story, or the great American novel. You start at the beginning, write until you get to the end, then try to find a publisher who will pay you money for your work. Is that what you meant?
     
  6. akg

    akg New Member

    Joined:
    Sep 2, 2005
    Messages:
    1,404
    Likes:
    1
    Location:
    India
    what is the problem in it.?, the o/p of ir sensor is detected by polling/interrupt, and camera is triggered, actualy for the above case u won't need a micro at all..or explain the problem fully.
     
  7. tkvenki

    tkvenki New Member

    Joined:
    Nov 7, 2005
    Messages:
    83
    Likes:
    0
    Location:
    India
    Hi,

    I guess you can use some flip-flop logic for your application.
    Maybe a D-flip flop.
    Am i right akg?
     

Share This Page