Showing posts with label 8051 micro controller based. Show all posts
Showing posts with label 8051 micro controller based. Show all posts

Sunday, February 23, 2014

Software tools required to work with 8051 family of Micro controller - Keil & Flash magic (e.g. P89V51RD2 from Philips) for making line / path follower robot

Software Details:

The program code acts as the decision-maker embedded in the microcontroller i.e. it decides what will be the outputs for particular set of input combination. Programs for the P89V51RD2 series of microcontrollers can be written in assembly (ASM) and C. Keil, Flash magic etc. are some free development software’s for programming the P89V51RD2 Microcontrollers. We are using KEIL for programming. In KEIL we write our C code, after compilation it generates ‘.hex’ file that is hardware level code.

What is an Infra Red (IR) Sensor and how it is used to distinguish between white & black color line in Line / Path follower robot

Infra Red Sensor

IR reflective sensors have one emitter (IR LED) and one receiver (Phototransistor or photo diode. If we have white surface it reflects the light and it will sensed by the receiver, similarly if we have black surface it absorbs the light and receiver can not sense light.
Photo diode has property that if IR light fall on it its electrical resistance comes down (i.e. it comes down from 150kΩ to 10kΩ if no noise present).


Basic principle & block diagram of a line line follower robot using 8051 micro controller

 Basic Principle of a line line follower robot using 8051 micro controller:
 The basic principle involved in this is it captures the line position with IR sensors mounted at front end of the robot.  Below is the block diagram of the line follower robot, when the sensor sense the path, analog signal is given to the op-amp to produce 0s and 1s which are then fed to the microcontroller, then the microcontroller decides the next move according to the program. When both the sensors are indicating low (0) then robot start moving on the black path, for white if it indicates high (1) then it moves along the path. Microcontroller and driver circuit are used for the control of motors.

Componets reuired to make a line follower robot using 8051 micro controller

Sunday, February 16, 2014

Use of Voltage Regulator ICs in Robotics - 7805 / 7809 / 7812

What is voltage regulator IC ?

 The 78xx (sometimes L78xx, LM78xx, MC78xx...) is a family of self-contained fixed linear voltage regulator integrated circuits. The 78xx family is commonly used in electronic circuits requiring a regulated power supply due to their ease-of-use and low cost. For ICs within the family, the xx is replaced with two digits, indicating the output voltage (for example, the 7805 has a 5 volt output, while the 7812 produces 12 volts). The 78xx line are positive voltage regulators: they produce a voltage that is positive relative to a common ground. There is a related line of 79xx devices which are complementary negative voltage regulators. 78xx and 79xx ICs can be used in combination to provide positive and negative supply voltages in the same circuit.

Practical Definition - Voltage regulator, any electrical or electronic device that maintains the voltage of a power source within acceptable limits.

Embedded C code / program for Line follower robot using 8051 micro controller - IR sensor based

Are you making a line follower robot using a 8051 micro controller P89V51RD2 from Philips or AT89C51/AT89S51 from Atmel programmed using Keil compiler ?  Here is the code for making a simple line follower robot.

This embedded C programming language Code is based on the following design. You can modify it based on your requirements :
No. of sensors  - 2
Signal from sensors- 1 for white and 0 for black
No. of motors - 2
About motors - Both the motors are DC motors and are connected to the micro-controller through a Motor driver IC.

Friday, November 1, 2013

8051 Micro Controller based Line follower Autonomous robot using IR sensor, Driver IC (L293D) & 8051 board



Introduction:
This article presents the design and implementation of line follower robot using 8051 Microcontroller. It is programmed to follow a dark line on the white background and detect turns (or) deviations and modify the motors appropriately. The path is sensed by the IR (Infra Red) sensors. The microcontroller controls two DC motors of robot to navigate through its path.

Basic Principle:
The basic principle involved in this is it captures the line position with IR sensors mounted at front end of the robot.  Below is the block diagram of the line follower robot, when the sensor sense the path, analog signal is given to the op-amp to produce 0s and 1s which are then fed to the microcontroller, then the microcontroller decides the next move according to the program. When both the sensors are indicating low (0) then robot start moving on the black path, for white if it indicates high (1) then it moves along the path. Microcontroller and driver circuit are used for the control of motors.

Line Follower Robot Block Diagram


You might also like