the pied pipers joanne flores ken shum alyssa visitacion

21
The Pied Pipers Joanne Flores Ken Shum Alyssa Visitacion

Post on 21-Dec-2015

223 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: The Pied Pipers Joanne Flores Ken Shum Alyssa Visitacion

The Pied Pipers

Joanne FloresKen ShumAlyssa Visitacion

Page 2: The Pied Pipers Joanne Flores Ken Shum Alyssa Visitacion

Project Overview

To create an autonomous robotic mouse that will navigate a maze.

Page 3: The Pied Pipers Joanne Flores Ken Shum Alyssa Visitacion

Goals

Have each circuit correctly interact with each other.Make mouse move forwardHave mouse make turnsComplete a wallhugging mouse Find center of maze

Page 4: The Pied Pipers Joanne Flores Ken Shum Alyssa Visitacion

System Diagram

Program Module

Mechanical Module

Page 5: The Pied Pipers Joanne Flores Ken Shum Alyssa Visitacion

Program Module

Tracking Algorithm Sense walls

If offset sensors turn on, you are no longer centered. Increase speed on side of offset sensors until centered.

Wall Hugger Algorithm Move forward as long as there is a wall on the left.

If there is a wall in the front, turn right. If there is no wall on the left, turn left.

Page 6: The Pied Pipers Joanne Flores Ken Shum Alyssa Visitacion

Excerpt from Tracking and Wallhugger Codeint delaysignal(void);

unsigned moveforward(void);

unsigned turnright(void);

unsigned turnleft(void);

main()

{ RdPortI

WrPortI(SPCR,&SPCRShadow,0X84); // declares all A ports as output ports

while (1) // basic wallhugger

{ if (SENF1 || SENF2)

{ turnright(); // this function moves mouse right

delaysignal();

}

else if (!SENL1 && !SENL2 && !SENL3)

{ turnleft(); // this function moves mouse left

delaysignal;

}

else

{ moveforward; // this function moves the thing forward

delaysignal;

}

}

}

Page 7: The Pied Pipers Joanne Flores Ken Shum Alyssa Visitacion

Mechanical ModuleChassis Battery Packs Tires Motors Standoffs

Electrical Circuitry Sensors Circuit Motor Drivers Circuit

Rabbit

Page 8: The Pied Pipers Joanne Flores Ken Shum Alyssa Visitacion

Design Decisions

To make it as compact and light as possibleTo keep the wiring neatTo minimize the amount of sensors usedTo organize circuits by placing each part on three different layers.

Page 9: The Pied Pipers Joanne Flores Ken Shum Alyssa Visitacion

Design StructureConsists of three layers of circuitryChassis contains standoffs, which holds up the three layersSensors Circuit – Bottom LayerMotor Drivers Circuit – Middle LayerRabbit and Switch – Top Layer

Page 10: The Pied Pipers Joanne Flores Ken Shum Alyssa Visitacion

Overall Design

Page 11: The Pied Pipers Joanne Flores Ken Shum Alyssa Visitacion

Overall Design

Page 12: The Pied Pipers Joanne Flores Ken Shum Alyssa Visitacion

Overall Design

Page 13: The Pied Pipers Joanne Flores Ken Shum Alyssa Visitacion

Overall Design

Page 14: The Pied Pipers Joanne Flores Ken Shum Alyssa Visitacion

Sensors LayerTwo sensors in front of mouseThree sensors each on left/right side of mouseHas a hole in the middle to lead motor wires to middle layer

Page 15: The Pied Pipers Joanne Flores Ken Shum Alyssa Visitacion

Motor Drivers LayerContains motor drivers circuitAlso holds the voltage inverters that connect to each sensor panel.

Page 16: The Pied Pipers Joanne Flores Ken Shum Alyssa Visitacion

Top Layer

Contains rabbit and switch. Neatly covers the motor drivers layer

Page 17: The Pied Pipers Joanne Flores Ken Shum Alyssa Visitacion

Final StatusSensors Circuit and Motor Drivers Circuit worksUsed Circuitwriter to make connections in circuitSensors are attached to body using velcro

Page 18: The Pied Pipers Joanne Flores Ken Shum Alyssa Visitacion

Problems That Occurred

Altering DesignScheduling conflictsToo much time spent on debuggingBad ConnectionsBroken PartsSwitch incorrectly connected

Page 19: The Pied Pipers Joanne Flores Ken Shum Alyssa Visitacion

Outstanding Problems

Unable to move due to a broken rabbit

Page 20: The Pied Pipers Joanne Flores Ken Shum Alyssa Visitacion

Future Improvements

Time managementEtchingMore visually appealingCoding

Page 21: The Pied Pipers Joanne Flores Ken Shum Alyssa Visitacion

Questions?