Robotic car using 8951 Microcontroller

Stepper Motor:

A 5V dc Stepper motor is fixed at the front wheel lever directly. It enables the vehicle to rotate left or right through any angle. The electrical pulses generated from the micro controller directly control the movement of the stepper motor.

A stepper motor is an electromagnetic device that translates electrical pulses into mechanical movement.

Circuit diagram of stepper motor interfacing is shown bellow. First 4 pins port 2 is connected to motor. Power transistors must be connected to drive the motor.

Interfacing stepper motor to 8951
Interfacing stepper motor to 8951

Transmitter and Receiver:

We are fitting three IR sensors along with the transmitter at the front of the vehicle in such an angle that the sensor will detect the signal only if certain obstacle is placed at the front of the vehicle at a distance of around 3 inches. This range of detection can be further adjusted by adjusting the amplitude of transmitter or by adjusting the angle of alignment between the transmitter and the sensor.  All these sensors work independently and can sense the obstacle that comes at the front of the vehicle through different position independently. Thus with these three sensors, we are able to cover the entire frontal view of the vehicle at a distance of 3 inches. The circuit diagram of the transmitter and the receiver are given below:

Transmitter:

Transmitter circuit is used to transmit the IR rays. The IR LED emit infrared light switch is put on in the transmitting unit. To generate IR signal 555 IC based astable multivibrator is used. Infrared LED is driven through transistor BC 177.

Circuit diagram of IR Transmitter
Circuit diagram of IR Transmitter

Receiver:

The receiving unit consists of a sensor and its associated circuitry, which detects IR pulses transmitted by IR-LED. As a result the monostable is triggered and a short pulse is applied to port 2.5 of 8951. Circuit diagram is shown below. Do the same circuit two more times and connect it into 6 and 7 of port 2.

Circuit diagram of IR  Receiver
Circuit diagram of IR Receiver

Working:

Manual mode:

In manual mode, the vehicle can be commanded through a wireless microphone to

  1. Turn left.
  2. Turn right.
  3. Stop.
  4. About turn.
  5. Park left.
  6. Park right.

1. Turn left:

On getting the command of turn left, the vehicle turns towards left with 30 degree and after 3sec; it comes back to the original position.  The degree in which the vehicle rotates, and the timing of coming back to the original position can be further adjusted based on our desired.

2. Turn right:

Right turn is same as that of left turn except for the fact that on getting command it turns towards right. All the modifications those are valid for the left turn is also true in this case.

3. Stop:

Once the vehicle gets the command for “stop” it remains in the idle state.  There after its control is hand over to the beginning state.

4. About turn:

In about turn, the vehicle turns backward in two steps same as we did in our normal car. In first step the vehicle move only 90 degree and repeat the same in second step.

5. Park left:

On getting the command to park left, the vehicle parks on the left side of the road in a single step.

6. Park right:

Park right is same as that of park left,  but here in this case, it parks towards the right side of the road.

You can also add two modes to the present design using two more switches. They are

Auto Mode:

In auto mode, the vehicle can be programmed to move at a particular place and park there. While moving, if any obstacle comes at the front of the vehicle, it will deviate its path automatically and come to the original path. The place where the vehicle is desired to move is the choice of the user; it can be either straight or bent path.

In our model, we have put three sensors at the front of the vehicle, so it is up to the user that, by what angle the vehicle should deviate. Further, it can be programmed on which side it should deviate, either left or right based on our desired. To alert the user that the vehicle is deviating an obstacle, a musical sound system is fitted in the vehicle, so that whenever it is deviating any obstacle, it will also play a music simultaneously.

Hybrid Mode:

It is the combination of both auto and manual mode. Here the vehicle can be commanded to move, to turn left or right. Further, while moving, if any obstacle comes on its path, it will deviate and come to its original path after deviating. However, if so happen that before coming to the original path, the sensor detects another obstacle; it will halt the movement of the vehicle, and play an alarm music as long as the obstacle is detected. The moment second obstacle is removed; the vehicle will continue its earlier execution.

Editorial Team
Editorial Team

We are a group of young techies trying to provide the best study material for all Electronic and Computer science students. We are publishing Microcontroller projects, Basic Electronics, Digital Electronics, Computer projects and also c/c++, java programs.

498 thoughts on “Robotic car using 8951 Microcontroller

  1. dear bro how can you send the signal through wireless or wired through external devices. plz send tips to my mail ID.

  2. sir! plg send me total informetion&ckt diagram required component and its price.

  3. please send me total information about this project
    1)microcontroller program
    2)circuit daigram
    please send me i want to do this as project……….
    🙂

  4. please am so excited with robotic car and am in final year please help me more details so as i can do this project as my final year project.

  5. sir plz send me full description and circuit diagram i do it as a my finyal year project,
    (abdulqadir3691@gmail.com),thanx

  6. i am a school student of class 9 and i want the full discription of this project for my sience exebition .so please please send all the required information to make this robotic car, thanx

  7. sir,as i want to do this project “robotic car control using 8051 micro controller”.if u know about source coding for this project,pls send me on my mail id……”parthibanpartha001@gmail.com”.and then i want extra information about this project….pls help me admin !!!!

  8. Please Send me all the information + source code for this project.
    I liked the project very much and want to make this in my project.
    Please send all information on my id:: unimgscience@rediff.com
    thanks in advance.

  9. hello sir , i like your concept.
    can u give me the idea how to track the robot to destination point.
    the at some point.i.e (3,4 ) and i want to move it toward (5,5) so what do?

Leave a Reply

Your email address will not be published. Required fields are marked *

Get the latest updates on your inbox

Be the first to receive the latest updates from Codesdoc by signing up to our email subscription.

    StudentProjects.in