Teacher's Note: Solutions for the programs for the Ram robot Pro Preview

Today’s task has two main parts – the part consists of the main tasks and the second one – of the additional ones.

You should first solve the tasks for forward movement of the two motors for 2 seconds. Remind students they should be careful with their fingers.

For the next task you might have to show your students where the Port View on the computer is.

Then students should read a text on the logic of the program. You can give them a summary or leave them read the whole material.

At the end of the main tasks the program will use the Switch block in order to check whether the robot has hit the obstacle. If the program does not always operate properly, you could add some degrees to be sure it would detect the hit.

content picture

The additional tasks are meant to be more difficult so you better leave your students struggle a bit. Make sure you explain how the rotation sensor reset block functions. For convenience, this information is given in the materials.

Students should add a loop in the program which repeats it all. To make the program functioning, students should repeat the program from 0 degrees which is why the reset block follows the switch block.

In order to avoid checking whether the robot has hit anything every 2 seconds, the check should be set at 0.3 seconds.

To prevent the robot from stopping suddenly, students should use the Coast setting of the move block instead of Brake. As students have practiced this only once, you should help them with the task.

You can download the programs for the robot from here: https://www.fllcasts.com/programs/u9qxaw-program-for-the-ev3-ram-robot-hrutur

content picture

To access the full video please subscribe to FLLCasts.com

Subscribe

  • #1167
  • 22 Mar 2019

Courses and lessons with this Tutorial

This Tutorial is used in the following courses and lessons

Image for [In Development] The fun level - Game-oriented introduction to LEGO robotics
  • 50
  • 58:06
  • 32
Image for Lesson 6
  • 1
  • 4
  • 8
  • 3d_rotation 1
Image for Level D1. "Animals". Robotics with LEGO
  • 23
  • 0:00
  • 102
Image for Lesson 6 - Ram
  • 1
  • 4
  • 9
  • 3d_rotation 1