stem fair project can lego mindstorm robots detect and react to objects within a certain range?

12
Stem fair project Can LEGO MINDSTORM robots detect and react to objects within a certain range? BY KAYSA ENGDAHL

Upload: hilary-magdalen-evans

Post on 23-Dec-2015

216 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Stem fair project Can LEGO MINDSTORM robots detect and react to objects within a certain range?

Stem fair project

Can LEGO MINDSTORM robots detect and react to objects within a certain range?

BY KAYSA ENGDAHL

Page 2: Stem fair project Can LEGO MINDSTORM robots detect and react to objects within a certain range?

What is the challenge and What are the constraints?The challenge was to build a robot

that guarded something, possibly a room or an object.

The constraints were to use parts from an NXT LEGO Mindstorm set to build a semi-intelligent robot.

Page 3: Stem fair project Can LEGO MINDSTORM robots detect and react to objects within a certain range?

Ideas for designs Some possible ideas were:

1. Build a robot that moved around, patrolling the area with an ultrasonic sensor that would allow the robot to see. If it saw an object within a certain distance, it would first give a warning, then attack with its robot teeth by snapping its jaws.

Page 4: Stem fair project Can LEGO MINDSTORM robots detect and react to objects within a certain range?

Ideas for designs 2. Build a robot that was stationary, and

had an ultrasonic sensor, enabling the robot to see. It would flash a warning blue light out of the color lamp installed on it, then give a verbal warning, and if the object did not move, the robot would shoot plastic balls out of a chute and continue to do so until the object moved. When the object moved, the robot would say, “ Lost object”.

Page 5: Stem fair project Can LEGO MINDSTORM robots detect and react to objects within a certain range?

Sketches of ideas

Page 6: Stem fair project Can LEGO MINDSTORM robots detect and react to objects within a certain range?

Which idea should I choose? I decided to make Robot2 instead of Robot1,

because I imagined a situation where, if I had chosen Robot1, the robot would be guarding a room. If the room happened to be in a hallway, Robot1 might patrol the area and then sense the wall, in which case it would attack the wall.

I thought also shooting balls might be more useful than having a robot attack with biting, because then the robot would protect a larger area.

Page 7: Stem fair project Can LEGO MINDSTORM robots detect and react to objects within a certain range?

Needed materialsThese are the main parts I will use for my robot. These are the names of the parts, from top left going clockwise:Ultrasonic sensor, Color sensor/ color lamp, ball shooter with balls, and the NXT computer.

I will also need many other small parts for this robot, including axels, connectors, and a few straight or elbow pieces, along with some wires to connect the NXT computer to the sensors and motors.

Page 8: Stem fair project Can LEGO MINDSTORM robots detect and react to objects within a certain range?

Needed materials I will also need 3 motors , two for the

traction wheels, which are mostly decorative, and one for poking the balls out of the ball shooter.

3

Page 9: Stem fair project Can LEGO MINDSTORM robots detect and react to objects within a certain range?

Building the robot Here are some pictures of me building

Robot2.

Page 10: Stem fair project Can LEGO MINDSTORM robots detect and react to objects within a certain range?

What changes to robot2 can I make? The changes I made to robot2 were: I made it so that the color lamp

changed different colors then originally programmed.

I attached the ball shooter in a more convenient spot.

I made the ultrasonic sensor sense objects within 40cm instead of 30cm.

Page 11: Stem fair project Can LEGO MINDSTORM robots detect and react to objects within a certain range?

Robot2

Page 12: Stem fair project Can LEGO MINDSTORM robots detect and react to objects within a certain range?

Did my robot complete the challenge? I think that Robot2 completed the

challenge, because1) It can detect objects, and when I tested

it out it detected the object.2) It reacted to the object, by shooting

balls out of the ball shooter 3) There was a certain range in which the

objects had to be in for them to be sensed.

SUCCESS!!!