1. You can now buy finished microcontroller project from us, Check out the Store for the complete list of projects.
  2. Need a custom project, Send us some details about your project. So that we can quote the price for it.

8051 programing

Discussion in 'Microcontrollers' started by pradeep verma, Oct 18, 2007.

  1. pradeep verma

    pradeep verma New Member

    Likes Received:
    0
    Trophy Points:
    0
    i want to interface three infrared sensor with motor.i am making a car in which three ir sensor are plotted at left ,right and front of car.IR are used for collision detection.If trere is wall or any object in path of car ,car will turn left or right according the data collected by left ,right sensor otherwise it will move forward.
    after movinr left or right it will move one meter and will follow the original path.plz give me 8051 assembly level programming
  2. Binu

    Binu Administrator

    Likes Received:
    135
    Trophy Points:
    63
    1. Check Front sensor and switch on motor if there is no obstacle
    2. If there is a obstacle, check Left sensor
    3. If there is a obstacle, check righ sensor and turn right.
    4. Rotate the motor to certain number of reveloutions corresponding to 1meter
    5. jump to step 1

    J.Binu
    Click here to get free 8051 Codes
Loading...

Share This Page

Loading...