You are on page 1of 7

LINE FOLLOWING CAR

Schematic and Circuit Design

JAZARI ROBOTIC CLUB

2013
Mainboard PIC18F4520
Connection for mainboard:

 Vdd must be connected to 5V while Vss to 0V (ground).


 PGC and PGD pin are used for programming. (we use PICkit3)
 OSC1 and OSC2 are used for external clock using crystal 10MHz, the value for capacitors depend on
type of crystal used. (refer datasheet)
 You can choose if you want to use internal clock.
 Pin 1 is used for Master Clear.
 You can add LED or extra push button.
Voltage Regulator

Voltage regulator:

 5V must be connected to all pins that require 5V.


 GND must be connected to all pins that require 0V.

You can refer datasheet for other options of voltage regulator circuit.
IR Sensor

IR Sensor:

 The ‘sensor’ pin will connect to the comparator. (sensor = Vout)


 Usually we use 3 to 4 IR sensor. Just parallel it to be one node.

How it works:
LM324 Comparator
L293 Motor Driver

Truth Table:

You might also like