micro-mouse by mohamad samhat narciso lumbreras hasan almatrouk

29
Micro-Mouse By Mohamad Samhat Narciso Lumbreras Hasan Almatrouk

Upload: albert-simpson

Post on 28-Dec-2015

218 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Micro-Mouse By Mohamad Samhat Narciso Lumbreras Hasan Almatrouk

Micro-MouseBy

Mohamad SamhatNarciso LumbrerasHasan Almatrouk

Page 2: Micro-Mouse By Mohamad Samhat Narciso Lumbreras Hasan Almatrouk

What is a Micro-Mouse ?

•A micro-mouse is a small battery operated mobile robot that moves randomly to solve a maze

Page 3: Micro-Mouse By Mohamad Samhat Narciso Lumbreras Hasan Almatrouk

History• In 1977, IEEE Spectrum Magazine, came up with the

concept of a Micro-Mouse• In May 1977, Spectrum announced the first US Amazing

Micro-Mouse Maze Contest to be held in June 1979, New York

• In 1980, the European version of the contest was launched at the Euromice '80 in London

• In March 1990 the Micro-Mouse was introduced to schools and universities.

Page 4: Micro-Mouse By Mohamad Samhat Narciso Lumbreras Hasan Almatrouk

Why a Micro-Mouse?

• It consists of multiple parts : software & hardware

• Design efficiency • Excellent introduction for robotics field

Page 5: Micro-Mouse By Mohamad Samhat Narciso Lumbreras Hasan Almatrouk

Design Method

•Google is our friend

Page 6: Micro-Mouse By Mohamad Samhat Narciso Lumbreras Hasan Almatrouk

Major Components• Micro Controller PIC18F452• Sensors GP2D120• Drive Control System MC3479• Hybrid Stepper Motors• Crystal Oscillator• Voltage Regulator

Page 7: Micro-Mouse By Mohamad Samhat Narciso Lumbreras Hasan Almatrouk

"Peripheral Interface Controller”• Low Cost• Wide Availability• Large User Base• Extensive Collection of Application Notes• Availability of Low Cost or Free Development Tools

• Serial Programming (and Re-Programming With Flash Memory) Capability.

Page 8: Micro-Mouse By Mohamad Samhat Narciso Lumbreras Hasan Almatrouk

Microcontroller

Page 9: Micro-Mouse By Mohamad Samhat Narciso Lumbreras Hasan Almatrouk

Crystal Oscillator •Creates an electrical signal with a very precise frequency

Page 10: Micro-Mouse By Mohamad Samhat Narciso Lumbreras Hasan Almatrouk

Sensory Array

Page 11: Micro-Mouse By Mohamad Samhat Narciso Lumbreras Hasan Almatrouk

MC3479 Stepper Motors

DRIVE CONTROL SYSTEM

Page 12: Micro-Mouse By Mohamad Samhat Narciso Lumbreras Hasan Almatrouk

Hybrid Stepper Motor• Operates based on programmed instructions

Page 13: Micro-Mouse By Mohamad Samhat Narciso Lumbreras Hasan Almatrouk

VOLTAGE REGULATOR

Page 14: Micro-Mouse By Mohamad Samhat Narciso Lumbreras Hasan Almatrouk

Block Diagram

MicrocontrollerPIC18F452

Sensory Array

RightSensor

Center

Sensor

Left Sensor

Motor DriverMC3479

Motor DriverMC3479

MOTOR #2 MOTOR #1

Page 15: Micro-Mouse By Mohamad Samhat Narciso Lumbreras Hasan Almatrouk

Micro-mouse Schematics

Page 16: Micro-Mouse By Mohamad Samhat Narciso Lumbreras Hasan Almatrouk

Trouble Shooting Testing each component of circuit• Sensors with Oscilloscope• Voltage Regulator• Stepper Motor Drivers with Hybrid Stepper Motors

Page 17: Micro-Mouse By Mohamad Samhat Narciso Lumbreras Hasan Almatrouk

Trouble Shooting Cont. MPLAB programming and configuration bits• New Software• Including a C file• Different Configuration Bits For Every Program

Page 18: Micro-Mouse By Mohamad Samhat Narciso Lumbreras Hasan Almatrouk

Trouble Shooting Cont. Programming• Setting I/O Pins• Converting Signals From Analog to Digital• Including Delay Functions

Page 19: Micro-Mouse By Mohamad Samhat Narciso Lumbreras Hasan Almatrouk

Trouble Shooting Cont. Universal Programmer• Used for Verifying Code/Erasing/Burning Program on PIC

Page 20: Micro-Mouse By Mohamad Samhat Narciso Lumbreras Hasan Almatrouk

Trouble Shooting Cont. Crystal Oscillator• Changed Clk from 40MHz to 20MHz• Added Two 22pF Capacitors

Page 21: Micro-Mouse By Mohamad Samhat Narciso Lumbreras Hasan Almatrouk

Trouble Shooting Cont. DC Motor VS Hybrid Stepper Motor• No DC Power Supply• Wiring Configuration

Page 22: Micro-Mouse By Mohamad Samhat Narciso Lumbreras Hasan Almatrouk

Trouble Shooting Cont. Battery Lifetime• Drains Fast• Parallel Connection• Lithium for 30% Weight Reduction

Page 24: Micro-Mouse By Mohamad Samhat Narciso Lumbreras Hasan Almatrouk

Trouble Shooting Cont.

Final Design• Access to Batteries• Stabilization• Dimensions

Page 25: Micro-Mouse By Mohamad Samhat Narciso Lumbreras Hasan Almatrouk

Trouble-Shooting Videos

Page 26: Micro-Mouse By Mohamad Samhat Narciso Lumbreras Hasan Almatrouk

Trouble-Shooting Videos Cont.

Page 27: Micro-Mouse By Mohamad Samhat Narciso Lumbreras Hasan Almatrouk

Maze•Dimensions•Construction•Materials

Page 28: Micro-Mouse By Mohamad Samhat Narciso Lumbreras Hasan Almatrouk

MILESTONE

•Arduino•Custom Chassis•Rechargeable Batteries•Modify Program

Page 29: Micro-Mouse By Mohamad Samhat Narciso Lumbreras Hasan Almatrouk

What we Learned?

•Discipline•Team Work •Patience•Complex Design of Hardware/Software