- :-

Topics Covered

  • EV3 Brick
  • Sensors and Ports
  • Lesson Links

    Check Your Understanding:
    1. 1. True of False. ROBOTC Programs are configured with the EV3 REMBot as the default robot model.
    2. True
    3. 2. Which window in ROBOTC allows you to configure where the motors and sensors are plugged in on the EV3?
    4. The Motors and Sensors Setup Window
      The Device Configurator Window
      The Robot Confugurator Window
      The EV3 Firmware Updater
    5. 3. True or False. You must give your motors and sensors custom names.
    6. True
    7. 4. What are the rules for the custom names you can give motors and sensors?
    8. They must be all one word
      They can only be made up of letters, numbers, and underscores
      They cannot be a word already reserved by ROBOTC
      All the above
    Try It!
    Try it! 1

    Removing Configuration

    Open Motors and Sensors Setup, remove unused sensors Try it!
    This is the custom robot that appeared in this lesson's video. By default, this robot uses 3 motors to move.
    Open the Motor and Sensor Setup window by clicking on the "Motors and Sensor Setup" button at the top of ROBOTC.
    On Motors and Sensors Setup window, click and open the "Sensors" tab
    On the Devices tab, look for sensors that you do not need. For example, to remove Ultrasonic Sensor, click on the dropdown menu "Ultrasonic", listed under 'Sensor Type'. Then, select No Sensor

    Repeat this for other sensors you would like to remove.
    Try it! 2

    Removing Configuration

    Open Motors and Sensors Setup,
    configure a different sensor in a non-default port. Try it!
    Though the Custom Robot uses 3 motors to move, it is possible to use a Touch Sensor too.

    Complicated robot designs often restrict you physically from attaching extra sensors freely. In cases like this, changing the sensor's default port can be useful.
    In the Sensors tab of Motors and Sensor Setup window, look for sensor name "TouchSensor". You will see that it is placed in port 1
    You wouldn't want to replace to a port that is already occupied. Look for ports that are empty (marked as "No Sensor") or ports using sensors that you do not need. For instance, this robot does not use the ultrasonic sensor, so it is safe to use this port.
    If you were to choose port 4, who's default is the Ultrasonic Sensor, type in "TouchSensor" as the name of the sensor, and select "Touch (EV3)" from the dropdown menu.
    Make sure port 1 is now empty, and set as "No Sensor". Click on the Apply button on the Setup Window to complete the change.