Beruflich Dokumente
Kultur Dokumente
College of Engineering
Electronics and Communications Department
SUMOBOT
Group 4
Perdio, Lejan Daniel I.
Pulayan, John Eric R.
Quitco, Kimberly F.
Descript
ion
Input
The main input of the sumobot is the Sharps
distance
measuring
sensor,
the
GP2Y0A02YK0F
sensor.The secondary input is the sensor module which
consists of the following components: four QRE1113
reflective sensors, LM324 comparator, and 10k trimmer
potentiometer.
The GP2Y0A02YK0F sensor measures the distance
of an object on its front, with a decimal value of 0 to
1023. It is placed on the lower front of our sumobot to
sense objects on the front. The closer the object is, the
larger the value of the measurement. In our program,
when the measured distance is greater than 300, the
sumobot will attack the opposing bot by making a forward
movement.
Controller
The Microcontroller module is the main controller of
the project. Its main part is the Zilog Z8F0822 Encore
Microcontroller, which is a 28-pin microcontroller IC. The
module also consists of the following: a tact switch for
reset, an 18.432MHz crystal oscillator for clock, three
ports (Ports A, B and C), and others. In addition, the power
supply is also located and connected in this module
wherein LM7805 is used for a 5-volt supply and RT9163 is
used for a 3.3-volt supply. A header and USB are used as
an outlet for battery or other kinds of DC supply.
Output
The movement of the sumobot is interpreted on the
output module, which is the motor driver module and the
DC motors. The motor driver module is mainly consists of
the L293D motor driver IC. This IC is designed to drive
inductive loads such as the DC motor. The L293D is
capable of driving two DC motors, namely motor 1 and
motor 2. The two motors have three logic inputs, the first
two is for inputs 1 and 2, and the third is for the enable
input.
The motor driver module has 8 input pins. The first
two pins are for the voltage and ground. The next four
pins are for the input values on motors 1 and 2 (these are
IN1, IN2, IN3, and IN4). The last two pins are for the
enable inputs of the two motors.
To make a forward movement, the hexadecimal
value assigned on the program is 0x3A or 0011 1010 in
binary form. To make a reverse movement, the
hexadecimal value assigned on the program is 0x35 or
0011 0101 in binary form. To make the sumobot in rotary
movement, the hexadecimal value assigned on the
program is 0x39 or 0011 1001 in binary form.
Pictures
Motor Driver
Sensors
Sumobo
t
Progra
m
Specificatio
ns
A.
B.