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: Zulkijinn Megami
Country: Bahrain
Language: English (Spanish)
Genre: Relationship
Published (Last): 12 October 2013
Pages: 82
PDF File Size: 6.81 Mb
ePub File Size: 14.94 Mb
ISBN: 219-7-68029-318-2
Downloads: 36684
Price: Free* [*Free Regsitration Required]
Uploader: Nikogar

Buy the KIT to get libs. Usimg preethi – September 24, 8: In the loop first thing we do is to read the sensor using the ReadSensors we get a value between 1 to 5 as follows. Robot C Error Leave this field empty. Navigation Home Store Links.

Line Following Robot using AVR ATmega8

Ankur, Did you purchased the KIT from our oine By himanshu deore – August 31, 2: By Avinash – July 15, 5: By rupali – April 3, 9: Sign up using Email and Password. If you are compiling with any optimization, the delay functions don’t work properly.


This article is actually a nice one it assists new internet viewers, who are wishing for blogging.

Arun, Sorry it is a mistake. By Wojtek – June 9, 7: For more information turning the robot please see differential drive mechanism.

Hello sir, Will the bot follow the line if it encounters a junction. Line follower robot using atmega8 Ask Question. Or may be you are not made for it!

And how the bot behaves when we get a sharp 90 deg turn like sharp left turn in which sensor 1,2 and 3 are on line. So its code is kept as simple and clean as possible. By sarthak – July 6, I know you will surely help me.

avr – Line follower robot using atmega8 – Stack Overflow

By raman – March 16, Also is this ISP pin diagram is for 10 pin as of the programmer in your website store or 6 pin? By somesh – February 4, 1: By samim – February 1, 5: By md kashif – February 12, If you want to go for ATmega16 you have to change the connection and also the program.


Switch on the robot and see the action. Can you please make the program?

Line Following Robot using AVR ATmega8

By Dibyaranjan – July 6, 8: By Avinash – February 12, 9: It is now fixed! This type of robot is run over a white surface which has an arbitrary path drawn over it by using back paint.

By python – October 8, Post a help request. Dibyaranjan, Please do not be over smart.