Tampilkan postingan dengan label Robot. Tampilkan semua postingan
Tampilkan postingan dengan label Robot. Tampilkan semua postingan

Line Follower ROBOT Controlled by 2051

Kuskel Robot- This Robot use two motors control  rear wheels and the single front wheel is free. It has 4-infrared sensors on the bottom for detect black tracking tape, when the sensors detected black color, output of  comparator, LM324 is low logic and the other the output is high.
Microcontrollor AT89C2051 and H-Bridge driver L293D were used  to control direction and speed of motor.
Fig 1. Circuit diagram of my Robot.

Fig 2. Circuit diagram of Infrared sensors and comparators.

Fig 4. Position of sensors,  left hand side is side view and right hand side is top view.
Software
Software for write to AT89C2051 is robot1.hex ,which was written by C-language ,the  source code is robot1.ccompiled by using MC51 in TINY model with my start up code robot.asm .
MPEG files
Sample of competition between 2051 and 68HC11.

  • movie1.mpg (1,303kB)

  • movie2.mpg (373kB)

  • Source : www.kmitl.ac.th
    Contact Owner : plermjai@loxinfo.co.th

    Line Follower Robot with AVR ATMega8535

    Line Follower Robot with AVR ATMega8535 - Make the robot line follower is exciting, especially for those who like to friends experimented with AVR microcontroller ATMega. "Line Follower Robot" is a robot designed to follow the trail (can be a line putus2 line or even a point to point). Creating a Line Follower Robot uses an AVR microcontroller ATMega 8535 is very possible and very reliable. Due to the design of a Line Follower Robot should we think that the trail will be followed step by step Line Follower Robot will be made to track or path in Line Follower Robot is passed. And of the Line Follower Robot needs tersbut feature2 owned by AVR microcontroller ATMega 8535 is sufficient and meets the needs of the Line Follower Robot. Line Follower Robot in the article with AVR ATMega8535 I made a simple graffiti to be possessed by a Line Follower Robot.

    Line Follower Robot Block Diagram of the AVR ATMega8535

    Block Diagram of Line Follower Robot with AVR ATMega 8535
    Block Diagram of Line Follower Robot with AVR ATMega 8535


    Function Block Diagram of Line Follower Robot with AVR ATMega 8535 :
    1. Line Follower Robot Sensor on can use a photo diode or photo transistor, this section serves to detect the presence of trajectory track.
    2. Keypad, this part of the function buttons to start / stop Line Follower Robot and as voters Line Follower Robot configuration settings for the field will be going through.
    3. Display, a part which serves to show the option of setting and the setting (it is enough that needs to be in view) of this section or the viewer can use a 7 segment LCD.
    4. Motor Driver, this part of a series of H Bridge DC motor driver. This section controls the motor in langsun. This section is an AVR microcontroller interface anatara ATMega with DC motor. I like to use the IC motor driver L298 family.
    5. ATMega8535 AVR microcontrollers, this section is the part that determines where the robot will be taken based on the data from the sensor. This section is set langkah2 Line Follower Robot in the conquest of the track.
    ×××× Creating a Line Follower Robot  ××××


    The article "Creating a Line Follower Robot with AVR [Censorship]" is a continuation of Line Follower Robot article with a new AVR ATMega8535 samapai phase Line Follower Robot block diagram. In the article "Creating a Line Follower Robot with AVR Part 1 [Sensor]" This is a review of the sensor used on Line Follower Robot, and the components used. Sensors, can be analogous to the 'eye' of a robot that serves to 'read' the black line of the track robot or vice versa. So that the robot is able to know when he will turn right, when he turned left and when he stopped. Sensors used are usually photo reflector, LDR (Light Dependent Resistor), Photo Diodes and Photo Transistor - mounted on the front two or more below the line follower robot.There also are using the camera as a sensor (or image sensor) to a higher-resolution readout line, making more accurate robot motion.
    Line Follower Robot Sensor circuit with AVR ATMega

    Robot Sensor circuit with AVR ATMega
    Robot Sensor circuit with AVR ATMega  Circuit

    The working principle of the sensor is simple, when the transmitter (infrared) emitting light onto a white field, the light will be reflected back to the receiver by the white areas and vice versa. This gives the change in the voltage level at the receiver output, but it usually changes the voltage can not be accepted as a TTL logic level. To be able to read by the microcontroller, the sensor voltage should be adjusted to TTL voltage level that is 0-1 volts for logic 0 and 3-5 volts for logic 1. This can be done by installing the operational amplifier is used as a comparator as shown in the picture above.
    Op Amp is used as a comparator LM324 IC, because IC is able to work at VCC 5 volt range and there are 4 in 1 Op Amp IC corresponding to the number of sensors are used. The sensitivity of this sensor can be set through R9 which controls the comparator reference point.
    Maximizing Sensor Line Follower Robot

    Line follower robot sensors can be made with a combination between LED and photo diode. Line follower robot sensor configuration is good to be able to read the track with a hard and fast. To make the robot sensor is firm and fast can not merely rely on the ability of photo diodes and LED configurations only. As an alternative to maximize the performance of line follower robot sensors can be added to the voltage comparator with Op-Amp. Sensor circuit line follower robot equipped with a voltage comparator that is ready to be connected to a microcontroller or PIC can use the following series of robot sensor.
    Line Follower Robot Sensor circuit with voltage comparator

    voltage comparator
    Voltage comparator Circuit


    Function of the voltage comparator circuit line follower robot sensor above is:

    1. Reinforce the logic level sensor output
    2. Amplifies the sensor output signal
    3. Control and determine the reference point sensor
    4. Reinforce the logic level sensor output is intended to avoid the floating logic conditions, with the goal of getting the process of transition logic (high) to a logic low (low) or vice versa in a fast sensors. So as to enhance the response to the sensor readings track work.

    Sensor output voltage levels should be read as well by the TTL logic processor. If the robot sensors rely on photo diodes and LED configurations, then during the reading process is fast track, then the resulting signal has a logic low loevel differences and can not be read as a TTL logic. Therefore, robot sensor voltage levels are still weak need to be corroborated by a voltage comparator, so the TTL logic level differences firm with a strong signal.

    The purpose of controlling and determining the sensor reference point is, we can determine the position of the robot sensor readings can be considered as a logic high or logic low.  Choosing process reference value line follower robot sensor readings can be done by adjusting VR1 10kOhm the series "Line Follower Robot Sensor Voltage Comparator With" above.

    Line Follower Robot Sensor Concept - Sensor line detector is used in line follower robot is usually based on the principle of light reflectionto distinguish the line with the background color. In the dark color of the light absorption is greater than that of white light reflected to the sensor becomes smaller.
    Position sensor to track the trajectory and the example circuit.

    Line Follower Robot Sensor Concept
    Line Follower Robot Sensor Concept
    Light used for the introduction of the line is usually visible light and infra-red. Sensors for visible light are commonly used are LDR (Light Depending Resistance), while for the infrared light is atransistor and photo diode (photodiode). Sensors placed at the bottom of the frame to hang the robot, so that its position can be located just above the track to be read.

    Know the Line Follower Robot


    Line Follower Robot Glance - Line Follower Robot- a kind of robot which included into the category robotmobile are designed to work in an autonomous and have the ability to detect and move to follow (follows) the existing line on the surface. Control system used is designed to feel that there are pathways of movement and maneuver in order to remain able to follow that line. Robots of this type quite a lot of interest for those who are just learning to robot technology. Even competitions Line Follower Robot, often held regularly at various universities .In industry, robots of this type is often used to to move goods from one place to another. By modifying slightly the sensor line follower robot can then be developed into a Wall Follower Robot, a robot that can move around the wall.


    Line Follower Robot


    Sensor On Line Follower Robot

    Sensors, can be analogous to the 'eye' of a robot that serves to 'read' the black line of the track robot. So that the robot is able to know when he will turn right, when he turned left and when he stopped. The sensor used is a light sensor mounted below the front of the robot, so as to find a bright line of a dark background or vice versa. Sensors used are usually photo reflector, R LD (Light Dependent Resistor), Photo Diodes and Photo Transistor - mounted on the front two or more under robotline follower. There also are using the camera as a sensor (or image sensor) to a higher-resolution readout line, making more accurate robot motion.
    Sensor On Line Follower Robot

    The working principle of the sensor is simple, when the transmitter (infrared) emitting light onto a white field, the light will be reflected almost entirely by the white areas. In contrast, Itter m ans when emit light to dark or black areas, then the light will be absorbed by the dark areas, so that incoming light kereceiver low. To be able to read by the microcontroller, the sensor voltage should be adjusted to TTL voltage level that is 0-1 volts for logic 0 and 3-5 volts for logic 1. This can be done by installing the operational amplifier is used as a comparator.

    Driver On Line Follower Robot

    Motor Drive On Line Follower Robot - To move the Line Follower 2 options can be used, namely motor or DC motor servo motor. If you want to use a DC motor, it must use a DC motor is mounted gear system (geared motors DC).Kind of like it is still difficult to find in the market, so the choice often falls to the servo motor.Another advantage of the servo motor is a servo motor can be controlled directly from the microcontroller PIC16F84 with no extra-Driver IC again.

    Motor Drive On Line Follower Robot
    Motor Drive On Line Follower Robot
    Wheel Drive On Line Follower Robot - Wheels are used in line follower may vary - kinds, ranging from the brand, type, dimensions, and so forth. Line Follower Robot are generally categorized based on the number of wheels it has.Starting from the robot with two wheels, three wheels or four wheels. But that is commonly used is a robot with three or four wheels.

    Wheel Drive On Line Follower Robot
    Wheel Drive On Line Follower Robot 

    Placed behind a pair of wheels connected by two motors each - each have an independent pace.It is important that the robot can turn left and to right and set the desired rotation rounds. While the front wheels could use a caster wheel that serves as a buffer. Many brands of caster wheels that can be used, one of the most famous is from the manufacturer Tamiya. However, no cane akarpun so - if we want a cheaper and sometimes free, odor-preventing former rodadeodorant can used as a caster wheel.

    In the Line Follower Robot Microcontroller Many types of microcontrollers that can be used in line follower robot, some examples include AT89C2051 (8051 Core), AT89C51 (8051 Core), ATmega8 (AVR Core), ATmega16 (AVR Core) and many more.

    In the microcontroller, the program will be included so that the robot can adjust the rotation speed of each motor and able to perform the desired movement. Because the line follower robot speed is high enough, then some of the control algorithm needs to be applied to a robot capable of running smoothly. Control that can be a continuous control, PID, fuzzy logic, or the other.

    Speed setting is important, especially when faced with change of trajectory, from a straight trajectory to bend or otherwise of the bend to the straight path. Just as when the robot moves fast and then find a corner, then the robot would be bounced. That requires a series of dynamic motor speed control depending on the type of trajectory is traversed. If the robot goes straight, the speed of the robot cultivated at a maximum. If the condition of the bend, then the speed is reduced depends on the sharpness of the bend. In essence, the speed of the robot is made flexible according to the situation on the ground. On the robot, the speed reduction can be done using the PWM (Pulse widht Modulation) controller, namely the reduction of speed by reducing the current to the motor.

    2 Transistor Line Follower Robot

    Make a line follower robot can be done with two transistors. Line Follower Robot series is one of the two transistors contor robot line follower circuit is in Bagun with two NPN transistor and the motor driver as well as processing of sensor signals.


    In the circuit of line follower robot consists of two parts of the same, only different functions for the motor driver the right and left. Sensor circuit of line follower robot uses the LDR and LED. LDR sensor sensitivity can be set with the VR 10 is mounted in series with the LDR. For more details, see the following figure.

    Line Follower Robot series 2 Transistor


    The working principle of the motor driver circuit between the right and left together, when the LDR get the reflection of light from the LED LDR resistance will decrease and make the transistor saturation and motor gets supply and rotates so that the robot moves forward. So at the moment is not the case then the motor did not get a supply, for example, only one sensor is exposed line and make the LDR did not receive the reflected light is then Motr in the stationary and the other motor rotates and makes the LDR are back in the reflection of light and the robot moves forward again.

    Line Follower Robot