Circuit Schematic Line Follower Robot Microcontroller Unit (MCU) Based on ATmega8

MCU. - Here is Circuit Schematic Line Follower Robot Microcontroller Unit (MCU) Based on ATmega8. You can integrated this circuit with motor driver, IR sensor and power supply to buil your own Line Follower Robot (LFR).
Figure 1. Circuit Schematic Line Follower Robot Microcontroller Unit (MCU) Based on ATmega8
(Source: www.electroschematics.com)

The first task is to resolve which pins of the MCU will be used for taking inputs from the infrared sensor cards and giving outputs to the motor driver circuit. As an exercise, I went for PC0 (left) and PC3 (right) of PORT C for the two inputs from two infrared sensor cards, and pins PB1 to PB4 of PORT B as outputs to motor driver circuit (actually only PB1 and PB4 are important at this time). The code is written using the C language so you need to be comfortable with the syntax of C language, concept of libraries, compiler, etc (IDE used is the AVR Studio 4). The final code (hex code) can be burned into the MCU using a suitable programmer (refer previous chapters of this avr tutorial).

Source: www.electroshematics.com
Share on Google Plus
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment