Here the complete electrical circuit diagram of line follower robot
which built based on ATmega16. There are three modules of line follower
robot circuit that are sensor module, microcontroller module and DC motor module.
IR sensor schematic diagram:
Mainboard (microcontroller + DC motor driver schematic diagram):