Skip to main content

Code Base
Lab 4 - Color Disk Maze

Teacher Portal

Engage

Launch the Engage Section

ACTS is what the teacher will do and ASKS is how the teacher will facilitate.

ACTS ASKS
  1. Have a pre-built Code Base - Eye Forward ready with the Brain connected to your tablet or laptop, and VEXcode GO configured for Code Base. Also have a Red and Blue Disk ready. Display the Monitor window for students in VEXcode GO.
  2. Select the <Found object> in the Toolbox and show how it appears in the Monitor Console.
  3. Demonstrate how the <Found object> data changes when a Disk is placed in front of the Eye Sensor.
  4. Select the <Detects color> in the Toolbox and show how it appears in the Monitor Console.
  5. Hold up a Red Disk in front of the Eye Sensor —make sure the <Detects color> block is set to red. Hold a Blue Disk in front of the Eye Sensor. Point out how “Eye detects color?” reports ‘false’.
  6. Point out that the color to be detected is selected in the <Detects color> block, and change it to blue. Then, test it again with a Blue Disk and a Red disk, and point out the difference.
  7. Ask students how they might use this in a project.
  1. We know that sensors give our robot information. The Eye Sensor can detect if an object is present, and what color it is. How can we see that information in a project? There is a place in VEXcode GO that will show it to us —the Monitor Console!
  2. We select the sensor information that we want to see in the Toolbox —like this. Notice that “Eye found object?” information appears in the Monitor Console. How could this be helpful?
  3. What do you think will happen when I hold something in front of the Eye Sensor? What changes in the Monitor Console? What does that tell us?
  4. What if I wanted to know more, like the color? Do you think we can look for color information too?
  5. What will happen if I hold a Red Disk in front of the Eye Sensor? What value will it report? True! What do you think will happen with a Blue Disk? What have you seen that makes you say that?
  6. If we wanted the Eye Sensor to detect blue, what would we do? What will it report when we show it a Blue Disk? What about a Red Disk?
  7. Why is object or color detecting helpful to our Code Base? How might we use this in a project?

Getting the Students Ready to Build

Let’s build the Code Base - Eye Forward to explore what the Eye Sensor can do!

Facilitate the Build

  1. InstructInstruct students to join their team, and have them complete the Robotics Roles & Routines sheet. Use the Suggested Role Responsibilities slide in the Lab Image Slideshow as a guide for students to complete this sheet.
  2. DistributeDistribute build instructions to each team. Journalists should gather the materials on the checklist.

    Code Base -Eye Forward build
    Code Base -Eye Forward

     

  3. FacilitateFacilitate the building process and a 'Start Up' routine for working with the Code Base.
    • Builders and Journalists should begin building based on their responsibilities in the Lab Image Slideshow.
    • Circulate around the room to help students with building or reading instructions where needed. Ask questions about how the build is being constructed to keep all students engaged in the building process, and remind students to follow their Role Responsibilities if they need help taking turns.

    If working with a pre-built Code Base, have students collect their Code Bases and Kits and walk them through a whole class check to make sure they are ready for the Lab activities, by asking questions like:

    • Is your Battery connected to the Orange Battery Port on the Brain?
    • Is the Right Motor plugged into Port 1 and the Left Motor plugged into Port 4?
    • Is the Eye Sensor attached and plugged into the Blue-green Eye Sensor Port?
    • Is the Code Base built properly and not missing any pieces? Check your build against the last step of the Build Instructions to ensure your Code Base is built correctly.

    NOTE: As students are building, let them know that the Eye Sensor must be attached to the Brain before powering the Brain on in order to work properly. If the Eye Sensor is attached or removed after the Brain has already been powered on, the Brain must be power cycled (turned off and then back on) in order for the Eye Sensor to function properly.

  4. OfferOffer support to groups that need assistance with the build and the 'Start Up' routine.
A VEX GO character

Teacher Troubleshooting

Facilitation Strategies

  • Set up your 2x2 field before starting the Lab, if possible. If you do not have enough Tiles or Walls for the color disk maze, set up colored Disks in a similar configuration on a smooth surface like the floor or a desk.
  • See the "Color Disk Maze " slide in the Lab 4 Image Slideshow for guidance in the placement of each Disk in the color disk maze.
  • See the “Disk Construction” slide in the Lab 4 Image Slideshow to see how set the Disks upright in the color disk maze.