Program Guide AVR ATMega16/32
The package contains fully searchable, printable .pdf copy of step-by-step guide with fully functional and carefully checked programs of ATMega16. Applicable for ATMega32/128/328 also. Copy given programs into AVR Studio 4 project, press F7 to build .hex file. Burn it into your microcontroller and show off your great work to 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 ATMega16/32/128/328 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…!