• No results found

SUMOBOT

N/A
N/A
Protected

Academic year: 2021

Share "SUMOBOT"

Copied!
32
0
0

Loading.... (view fulltext now)

Full text

(1)

University of the East – Caloocan College of Engineering

Electronics and Communications Department

Group Project in Industrial Electronics:

SUMOBOT

Group 4

Perdio, Lejan Daniel I.

Pulayan, John Eric R.

Quitco, Kimberly F.

NEC 428 – 1ECM

Engr. Mark Anthony Aseoche

(2)

Descript

ion

(3)

As the name suggests, this project imitates the movement of sumo wrestlers. Basically, it has the capability to push other sumobots and remain inside the sumobot arena.

The inputs of the project are the reflective sensors and distance measuring sensors, the controller is the Zilog microcontroller module, and the DC motors represent the output.

Input

The main input of the sumobot is the Sharp’s 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.

(4)

If the GP2Y0A02YK0F sensor measures a distance less than 300, the secondary input of the project will be responsible for the movement of the sumobot. Two reflective sensors are placed on the front, and two reflective sensors are placed at the back so that the sumobot will remain inside the arena.

The trimmer potentiometer is used to calibrate the four reflective sensors by setting different values of the reference voltage on the comparator IC. The LM324 comparator IC is used to consistently give either a logic 1(positive saturation) or logic 0(negative saturation) on the output of the comparator, depending on the sensing of the reflective sensor. The reference voltage is adjusted so that when the reflective sensor senses black colour, the output on the comparator is logic 1 and the LED indicator is off; when the reflective sensor senses white colour, the output on the comparator is logic 0 and the LED indicator is on.

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.

(5)

The program is debugged on the Microcontroller module so that specific values from the GP2Y0A02YK0F sensor and sensor module will be given corresponding logic values on the output. All possible logic combinations of the four sensors were listed and given their corresponding output values. These movements are only implemented if the GP2Y0A02YK0F sensor measures a distance less than 300.

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.

(6)

The first number on the hexadecimal value represents the enable inputs of the motor driver. A value of 3 is assigned so that motors 1 and 2 are enabled. The second number on the hexadecimal value represents the inputs of motors 1 and 2. A 01 value on the input will result on a counter clockwise movement of the motor, a 10 value on the input will result on a clockwise movement of the motor, and a 00 or 11 value on the input will stop the motor from running.

In summary, the sumobot’s movement is controlled by the program on the microcontroller module using GP2Y0A02YK0F distance measuring sensor and QRE 1113 reflective sensors as inputs, and motor driver module and DC motors as outputs.

Power Supply

The power supply used for the Microcontroller module is a Lithium Polymer 2-Cell Battery with a 7.4 V output while the power supply used for the motors is a Samsung rechargeable 7.4V battery.

(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)

Sumobo

t

(15)
(16)
(17)

Progra

m

(18)
(19)
(20)
(21)

Specificatio

ns

(22)
(23)
(24)
(25)
(26)
(27)
(28)
(29)

C. GP2Y0A02YK0F Distance Measuring

Sensor

(30)
(31)
(32)

References

Related documents

The Experiences of Young Second-Generation South Asian Women who are Attending Institutions of Higher Education in Canada. Invitation

Direct quantum-mechanical calculation of theoretical spectra of complex dielectric permittivity allows exact defining of proton tunneling influence on frequency and temperature

As part of the package, you will receive advice and guidance from professional graphic designers, as well as 10 hours of design work to create banners, background images for

A basic task in sentiment analysis is classifying the polarity of a given text at the document, sentence, or feature/aspect level—whether the expressed opinion in

knowledge, this is the first report to show a significant decrease in adrenal androgen levels in patients with prostate cancer treated long-term with a GnRH antagon- ist.. Some

Although there are still limitations on the application of ultrasound on polymer process evaluation, such as the poor long-term stability of transducers at high

Currently, for an owner who has received bids from a number of bidders for a specified project, bid evaluation (or the process of selecting a contractor from

With the help of Global Positioning System (GPS), Global System for Mobile communication (GSM) modem and Microcontroller are embedded with the aim of enabling users to locate