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: Shakar Grosida
Country: Switzerland
Language: English (Spanish)
Genre: Science
Published (Last): 6 May 2012
Pages: 37
PDF File Size: 12.11 Mb
ePub File Size: 7.22 Mb
ISBN: 584-3-71526-707-7
Downloads: 50706
Price: Free* [*Free Regsitration Required]
Uploader: Voodoonos

Dear sir, i always follows your atnega8 and tutorials and like very much. By preethi – September 24, 8: By ankur – April 20, 3: First try to do every thing exactly as I told. Dibyaranjan, Please do not be over smart. By Avinash – July 15, 5: In case a line is NOT found we below any sensor we used value we got last time.

Line Following Robot using AVR ATmega8

By inertia45 – August 27, 9: The Usijg Integrated Development Environment that is a software suite that let you enter, edit, compile,debug project and manage files in project.

Tell the reason for it. By jayaprakash – July 22, Only silly designer use external comparator.

You can try declaring sensor as volatile: By niharika – July 14, 8: Can you please make the program? Go Try Something else. If you are unable to make from the information provided. By sarthak – July 6, Beginners should avoid using them. By Ganesh Chandra – April 8, Adding a library to current AS6 project is described in libraries manual.


When the control variable is more than 0 that means line is towards the left, so we need to take right turn to correct the error and bring the robot back to track. What should I do? Leave this field empty. So its code is kept as simple and clean as possible.

avr – Line follower robot using atmega8 – Stack Overflow

The code atmegs8 as follows. Sir please tell why capacitor c6 is shown isolated in the LFR circuit diagram do I have to connect this c6 same as shown ie in vcc and ground anywhere in my zero pcb? By samim – February 1, 5: Karunakaran, I am also talking about the main board schematic only! By Prajwal – July 8, I know you will surely help me.

Also i hope that you may help me in my worst case problems and assist me.

Hi sir, Its not working for me. Afsal, Consult documentation available at Atmels website.

The electronics for the robot is kept as simple as possible. Can u help me tweaking it to detect perpendicular cuts in the track and to follow a white line on a black background rather than black line on a white background??

I planned on running and then delaying the motor for 3 second and the switching them off but the robot has started to work haphazardly. I Am new to AVR programming. I am using rpm motor. By manideep reddy allala – February 20, 9: And also not get programmed. I would be very thankful to you if you can help. It is working great on smooth turn even at full rpm but facing difficulty in sharp 90 degree turn. By Khushboo Priya – December 6, 8: Switch on the robot and see the action.


Please guide me for above problems. What kind of sensors is it exactly? What are the best sites or blogs that may be useful in designing an advanced line follower? Or may be you are not made for it! By Avinash – January 3, 6: Facing problem with your embedded, electronics or robotics atmegga8 Can you please help me out with the logic that i need to put in.

I meant main board schematic although outer details are good and inner details are not clearly legible. I am confused with this pin no. And i have already converted analog signal to digital using comparator…….

Author: admin