Labyrinth Maze Vince Crossley Dan Lin Kerry Myscofski
Labyrinth Maze Vince Crossley Dan Lin Kerry Myscofski
Objective § To have a ball get through a Labyrinth maze § What is a Labyrinth maze? § Maze with holes § Two knobs – control X and Y axes
The Maze § Simplified the maze § Added walls § Filled in some holes § Attached servos to each knob § Photoresistors put in place
Set Up § Needed to connect resistors in series with photoresistor so that photoresistor would reach cutoffs for high and low § Used voltage division equation § Ended up with 10 K ohm resistor § Needed servos to go fast enough to get through the maze, but slow enough to: § Have the program change the servo directions before the ball went too far § Have the program register a low output when going over a photoresistor
Attempt 1 § Only 16 inputs, but 19 photoresistors § 8 subprograms for each possible combination of motion § Place the photoresistors into one of the 8 subprograms depending on what the ball needs to do § Have photoresistors of each group go into AND logic gate § FAILURE… WHY? ? ?
Attempt 2 § Matrix style inputs similar to number keypad § Eliminate need for AND gates § 4 x 5 matrix = 9 total inputs § Will not work… WHY? ? ?
The Maze Once Again § Simplified the maze more § Shortened the maze § Eliminated some of the photoresistors § Decrease number of photoresistors to 12 § 16 inputs, 12 photoresistors § One input for each photoresistor § Eliminates need for AND gates
Circuitry
Code
Conclusions § Could not finish maze § Next step: § Obtain better photoresistors § Get through last leg of maze
Result 1
Result 2
Result 3
- Slides: 13