Showing posts with label Robot. Show all posts
Showing posts with label Robot. Show all posts

Monday, October 27, 2014

Creating a Line Follower Robot with AVR

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  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 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.
Read More

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


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.
Read More