Programming the Bot. Picaxe Microbot as a line follower. The Bot. 12. 0 Microbot comes with a Line Traker module. The module has a red LED that illuminates the surface and right. The phototransistor is used as an analogue sensor on Pin C. The analogue reading give a measure of how dark or light the surface is. Single sensor program. Two-sensor line follower algorithms can work far better than one-sensor algorithms. However, sensor noise, spacing. In this video, a proportional Line Follower MyBlock for NXT-G is described in all its gory detail. I first describe the proportional line following. Hands-on Activity: Line-Follower Challenge Contributed by: GK-12 Program, Computational Neurobiology Center, College of Engineering, University of Missouri. The sensor is read with the . A low reading indicates a lot of reflected light, in other words a white surface. A high reading indicates very little reflected light, in other words a black or dark surface. You will need a track with a line for the Microbot to follow and black insulation tape on a light surface works very well. You can even construct a portable track on MDF wood, you can use the wood for the background and you don’t need to paint it white. A simple. When it leaves the black line it will move forward and turn towards the black line again. Once back on the black line it will then turn in the opposite direction and move forward until it is off the black line. So it will actually follow the edge of the black line and it will zig- zag across it. This is necessary to get the best discrimination between the background and the black line. How do I calibrate my Line Follower? The process is very simple get an analogue reading of the background of the track and a analogue reading of the black line. For the best discrimination between the black line and the background you need a reference value between the two readings. This reference value will be used to make decision on a reading to determine if the Microbot is on the background or on the black line. The reference value can be calculated using the following formula: Reference Value = Background Reading + (Black Line Reading – Background Reading)/2. You may ask yourself how do I read and display the analogue value of the Line Follower sensor? Reading is easy but how do I display it? The answer is by using the . The following program can be used to calibrate the Line Follower sensor: As soon as the program is downloaded to the Bot. Move the Line Follower sensor over the background and take the b. Debug window. Move the Line Follower sensor over the black line and take the b. Using these two readings the Reference Value or Mid Level value can be calculated for the best. A simple line follower can be. Project with Circuit Diagram & Source Code of Simple Line Follower Robot. Line follower is an autonomous robot which follows either black line in white are or white line in black area. Robot must be able to detect particular line and keep following it. For special situations such as cross overs where robot can have more than one path which can be followed, predefined path must be followed by the robot. In the following section, we will discuss the line follower robot which follows black line in white area and take right turn whenever cross overs or Y shaped turn arrives. However with some minor suitable changes, users can make robot for other possibilities also. Video. First see the block diagrams. Based on the status of sensors, special circuit or controller decides the position of line and also the required direction of motion required to follow the line. Motor driver circuit is used to ON/OFF the LEFT/RIGHT motors of the robot to provide desired motion. Most widely used sensors for the line follower robot are PHOTOSENSERS. They are based on the basic observation that “the white surface reflects the light and the black surface absorbs it”. Tutorial on how to make a line follower robot using arduino with circuit diagram and code. Create a simple line following robot with arduino. This was a project with my 6 year old to build a fast line follower program using Mindstorn NXT Ver 2.0. We utilized a PID loop with a auto-tuning setpoint. I made a line follower robot with PIC16F84A microprocessor equipped with 4 IR sensors. This robot can run on the black and white lines. Sensor circuit contains emitter, detector and comparator assembly. However IR light is also present in atmosphere but its intensity is much less than that of visible light, so IR light can give much reliable output. For better accuracy of the sensors, they must be covered properly for the isolation from the surrounding.)This emitted light strikes the surface and gets reflected back. If the surface is white, more intensity of light gets reflected and for black surface very less intensity of light is reflected. Photo detector is used to detect the intensity of light reflected. The corresponding analog voltage is induced based on the intensity of reflected light. This voltage is compared with the fixed reference voltage in comparator circuit and hence it is converted into logic 0 or logic 1 which can be used by the controller. The comparator circuit may be designed in two ways. Case- 1. Black area=1. White area=0. Case- 2. Black area=0. White area=1. In the following section, case- 1 is used. Sample circuit for the sensor is as shown in fig. We have to change variable resistor to get the desired output. Now let us see various conditions as given in the table below. Voltage at AVoltage at BVoltage at CVoltage at Doutput. VLess than 2*VIf light falls,(white area) 1. V0. VLogic 0. 2. 5. VLess than 2*VIf light does not fall,(black area)2. VVcc=5. VLogic 1. VGreater than 2*VIf light falls,(white area) 1. VVcc=5. VLogic 1. VGreater than 2*V and less than 2. VIf light does not fall,(black area)2. V0. VLogic 0. If voltage at C is greater than 2. V, the output will be always at logic 1. This condition must be avoided. We have to adjust variable resistor to get the desired output. Its resistance is dependent upon the intensity of light falling upon it. It has wide range of resistance depending upon the intensity of light. Its resistance can vary from few ohms to some kilo- ohms or even more. To use LDR, above circuits with the following modifications can be used.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2017
Categories |