Build and program your first robot

23 Aug 2022 - 12:24 | Version 1 |

Objectives

  1. Assemble a robot
  2. Have fun
  3. Learn how the fundamentals of the environment
  4. Write your first program that "draws" a figure
  5. Learn how to submit your work

Assignment

  1. Find a team member and check out a robot kit
  2. Launch the Lego Mindstorm program and follow its instructions to build the base model.
    1. You may deviate from it if you wish but if you do, you may or may not run into problems in future labs. You will be on your own for solving such problems if they arise.
    2. You do not need to attach any sensors at this time a, The motors must be connected to ports B & C
  3. Create a clean program that will "draw" a square.
    1. Lego robots are not designed to be extremely accurate. The accuracy of your square is not essential. It should just look "reasonable"
    2. Include a comment block that indicates the names of the members of the team, which robot it as designed for, and the assignment
    3. Make the code look neat

Submission instructions

  1. Due date is found on Canvas
  2. Each person should create a pdf document that contains the following information
    1. Your name
    2. Your partner's name
    3. A brief description of what you did
    4. A brief description of what your partner did
    5. How well you achieve each objective
  3. Create one zip folder for the team
    1. place your code (making sure it has a comment that includes the lab assignment and the name of all team members)
    2. place each member's pdf in the folder
  4. Have one team member submit it in canvas.

Hints

  1. Try to plan so that your team has everything figured out at least 24 hours before it is due so that there is time to do the writeups and handle any unexpected problems.
  2. Don't try to get it all to work before testing. Get your robot to maybe go forward a set amount and then make a 90 degree turn. Get that to work before going forward.
  3. Don't spend more than about 5 minutes being frustrated. Ask for help early!
  4. Save your work often.
  5. Do not attempt any challenge until the base assignment is done

Challenges

  1. Use variables for the length of the line and for the turns.
  2. Only use two instances of "green" blocks for movement.
  3. Very advanced challenge. Add another motor to lift the pen up and down and draw a word.
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback
This website is using cookies. More info. That's Fine