You can try declaring sensor as volatile: volatile uint8_t sensor;. Line Following Robot using AVR ATmega8eXtreme Electronics http:// 1 of Here is a simple line following robot circuit designed using ATmega8 Microcontroller. It can be used in industrial and defense applications.

Author: Faujind Doulrajas
Country: Kazakhstan
Language: English (Spanish)
Genre: Spiritual
Published (Last): 9 April 2014
Pages: 478
PDF File Size: 5.38 Mb
ePub File Size: 11.66 Mb
ISBN: 941-1-94300-850-9
Downloads: 16837
Price: Free* [*Free Regsitration Required]
Uploader: Shakadal

Line Following Robot using AVR ATmega8

By raman – March 14, 6: Navigation Home Store Links. You declare the whole port D as inputs and some of those could be floating and give you unexpected values. By ankush – August 12, 2: If you bring some white surface in front of the sensor, the voltage output should change.

I want the bot to take a reverse turn when the black line ends and follow the same line again. Put batteries in your robot and place it in the flex sheet which has a line printed on it using black colour. Also is this ISP pin diagram is for 10 pin as of the programmer in your website store or 6 pin? BTW after a long philosophy class here is the quick solution that you are every fool is looking is here!


By sarthak – July 6, Can you please tell me how to access the library files? It is working great on smooth turn even at full rpm but facing difficulty in sharp 90 degree turn. By niharika – July 14, 8: Then we will mail you the library files. Leave a Reply Cancel reply Your email address will not be published. By Avinash – August 26, 5: By himanshu deore – August 31, 2: Email Required, but never shown.

By Wojtek – June 9, 7: By Avinash – June 10, 6: Hi sir, Its not working for me. By Vivan – December 30, 8: Its connected to the power supply and ground. But those are lot followrr, bulky and does not fit well in the chassis.

avr – Line follower robot using atmega8 – Stack Overflow

By Ishaan – February 3, 3: What are the best sites or blogs folloer may be useful in designing an advanced line follower? Line Following Robot Kit.

Hello sir, I want to know how to turn this program to a grid solver program. Debugging mode code has a lots of extra code in it in addition to the actual application folllwer.

Line Following Robot using AVR ATmega8

By md kashif – February 12, By Jalaj – February 8, 2: You can try declaring sensor as volatile: By Harsh – August 26, 7: By Prajwal – July 8, gollower By Avinash – January 3, 6: Similarly using another surface than a flex will have different reflectance so the sensor will not be able to “see” the line.


You need to properly connect the crystal oscillator during programming also, then only it will respond. Now without a crytal it wont run. Sir, gobot i have the code for adc?

Take a 1 minute test. High Quality Metal Chassis.

You are right that line senosr schematic is very clear. The electronics board is split into to parts.

Similarly if control variable is less than 0 that means line is towards the right, so we need to take left turn to correct the error and bring the robot back to track.

Bikash see the DVD you should have received with the kit.