This post is part of the series Learn Robotics at Home!
Other posts in this series:
The package contains fully searchable, printable .pdf copy of step-by-step guide with fully functional and carefully checked programs of ATMega8. You can just copy the given programs into AVR Studio 4 project and press F7 to build the program to create .hex file. Then burn it into your microcontroller and show off your great work to the friends and colleagues. (The photos shown in the guide and along with the product on our website are suggested for programming structure and not included with purchased product).
Learning robotics is a real fun and gaining logical knowledge. In this guide, you will understand the step by step process of designing infinite possibilities of different programming techniques in robotics using ATMEL ATMega8 AVR Microcontroller.
Each program is carefully written with lots of comments within the program. This will help you understand the command lines, different syntax and logical structure of the programs.
The author suggests to start from the very first program. It will give you the basic idea of controlling the primary hardware of your robot – the LEDs. Then the next program will be more fun to see that the LEDs produce running effect.
In running effect of LEDs, lots of command lines are needed to control the sequential on/off of the LEDs. So in the next program using the ‘for loop’, you understand that how we can reduce the length of the program in just two to three steps.
Then start with the basics of using IR sensors. A line following robot consists of an infrared light sensor and an infrared LED. It works by illuminating a surface with infrared light; the sensor then picks up the reflected infrared radiation and, based on its intensity, determines the reflectivity of the surface in question.
So in this next program, you will understand the use of sensor to control the LEDs first. Then step by step you can go through to understand the basics of black line and white line following robot’s logic behind its simple working.
After that you can move to understand the use of different types of sensors as given in the following programs.
If you come across any difficulty or want to ask questions regarding the programs, please feel free to contact us. We will reply you, ASAP.
So friends! Happy learning…!
Continue reading this series:
Program Guide AVR ATMega16/32