CORNELL MAE 1170 - Introduction to Mindstorms and Robolab

Unformatted text preview:

Lego Mindstorms Laboratory Session #1MAE 1170 Introduction to Mechanical EngineeringFall 2008Lego Mindstorms Laboratory Session #1Introduction to Mindstorms and RobolabThe design, analysis and control of robots and robotic actuators is a major field of modernengineering, incorporating several disciplines of mechanical engineering, including rigid bodydynamics, kinematics, and feedback control. In recent years, a new field called mechatronics hasbeen developing, which incorporates not only mechanical components, but electromechanical(motors), and even magnetic devices as well. In this lab, you will build and program a small robot to accomplish a specific task. You will useLego Mindstorms kit to build the robot, as well as Robolab, a virtual interface (VI) program, tocommand the robot. The goal of this lab is for you to become acquainted with the LegoMindstorms kit, and the Robolab software that accompanies it. Procedure: 1) Design and build a robot that can move forward or backward in one direction, and rotateabout the z axis (pointing up). This gives the robot two degrees of freedom (DOF). PleaseDO NOT mix and match parts between groups!2) Once you have built your robot, open Robolab. Make a program that tells the robot tomove forward for several seconds, stop, then return to its original position. Download theprogram to the RCX unit and run the program. 3) Can you make your robot move in a circle(without using a light sensor)? The circle can beany size, and does not have to be perfectly smooth (If you attached a pencil to yourrobot, the path it traced could approximate a circle). Try changing some constants to seewhat the effect is on the smoothness of the circular path. You can make a new program,or modify your old one.4) Attach a light sensor to your robot. Attach the sensor so that it is looking down and is asclose as possible to the ground. Try programming the robot to perform a function (go inreverse, turn 90 degrees, stop, etc.) when the light sensor “sees” a black line. Modifyyour old program, or make a new one.5) Use a loop function to have your robot follow the black line on the paper track. Your robotonly needs to be able to navigate the black line in one direction (counter clockwise orclockwise around the track). Modify your old program, or make a new one.Once your robot can navigate the line successfully, try making it faster. Note that this mayrequire significant modification to the robot itself, in addition to the program. Robot raceswill be held on a multi-lane track. 6) You are now free to experiment with the Lego Mindstorms and Robolab. Try incorporatingsome of the other sensors into your robot. Here are a few ideas:a. Use the touch sensor to build a robot that will turn 90 degrees when it hits a wall. b. Attach a pencil or pen to your robot and program it to spell out MAE117.c. Make a robot that senses when it is dark in a room, and automatically turns onit’s head lights.7) If you had time after completing the required part of lab, you cannot leave until you havemade your robot do something cool. Show your


View Full Document

CORNELL MAE 1170 - Introduction to Mindstorms and Robolab

Download Introduction to Mindstorms and Robolab
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Introduction to Mindstorms and Robolab and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Introduction to Mindstorms and Robolab 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?