Here the complete electrical circuit diagram of line follower robot which built based on ATmega16. There are three modules of…