Sunday, April 20, 2014

Final Project- Sample Videos

Clarification:  Each team will produced both robots.

I was able to complete both robots this weekend:
Robot 1:  Each barrel is placed exactly 6 inches perpendicular  to the track on the right side.  This is important because the robot does not have the IR sensor and because the front of the robot has the grabber which can knock down objects as it turns around.

In my example, the red color indicates the start of the obstacle course.  The first time on the course, the robot counts the number of green dots to get the total number of obstacles on the course.  As it loops, it will keep track of how many objects have been collected and will stop when all objects have been collected.

Lego Mindstorm robot1 - YouTube
 
 


Robot 2:  The barrels must be tall enough for the IR sensor to see it.  I have made my barrels 15cm tall and placed the IR sensor on top of the medium motor of the grabber.  The touch sensor is connected on the back of the robot.

The robot is activated when it senses a beacon.  Once activated, it will go in a straight line until an object is close to the grabber.  It will then keep backing up until the touch sensor is pressed.  It will turn to the right and unload the object.  It will then turn around and keep backing up until the touch sensor is pressed.  It will stay in one spot until it senses a beacon.

VIDEO:

Lego Mindstorm robot2 - YouTube

 

Final Project

One of our goals in this class is to work as a team.  You have been divided into 2 teams:
Team 1: Max and Chris
Team 2: Eric and David
Your goal is to create two robots that work together to move objects to a "destination area".
Robot 1:  (Grabber and Color Sensor)
  • Follow a BLACK line.
  • When you see "RED"  says something unique that you have recorded yourself and make the display blink RED. Continue following the black line.
  • When you see "GREEN",  if you currently do not have any objects, turn and pick up object. ( If you already have an object, just continue on to the black line.)
  •      After picking up an object, turn to face the black line again and continue following the black line until you see "BLUE"
  • When you see "BLUE" drop the object.  Continue following the black line.
  • The line will loop and you will continue picking up objects.
Robot 2: (Grabber, IR Sensor and Touch Sensor)
  • This robot will sense when Robot 1 is near (Watches for Beacon) and moves to pick up object from Robot 1 in the blue spot.
  • Once it has an object, it will move backward in a straight line up a ramp until it TOUCHES a wall.   It will then turn and open its grasp to drop the object.  After the object is released, it
  • will turn  and return home to wait for Robot 1 to come again.
Mr. Windish and I will create an obstacle course:
We will use black electrical tape, print 3D barrels, color squares (red, green, and blue),and build a ramp and "destination area".

You are required to submit both EV3 code and JAVA code.
You will present your project during the Phidget Runway Presentation , Friday May 2nd from 9-12 in Atkinson Lobby.We will record the time it takes for your robots to move all objects to the destination area.   . 
You may need to work with your partner outside of class.   We will not have formal class on Fridays now.  Friday 12-2  can be help sessions/ group sessions as you wok with your partner

Note: The ROV3R with touch sensor bumper, line following module and grabber module are described in Chapter 2 of your book.  Visit EV3L.com for bonus materia